How do stop overlapping Calender control in Table <td> tag

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 1
Reputation: Pranoj is an unknown quantity at this point 
Solved Threads: 0
Pranoj Pranoj is offline Offline
Newbie Poster

How do stop overlapping Calender control in Table <td> tag

 
0
  #1
Dec 31st, 2008
I was trying to developed a unique user control to developed Date picker using html table tag.

I m simply design forms which includes:

1) asp:textbox

2) asp:imagebutton

and 3) asp:calender control

all these three control are placing table tags in a sigle row

At the form loading event visible property of the caleder is false. when i click on the image button

Calender cotrol is display on the form but it destruct whole <td> structure of the row.

how do i stop this things and overlaped that calender control over td tag.

I faced this problem when i worked on it. I want to create one unique user control of Date Picker, so i can use

this componant other places.

if any body have solution for this program Mail me at

p.ash85@gmail.com
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,080
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Solved Threads: 68
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: How do stop overlapping Calender control in Table <td> tag

 
0
  #2
Jan 1st, 2009
This has to do with CSS. On the td row, apply this style attribute: style="position: relative;" . Then on your calendar, apply this attribute: style="position: absolute; z-index: 1000;" . This will make the calendar be in the same row, and be "above" the other elements. You can then decide how far down to move the calendar so it is not destructive to the row.

If you wish to have all the elements in order: 1 2 3 then apply this attribute to the row instead: style="white-space: nowrap;"
The reason why your td is messing up could be because your entire row is larger than the table allows. By having the "nowrap" functionality, it will increase the size of your table, and not wrap. However, this will affect all rows, so beware.
I answer pm's.
I answer questions.
I answer quickly.
I answer.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 1
Reputation: rituTokhi is an unknown quantity at this point 
Solved Threads: 0
rituTokhi rituTokhi is offline Offline
Newbie Poster

Re: How do stop overlapping Calender control in Table <td> tag

 
0
  #3
Mar 20th, 2009
Kakke remove reltive-postion:absolute
from your stylesheet
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC