PostBack

  • Thread starter Thread starter Guest
  • Start date Start date
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,
 
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
 
Back
Top