Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. {
  2. TextBox txt = (TextBox)lastRow.Cells[1].Controls[0];
  3.  
  4. //Here I need to assign script
  5. }
  6.  
  7. document.getElementById("myTextbox").focus();
  8.  
  9. public MyPageName()
  10. {
  11. this.Loaded += myloadedEventHandler;
  12. }
  13.  
  14. void myloadedEventHandler(object sender,EventArgs args)
  15. {
  16. textBox.Focus();
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement