Reposition DataGrid on Page

ChuckMac

Member
Joined
Jun 27, 2007
Messages
6
Programming Experience
10+
I have text fields with a matching search button, that get search information keyed in a field then the search button (for that text item) is pressed which caused a database search to take place. The resulting data is displayed in a datagrid. I am working with VB.NET/ASP.NET Web Forms.
I currently have 50 possible fields down the left side of the page. Currently the datagrid is locked into one location parallel from from the first text field/search buttom pair.

How can I reposition the datagrid accross from each text field as it's search button is pressed? I assume that means reset the vertical positioning parameter of the DataGrid before making it visible again. 1) I don't know how to interactively capture the "top" location of the TextBox 2) taking that value and setting the "top" parameter of the DataGrid.

Thanks..
 
Back
Top