Hi everybody,
I am having a big problem with an Ajax UpdatePanel. Since I place it in my form, everytime I use the Dijit DateTime Textbox the following javascript error happen:
[Exception... "'Sys.ParameterCountException: Sys.ParameterCountException: Parameter count mismatch.' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no].
I have realised that it happens when I add the ScriptManager control into the page.
So this is an important bug!
Can someone help me?
Thanks in advance,
Luis Pedraz
Bug with ajax UpdatePanel control
Submitted by Tailgunnerr on Tue, 07/08/2008 - 07:32.
- Login or register to post comments
- Unsubscribe post

What's the context here?
UpdatePanel and ScriptManager are not in dojo itself - is this a server-side framework that uses Dojo like Struts2 or something? Without knowing more about how these components use Dojo its hard to say - is there a forum or other support channel for the framework you are using?
context
Hello, thanks for your answer.
I am using the .net framework 3.5. It´s just an HTML table within an UpdatePanel and with a dijit DateTime textbox.
Here is a piece of code:
</asp:ScriptManager>
<div>
<asp:UpdatePanel ID="PanelAjaxLaboratorio" runat="server" OnUnload="PanelAjaxLaboratorio_Unload">
<ContentTemplate>
<table id="TablaVistaLaboratorio1" runat="server" style="width: 100%" cellspacing="7">
<tr id="Tr2">
<td width="40%">
<div>
<input dojotype="dijit.form.DateTextBox" style="width: 30%;" type="text" name="dojoFechaAnalisis"
id="dojoFechaAnalisis" runat="server" constraints="{datePattern:'dd-MM-yyyy',formatLength:'short'}"
invalidmessage="Formato de fecha no válido. Use dd/mm/yyyy" />
</div>
</td>
</tr>
</table>
....
</div>
Any idea?