asp.net - How to Use ScriptManager.RegisterClientScriptBlock from Javascript -


i want use

scriptmanager.registerclientscriptblock(ctrlname, page.gettype(), "msg", _script, false) 

from javascript function in

onclientclick="checkmaxlength(this);" 

of textbox. want show custome popup.i able use in .cs want use inside javascript.

the whole point of function make client run line of javascript, from server.

from javascript code, can run more code directly.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -