Guest User

ajax method

a guest
Feb 27th, 2012
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. [ajax.ajaxmethod()]
  2. public void fnName()
  3.  
  4. response.redirect("sample.aspx");
  5.  
  6. server.transfer("sample.aspx");
  7.  
  8. scriptmanager.registerstartupscript(page,gettype(),"sample","javascriptfunction()",true);
  9.  
  10. AjaxManager.Instance.WriterAtBack.Write("window.location='foo.aspx';");
Add Comment
Please, Sign In to add comment