6/26/2008

.NET 2003 ServerSide script call ClientSide javascript

//On  Server side script writing down those code
//call client script to close window
string strscript = "";
if(!Page.IsStartupScriptRegistered("clientScript"))
    Page.RegisterStartupScript("clientScript", strscript);

如同上面的code可以允許直接call javascript


沒有留言:

張貼留言