I am atm developing a custom module, i am using one examples called DwExample to get me started, everything works so far, but now i want to add a button my edit.aspx page, and as far as i understand i should do it like this
<dw:Button runat="server" id="UpdateNumber" EnableServerClick="true" onclick="UpdateNumber_Click"></dw:Button>
And while we are at it, is there a list somewhere that shows all the available <dw tags and what parameters they accept ?
then in my .cs file i have in my Page_Load this code UpdateNumber.OnClick += new EventHandler<EventArgs>(UpdateNumber_Click);
Which is tied to this code
protected void UpdateNumber_Click(object sender, EventArgs e)
{
Response.Redirect("http://www.google.com");
}
but this gives me a Uncaught SyntaxError: Unterminated template literal
Anyone know what is happening here ?