javascript - How to start a page with a modal window based on code behind condition -


i need start vb.aspx page modal window if codebehind query condition true, how achive dear experts!!!

try like:

//code behind  if(dbconditionistrue()) {     scriptmanger.registerstartupscript(btnexample,btnexample.gettype(),"scriptname","window.open("vb.aspx", "_blank", "toolbar=yes,scrollbars=yes,resizable=yes,top=500,left=500,width=400,height=400");") } 

Comments

Popular posts from this blog

javascript - generate date range base on integers -

PHP and MySQL WP -