473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

DIV overlapping with Gridview

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
Mar 2 '07 #1
3 9843
On Mar 3, 1:23 am, srinivas <srini...@discussions.microsoft.com>
wrote:
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

Mar 3 '07 #2
Thanks a lot Kevin,
That really helped me
I downloaded the AJAX tool kit and started using it.

But one thing i'm not getting is that why the page is not getting post back
when i'm clicking OK button on the Popup window.

Thanks again
Srini

"Kevin" wrote:
On Mar 3, 1:23 am, srinivas <srini...@discussions.microsoft.com>
wrote:
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

Mar 5 '07 #3
On Mar 5, 8:00 pm, srinivas <srini...@discussions.microsoft.com>
wrote:
Thanks a lot Kevin,
That really helped me
I downloaded the AJAX tool kit and started using it.

But one thing i'm not getting is that why the page is not getting post back
when i'm clicking OK button on the Popup window.

Thanks again
Srini

"Kevin" wrote:
On Mar 3, 1:23 am, srinivas <srini...@discussions.microsoft.com>
wrote:
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 advancedtelerikrad Window product
(commercial, costs money)
http://www.telerik.com/demos/aspnet/...ault/DefaultCS...
I believe you will get answer for this in the ASP.NET AJAX Control
Toolkit forums here - forums.asp.net.

Mar 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: km | last post by:
Hi all, python re module deals with only nonoverlapping matches. how to go for if i want to find out overlapping matches and their span ? regards, KM
1
by: André Søreng | last post by:
With the re/sre module included with Python 2.4: pattern = "(?P<id1>avi)|(?P<id2>avi|mp3)" string2match = "some string with avi in it" matches = re.finditer(pattern, string2match) .......
11
by: Max M | last post by:
I am writing a "find-free-time" function for a calendar. There are a lot of time spans with start end times, some overlapping, some not. To find the free time spans, I first need to convert the...
3
by: Phil Sandler | last post by:
All, I have a table with start and end dates/times in it, and would like to be able to calculate the number of hours represented, accounting for overlapping records. Note that I am looking...
4
by: Simon Elliott | last post by:
Is there an equivalent of std::copy which works on STL containers for overlapping ranges? -- Simon Elliott http://www.ctsn.co.uk
0
by: Bruce | last post by:
Hello, Back in the Access 97 days, if I had two texboxes on a form or report that overlapped, and I selected both and did a Format, Align, Top from the menu in design view, the controls would...
4
by: Charlie Brown | last post by:
I have a form with 2 custom controls that can be dragged around by a user. How can I check if they overlap each other without performing some kind of Collision detection on them? Is there...
4
by: =?ISO-8859-15?Q?Jean=2DFran=E7ois?= Lemaire | last post by:
Hello all, I'm learning C and I still am struggling to understand some basic concepts. For example, I read in the standard that with functions such as strcpy, 'If copying takes place between...
3
by: cowboyrocks2009 | last post by:
Hi, I am trying to write a Java program to plot rectangles with different colors side by side non overlapping but unfortunately I am unable to do that as of now. Suppose I want to create 3...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.