S
Stephen
I have a little predicamnet. I have two xml controls on my page. Both
are menus for my site. The first (Category) needs to set the data
source of the other xml control. To do this I created an xslt file
that generates the value of each item in the first xml file as
hyperlink. Easy enough. Next I needed the hyperlink to execute C#
code in order to load the second xml control with the appropriate xml
file. I placed a hidden button on the page and used the javascript
onclick to click the button. This worked for html controls but not for
..net web controls. The reason I need a .net control is because I have
to pass a command arg to the event so the code knows which xml file to
load based on the selection the user makes in the category xml menu.
Anyway, it seems like I am trying to traverse across four different
technologies to accomplish this, html, xslt/xml, javascript, and
finally .Net. I can get it close, but without being able to pass a
parameter from the xslt-generated hyperlink to the c# code it won't
work for me. Any suggestions?
are menus for my site. The first (Category) needs to set the data
source of the other xml control. To do this I created an xslt file
that generates the value of each item in the first xml file as
hyperlink. Easy enough. Next I needed the hyperlink to execute C#
code in order to load the second xml control with the appropriate xml
file. I placed a hidden button on the page and used the javascript
onclick to click the button. This worked for html controls but not for
..net web controls. The reason I need a .net control is because I have
to pass a command arg to the event so the code knows which xml file to
load based on the selection the user makes in the category xml menu.
Anyway, it seems like I am trying to traverse across four different
technologies to accomplish this, html, xslt/xml, javascript, and
finally .Net. I can get it close, but without being able to pass a
parameter from the xslt-generated hyperlink to the c# code it won't
work for me. Any suggestions?