DatePicker Button Disappears in UpdatePanel

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/10/2010 12:52:25 PM
Gravatar
Total Posts 355

DatePicker Button Disappears in UpdatePanel

I'm implementing the mojoportal datepicker control in an application, and I've found that if using an UpdatePanel, the button (but not the text field) disappears upon postback.  If the UpdatePanel is removed, then the control works correctly.  Any "fix" for this?

10/11/2010 7:36:28 AM
Gravatar
Total Posts 18439

Re: DatePicker Button Disappears in UpdatePanel

It is very difficult to get jQuery or other javascript to work correctly inside UpdatePanel because after the updatepanel postback the widgets are no longer wired up.

So things like:

<mp:DatePickerControl ID="dpBeginDate" runat="server" ShowTime="True" CssClass="forminput"></mp:DatePickerControl>

and

<mpe:EditorControl ID="edContent" runat="server"></mpe:EditorControl>

will not work inside UpdatePanel

inside UpdatePanel you can use AjaxControlToolkit datepicker and WYSIWYG like this:

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

and

<portal:AjaxEditor ID="editor1" runat="server" Height="250" />

Hope it helps,

Joe

ps please do not report problems you encounter with custom development as bugs, this is not a bug in mojoPortal, this question should have been asked in the developer forum not reported as a bug

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