I have a asp:customvalidator that calls the function test(sender, args).
I am using an UpdatePanel with ScriptManager.
How can I call it from server side?
I have an asp:customvalidator associated to a control. The js function check which item is selected from that control and modify the length of a textbox. The problem lies when the user load up that page again but with data. I have to run the previous function to update the new length else the customvalidator will validate the old maxlength.