Author: ashishthechamp | Posted on: 3/31/2009 7:10:06 AM | Views : 967

I am facing a peculiar problem in which. I am using an <asp:xml control on my aspx page

and in the code behind i am dynamically specfing the xml file and the xsl file.

Eveything is working fine as the Xml is geeting tranformed properly and i am getting the  HTML as desired.

in second step i introduce dropdown control and  on chnage of this control i am changing the xml file of the asp:xml control in code behind. Now again the new xml file is getting transformed using the existing xsl.  

The problem comes in when i want this to happen through Ajax. i.e. when i change the value in drop down control there is a call to the server and there i chnage the xml file of the control, but this time page is not refeshed and asp:xml control is not rendered. Therefore i dont see the ouput HTML getting changed on my page.

code in my ASPX page

Go to the complete details ...