- Code: Select all
string ScriptToCall = @"EnableCheckboxes(" + cblDetails.ClientID + ", false);";
ClientScript.RegisterStartupScript(this.GetType(), "addScript", ScriptToCall, true);
where EnableCheckboxes is a javascript on the page, but it doesn't work.
[code]ClientScript.RegisterStartupScript(this.GetType(), "addScript", "alert('" + ScriptToCall + "');", true);[\code]
does work, so I think I'm on the right track, but ????
Anyone know?
Thanks!


