On Mar 3, 1:23 am, srinivas <srini...@discussions.microsoft.com>
wrote:
Quote:
Hi,
I have a DIV tag which contains a textbox and command button.
I'm having a grid view where EmpID is a hyperlink column.When EmpID is
clicked I want the DIV to be displayed at center as a popup.
The problem is that after clicking EmpID link, DIV tag is coming at the
center but the textbox and command button are over lapping with gridview.
I want to set DIV tag to front and gridview to be back.
>
Can anybody please help me in this?
>
Thanks in advance
If you paste some sample markup it will be a lot easier. In any case,
I believe the problem is related to z-index. The overlapping
(overlaying) div should have z-index greater than the z-index of the
gridview. For example:
<div style="z-index:1000" ...>
Content Here
</div>
I would also propose another path - coding the stuff yourself, but
rather use 3rd party controls for that. I can suggest:
1) ModalPopup from the ASP.NET AJAX Control Toolkit (free)
http://ajax.asp.net/ajaxtoolkit/Moda...odalPopup.aspx
2) And the much better and advanced telerik rad Window product
(commercial, costs money)
http://www.telerik.com/demos/aspnet/...DefaultCS.aspx