calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: 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? |
|
|
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. |
|