Focus a textbox inside a DataGrid
-
Hi. I am using VS2003 I had a textbox control in template column inside a datagrid. When i click Edit botton, i want to show an alert message and focus on that textbox. i am getting an alert message but problem is with the focus. How can i focus a control inside a datagrid... Regrads, Jai Shankar
-
Hi. I am using VS2003 I had a textbox control in template column inside a datagrid. When i click Edit botton, i want to show an alert message and focus on that textbox. i am getting an alert message but problem is with the focus. How can i focus a control inside a datagrid... Regrads, Jai Shankar
Pass the Client Id from the codebehind to javascript function.Create an element using that client Id. and then do document.getElementById('elementid').focus();
-
Hi. I am using VS2003 I had a textbox control in template column inside a datagrid. When i click Edit botton, i want to show an alert message and focus on that textbox. i am getting an alert message but problem is with the focus. How can i focus a control inside a datagrid... Regrads, Jai Shankar
Find Out Textbox and Set focus for example ((TextBox)gridView.Rows[0].FindControl("txtId")).SetFocus=true; beSt RegArd pAthAn
-
Hi. I am using VS2003 I had a textbox control in template column inside a datagrid. When i click Edit botton, i want to show an alert message and focus on that textbox. i am getting an alert message but problem is with the focus. How can i focus a control inside a datagrid... Regrads, Jai Shankar