Adding controls to ASP.NET page at runtime(dotnetjunkies.com)
submitted by
schalkvanwyk(1335) 3 years, 4 months ago
We add control dynamically, attach event handler to it's event and nothing happened.
Solution is also simple. We have to recreate controls on load stage of page lifecycle. After it's done, each control can handle his postback data, retrieve saved viewstate, raise events etc.
|category: Tips & Tricks
|Views: 10
tags:
Tips another
Everyones tags:
Your Tags: