I have a VB.Net app written in .Net 1.1. I need to update it so our clients can run it with more recent versions of .Net.
Most of it works fine with no changes.
If run using 1.1, the txtText textbox on the first row of datagrid dgGrid is dgGrid__ctl2_txtText .
In run using 2.0, the txtText textbox on the first row of datagrid dgGrid is dgGrid_ctl02_txtText.
In run using 4.0, the txtText textbox on the first row of datagrid dgGrid is just txtText. However, it does assign the control's name a unique value which I can use, dgGrid$ctl02$txtText.
> Does anyone have any data on something that documents exactly what changes were made to the ID and name handling?
> And hopefully why they were made? An understanding is always useful.
> Also, does anyone have a good solution on how to handle this? Finding out the name of the control on the server and passing it to the browser is not preferable due to the possibly large number of controls involved.