Calendar Next Month cut off in internet explorer

Last post 12-28-2006 12:04 AM by jessjing. 6 replies.

Sort Posts:

  • Calendar Next Month cut off in internet explorer

    12-18-2006, 6:34 PM
    • Loading...
    • kreid
    • Joined on 10-19-2006, 12:15 PM
    • Posts 85

    Hi,

    I have a problem with the Calandar control, in that the Next Month text (eg: "Jan") is cut off. This only happens in internet explorer, it is perfect in Firefox.

    What's the problem?

     
    Thanks,

    kreid
     

    Filed under: ,
  • Re: Calendar Next Month cut off in internet explorer

    12-18-2006, 11:54 PM
    • Loading...
    • jessjing
    • Joined on 09-26-2006, 8:03 AM
    • Posts 872

    hi,

    it would be helpful if you post some code

    thx

  • Re: Calendar Next Month cut off in internet explorer

    12-19-2006, 8:28 AM
    • Loading...
    • kreid
    • Joined on 10-19-2006, 12:15 PM
    • Posts 85

    Hi,

    Thanks for your reply.

    It's hard to know what code to post - I don't even have to use any code for this to happen.  I have noticed that it occurs when I apply the autoformatting styles to a Calendar control.  If I "Remove all Formatting", the ">" symbol for "next month" is fine.   Someone else must have had a similar problem.  As I said, the next month link in the calendar only appears cut off in Design View and in Internet Explorer.  If it helps, I am using Visual Studio 2005.

    Any takers?

    Thanks,

    kreid 

     

    Filed under: ,
  • Re: Calendar Next Month cut off in internet explorer

    12-19-2006, 9:14 PM
    • Loading...
    • jessjing
    • Joined on 09-26-2006, 8:03 AM
    • Posts 872

    hi,

    i c, I have tried what you said in visual stuido 2005, it works fine

    am using IE7, here is the code

    <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#999999"
                CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
                ForeColor="Black" Height="180px" Width="200px">
                <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                <SelectorStyle BackColor="#CCCCCC" />
                <WeekendDayStyle BackColor="#FFFFCC" />
                <OtherMonthDayStyle ForeColor="#808080" />
                <NextPrevStyle VerticalAlign="Bottom" />
                <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
            </asp:Calendar>
         

     

  • Re: Calendar Next Month cut off in internet explorer

    12-20-2006, 11:01 AM
    • Loading...
    • kreid
    • Joined on 10-19-2006, 12:15 PM
    • Posts 85

    It doesn't work for me. Sad

    I think it has something to do with Master Pages / Themes - since, if I add a Calendar to a blank page in design view, it is fine. With a master page, it screws up the right hand month.

    Any ideas? I can post the css/skin if necessary. 

    kreid 

     

     

  • Re: Calendar Next Month cut off in internet explorer

    12-27-2006, 11:23 PM
    • Loading...
    • baboso#4
    • Joined on 07-07-2006, 8:56 PM
    • Posts 91

    Just to test, you may want to use a master page file in the same level as the page with the Calendar.  I had a Java script Calendar that gave me a lot of weird behaviour if my master page file was anywhere else other than where the Calendar page was located.

    Good Luck!

  • Re: Calendar Next Month cut off in internet explorer

    12-28-2006, 12:04 AM
    • Loading...
    • jessjing
    • Joined on 09-26-2006, 8:03 AM
    • Posts 872

    hi,

    so weird, when I add the calendar to a master page, it still works ok

Page 1 of 1 (7 items)
Microsoft Communities
Page view counter