PostBack

G

Guest

I have an edit button and the ascx that has a datagrid on the page.
When I originally load the page the datagrid is view only.
When I click on the edit button I want to set the property on the ascx and
reload the ascx datagrid in the edit mode.

How do I set the property on the ascx and fire the postback...

Please help.


Thanks,
 
G

Guest

create a property on the ascx.
Create an edit button.
On button click, write code to set the property on the ascx.
On page_load, write code to set the edit mode for the datagrid, based on the
property.

hth
--
Regards
----------------
Shailen Sukul
MCSD MCAD

"Imagination is more important than knowledge." - Einstein

"Gravitation is not responsible for people falling in love." - Eistein
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top