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

css - Text drops down with smaller window -

php - Boolean search on database with 5 million rows, very slow -

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