Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- TextBox txt = (TextBox)lastRow.Cells[1].Controls[0];
- //Here I need to assign script
- }
- document.getElementById("myTextbox").focus();
- public MyPageName()
- {
- this.Loaded += myloadedEventHandler;
- }
- void myloadedEventHandler(object sender,EventArgs args)
- {
- textBox.Focus();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement