Last post Dec 20, 2010 08:38 AM by Syed Basharat Masood
Dec 16, 2010 05:22 AM|Syed Basharat Masood|LINK
I want to add server side control from xslt file and then add its event handler and call a function on thet event.
For Example add a button and then on click of this button perform some functionality.
Is there any body have some idea that how I can do this.
XML .Net C# character entities WebClient XmlDocument ASP.Net
Dec 20, 2010 02:52 AM|Qin Dian Tang - MSFT|LINK
Hi Syed Basharat Masood,
Please refer these links about generating control from xslt:
Dec 20, 2010 05:25 AM|Syed Basharat Masood|LINK
HI Qin Dian Tang - MSFT,
Many Thanks, quite good links,
I can add the controls now but not able to get the values from these , because I have to load these controls on Page load and then onClick of the button of same daynamic form needs to save the vales of form in to DB and then post back on same page that should
preserv all controls with values, just like a normal ASP.Net page post back.
Any help will be highly appriciated
Dec 20, 2010 08:38 AM|Syed Basharat Masood|LINK
At the end I have foud the solution this problem.
Load and transform the XSLT on page_Init() and then you will be easily able to load the values of these daynamic controls on page load or on any other page event.