DataGrid gets focus

zhaozj2021-02-16  102

Get focus on DataGrid.

This problem makes me depressed for a long time, and there is no result in the online mad search.

Interpretation, the user control is defined by the user control.

Now, the younger brother will contribute to everyone.

The control ID in the DataGrid has changed.

For example, there is a TextBox in the DataGrid, the ID of the DataGrid is DataGrid1, and the TextBox ID is Text_itiren_Name. When the page is running, the ID of the TextBox changes to DataGrid1_CTL3_TEXT_ITIREN_NAME, and the program that gets the focus will become corresponding.

Me.RegisterStartupScript ( "", "