Posted on: 8/12/2014 7:00:12 PM | Views : 510

I need to add multiple functions via javascript to an code behind Control.Attributes.Add() statement.
I tried this:
control.Attributes.Add("onchange", "CheckAllOrUnCheckALL('" + cbTypeCheckAll.ID + "'),javascript:ClearBulletedListStatus()");
but it did not fire the CheckAllOrUncheckAll() function. It appeared to fire the ClearBulletedListStatus() call though.
I also tried this:
control.Attributes.Add("onkeydown", "javascript:ClearBulletedListStatus();");
control.Attributes.Add("onchange", "CheckAllOrUnCheckALL('"& ...

Go to the complete details ...