asp.net server controls events
xsl - how do i say .....?
im building a menu for my web site using asp.net and xml to store the menu content.
The content is then pulled in to a web user control with a tranform where i can attach both client and server side scripts to the menu.
im having a spot of bother with attaching events to different submenus within the control using the xsl.
the code block goes something like this ...
javascript:ShowThisObject('
everything except the value of element seems to be doing its job
the output i get on the page goes something like this ...
onmouseover="javascript:ShowThisObject(' ');"
and of course this is nested inside an elements opening tag to which i want the script attached.
my question is ...
How do i get it to output the custom and constantly changing object id's in the attributes content ?
you should write the code in one line like
instead of
javascript:ShowThisObject('
That problem is because of the newline character
good luck
[phpzon]asp.net server controls events, 5, Electronics[/phpzon]
[phpbay]asp.net server controls events, 30, "11211"[/phpbay]
Creating Event Calendar in ASP .NET - Part 1 of 5