yet another problem with the calendar control

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/23/2009 9:05:30 AM
Gravatar
Total Posts 67

yet another problem with the calendar control

Yes, I have more questions about the calendar control. In IE the calendar is not popping up next to the button. It appears that it's being placed at an arbitrary y axis. The top of the button is at about 1065px and the calendar is popping up at about 490px. it appears that the top attribute is being set dynamically. How can this be so off? plus it seems like a really arbitrary difference, if it were half I might understand what was going on.

Please Help! tia

11/24/2009 11:30:58 AM
Gravatar
Total Posts 18439

Re: yet another problem with the calendar control

Hi Drew,

This is happening in a custom feature you are developing right? Not an existing mojoPortal feature?

I do know of some quirkiness in the jsCalender under IE but not the kind of thing you are describing.

There is another DatePicker you can use by referencing the ajaxtoolkit from the _libs folder. You basically use a TextBox and an extender control to make it DatePicker like this:

<asp:TextBox runat="server" ID="txtEventDate" />

<ajaxToolkit:CalendarExtender ID="ceEventDate" runat="server" TargetControlID="txtEventDate" />

In code you can set the date format like this:

using System.Globalization;

ceEventDate.Format = CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern;

Hope it helps,

Joe

1/6/2010 10:06:39 AM
Gravatar
Total Posts 67

Re: yet another problem with the calendar control

Hi Joe,


Thanks for the fast response. I love that I get all of my questions answered in a timely manner (unlike some other open source CMS communities), which is why I'm going to continue to use mojo for a while to come.

I didn't get to trying to fix this until last week. I ended up just using a jQuery calendar instead. I'm really more knowledgable in the area of front-end development and design, so it was just easier for me to figure out.

Thanks again!

You must sign in to post in the forums. This thread is closed to new posts.