Friday, November 10, 2006

Regular Expressions ( in JavaScript to find your way around the ASP.NET DataGrid )

Been meaning to write about Regular Expressons and JavaScript for a while. Might as well combine them in the same post.

If you have a datagrid called MyGrid, with a item template column containing a asp:TextBox with the ID of MyTextBox then the textbox will have an ID something like MyGrid__Ctl02_MyTextBox for row 1 and MyGrid__Ctl03_MyTextBox for row 2.