CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The calendar doesn't show up in right size at the beginning, but recovers itself afterwards. What's wrong?

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> CalendarXP F.A.Q.
View previous topic :: View next topic  
Author Message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Tue Feb 15, 2005 5:08 pm    Post subject: The calendar doesn't show up in right size at the beginning, but recovers itself afterwards. What's wrong? Reply with quote

The calendar panel size is set initially by the width and height properties of the calendar <iframe> tag. If these 2 values are not matching the actual size, the calendar engine will detect and correct it automatically after a short delay specified by giResizeDelay option in the theme-name.js file.

Usually you should adjust the width and height of the iframe tag to be the correct initial size instead of depending on the auto-correction.

If this is happening when using the calendar within tabstrip/multipage controls of asp.net, you can also fix it by either setting the AutoPostBack property of the tabstrip control to true, or appending onclick="if(gfFlat)gfFlat.fResize()" handler to the tabstrip to force a resize. e.g.
Code:
<ie:TabStrip runat="server" TargetID="mpage" onclick="if(gfFlat)gfFlat.fResize()" ...>
...

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> CalendarXP F.A.Q. All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group