Serin
11-11-2005, 09:21 PM
I have an image button that has a property that looks like so:
btnAdd[i].OnClientClick = "<% addToCart(product); %>";
I want this button to run the C# function; however, it translates into html like this:
onclick="<% addToCart(product); %>;"
How can I get this to work correctly?
-Serin
btnAdd[i].OnClientClick = "<% addToCart(product); %>";
I want this button to run the C# function; however, it translates into html like this:
onclick="<% addToCart(product); %>;"
How can I get this to work correctly?
-Serin