Sunday, 15 August 2010

asp.net - Call a javascript function from c# static method -



asp.net - Call a javascript function from c# static method -

i using below client script in aspx code behind phone call javascript function. below client script in public static method got error in registerstartupscript first argument.my older post here call non-static function static function

if 1 have possible solutions please post..

page.clientscript.registerstartupscript(typeof(page), "symbolerror", "from_bill_tab();");

try this:

clientscript.registerstartupscript(typeof(page), "symbolerror", "<script type='text/javascript'>alert('error !!!');</script>");

c# asp.net

No comments:

Post a Comment