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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -