vrikers Posted December 5, 2005 Posted December 5, 2005 i need a SVG GUI in my aspx page. if i click, let's say, a square - something should happen. the problem is that svg only supports javascript. is there a way to assign asp.net script handlers to click events on svg objects? or is it possible to call asp.net scripts from javascripts? Quote
bri189a Posted December 5, 2005 Posted December 5, 2005 All the asp.net code is called by using the PostBack javascript function that is rendered into every page. Events are raised by a control that has had it's state changed on the client computer - this is detected through view state. All you have to do is change the value of a control on the page that is a server control (rather than an HMTL control - an example would be a <asp:Label> rather than simply a <span> tag.) Then manually call the post back method from you're script. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.