N
news.microsoft.com
Hello,
I am trying to add an asp.net user control dynamically with the postback
capability.
Adding a user control seems straightfroward but making postback work is a
problem. When I say postback, I mean postback handled inside the
usercontrol.
e.g. let's say your user control has a text and a button. You save the text
property in viewstate varible so that it is preserved during postback. You
assign the new property value from textbox to viewstate variable after
postback.
Problem comes when controls are created dynamically.
Any help will be appreciated to make this work.
regards,
Pravin
I am trying to add an asp.net user control dynamically with the postback
capability.
Adding a user control seems straightfroward but making postback work is a
problem. When I say postback, I mean postback handled inside the
usercontrol.
e.g. let's say your user control has a text and a button. You save the text
property in viewstate varible so that it is preserved during postback. You
assign the new property value from textbox to viewstate variable after
postback.
Problem comes when controls are created dynamically.
Any help will be appreciated to make this work.
regards,
Pravin