Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Re : Calendar Control popup was overlapped by others

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BMW - 16 Oct 2007 10:10 GMT
The Calendar Control in ASP.NET form was overlapped by other controls, i.e.
textbox...

Anyone know how to handle it.

Thank you very much!
Manish - 16 Oct 2007 11:00 GMT
Hi,

I created a website in VS2005 and dropped the Calendar control on the
webForm and and set its AutoFormat to classic and then dropped the TextBox
control above it. Now if I run it, the textbox control is behind the Calendar
control.

Please post a sample that replicates the issue.

Regards,
Manish

> The Calendar Control in ASP.NET form was overlapped by other controls, i.e.
> textbox...
>
> Anyone know how to handle it.
>
> Thank you very much!
Manish - 16 Oct 2007 11:02 GMT
Hi,

Try to set the Z-index of the Calendar control to be more than TextBox
control in the HTML page as shown below:

<asp:TextBox ID="TextBox1" runat="server" BackColor="Red" Style="z-index:
100; left: 367px;
           position: absolute; top: 252px"></asp:TextBox>
       

       <asp:Calendar ID="Calendar1" runat="server" BackColor="White"
BorderColor="Black"
           DayNameFormat="Shortest" Font-Names="Times New Roman"
Font-Size="10pt" ForeColor="Black"
           Height="220px" NextPrevFormat="FullMonth" Style="z-index: 103;
left: 281px; position: absolute;
           top: 206px" TitleFormat="Month" Width="400px">
           <SelectedDayStyle BackColor="#CC3333" ForeColor="White" />
           <TodayDayStyle BackColor="#CCCC99" />
           <SelectorStyle BackColor="#CCCCCC" Font-Bold="True"
Font-Names="Verdana" Font-Size="8pt"
               ForeColor="#333333" Width="1%" />
           <DayStyle Width="14%" />
           <OtherMonthDayStyle ForeColor="#999999" />
           <NextPrevStyle Font-Size="8pt" ForeColor="White" />
           <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True"
Font-Size="7pt" ForeColor="#333333"
               Height="10pt" />
           <TitleStyle BackColor="Black" Font-Bold="True" Font-Size="13pt"
ForeColor="White"
               Height="14pt" />
       </asp:Calendar>

Regards,
Manish

> The Calendar Control in ASP.NET form was overlapped by other controls, i.e.
> textbox...
>
> Anyone know how to handle it.
>
> Thank you very much!
BB206 - 16 Oct 2007 19:46 GMT
But I am using the AJAX Calendar Extender and my code is :

       <cc1:CalendarExtender ID="CalendarExtender1" runat="server"
TargetControlID="txtETDFrom" CssClass="MyCalendar" Format="yyyy/MM/dd"
PopupButtonID="ImageETDFrom">
       </cc1:CalendarExtender>

It does not have the Style property.

Thanks!

"Manish" <Manish@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:35F14658-5948-4F9E-96B4-7F2EE2E5F3F9@microsoft.com...
> Hi,
>
[quoted text clipped - 38 lines]
>>
>> Thank you very much!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.