Hi,
I have the following gridview
http://i11.tinypic.com/2hp3jmo.gif
and I want to have a div pop up next to the icon when they click on the little search icon (next to the costcode)
like this ->
http://i10.tinypic.com/48yybdy.gif
I have gotten this far.. but the problem is that When I click Select, Search or Clear, it causes a postback, and when the page reloads, the DIV moves back to its original position, or if i set it by default to be invisible, then it disappears.
Any suggestions on how I could get this done?
Basically, I want it to:
1) When i hit select, copy the values to the right fields, and then disappear. (it does this if its set to invisible by default).
2) When i hit search or clear, i want it to modify the filter settings for the sqldatasource, and keep the div where it is.
Maybe i need to use state variables or something and make the page load the appropriate java script based on these variables. Apparently I can set the startupscript from inside the page_load code in the code behind.
Thanks,
Mikey