Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 14th, 2013  |  syntax: None  |  size: 0.20 KB  |  views: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <Triggers>
  2.     <asp:PostBackTrigger ControlID="controlID" />
  3.  </Triggers>
  4.        
  5. var control = e.Row.FindControl("YourControlID");
  6. if(control != null)
  7.     ScriptManager.RegisterPostbackControl(control);
clone this paste RAW Paste Data