Hi , I am using infragistics webdatechooser as a calender control in my application. It works fine if its not within ajax update panel tag. But moment i put it in AjaxPanel, it works for the first time but once any ajax event happens, such as a ajaxed button clicked, it stops working. I click on the calender control button and calender does not popup.
Can anyone pls help me?
Thanks
Manish
Hi:
This also happens to me on Infragistics v9.1. I have an update panel, inside I have a third party control like a panel and inside I have my webdatechooser. First Async Post Back webdatechooser works fine but after that doesn't.
Finally I decided to pass webdatechooser value with (igdrp_getComboById('<%=dtpStartDate.ClientID%>').getText();) to a server hidden field before calling async postback, and get this value on server and finally solved my problem.
I hope tech support fixes this problem for this great control, but meanwhile...
Hello, I'm having the same problem but my site is ajax enabled. in my specific case, the webdatechooser is inside a div, inside a grid in the edit mode, inside an updatepanel.
When editing a row, the component does not dropdown the calendar.
Any solution? Thanks.
Code below:
<asp:UpdatePanel runat="server" ID="UpdatePanel6" UpdateMode="Conditional" > <ContentTemplate> <div runat="server" id="div7"> <asp:GridView AlternatingRowStyle-BackColor="#daf1fb" HeaderStyle-ForeColor="white" HeaderStyle-BackColor="#19536b" EditRowStyle-BackColor="#2c93be" CellPadding="0" CellSpacing="0" runat="server" ID="GVtitulos" AutoGenerateColumns="false" OnRowCancelingEdit="GVtitulos_RowCancelingEdit" OnRowEditing="GVtitulos_RowEditing" OnRowUpdating="GVtitulos_RowUpdating" OnRowDeleting="GVtitulos_RowDeleting"> <Columns> <asp:CommandField ButtonType="Image" CancelImageUrl="URL" UpdateImageUrl="URL" DeleteImageUrl="URL" EditImageUrl=URL" HeaderText="Editar" ShowEditButton="true" ShowDeleteButton="true"/> <asp:TemplateField> <HeaderTemplate> <div class="divTitular"> <asp:Label ForeColor="white" runat="server" ID="label5" Text="Título Obtenido" /> </div> <div class="divTitular"> <asp:Label ForeColor="white" runat="server" ID="label13" Text="Establecimiento" /> </div> <div class="divTitular"> <asp:Label ForeColor="white" runat="server" ID="label14" Text="Fecha" /> </div> </HeaderTemplate> <ItemTemplate> <div class="divItem"> <asp:Label runat="server" ID="LBLfuncion" Text='<%# Eval("FIELD")%>' /> </div> <div class="divItem"> <asp:Label runat="server" ID="Label15" Text='<%# Eval("FIELD")%>' /> </div> <div class="divItem"> <asp:Label runat="server" ID="Label16" Text='<%# Eval("DATEFIELD")%>' /> </div> <asp:HiddenField ID="###" Value='<%# Eval("###") %>' runat="server" /> </ItemTemplate> <AlternatingItemTemplate> <div class="divAltItem"> <asp:Label runat="server" ID="LBLfuncion" Text='<%# Eval("####")%>' /> </div> <div class="divAltItem"> <asp:Label runat="server" ID="Label15" Text='<%# Eval("####")%>' /> </div> <div class="divAltItem"> <asp:Label runat="server" ID="Label16" Text='<%# Eval("####")%>' /> </div> <asp:HiddenField ID="Id_registro" Value='<%# Eval("####") %>' runat="server" /> </AlternatingItemTemplate> <EditItemTemplate> <div class="divEditItem"> <asp:DropDownList runat="server" ID="DDL"/> </div> <div class="divEditItem"> <asp:TextBox runat="server" ID="#####" Text='<%# Eval("######")%>'/> </div> <div class="divEditItem"> <igsch:WebDateChooser runat="server" ID="GV_WDCfechafin" Value='<%# Eval(#####")%>' format="Short" Editable="false"/> </div> <asp:HiddenField ID="Id_registro" Value='<%# Eval("###") %>' runat="server" /> <asp:HiddenField ID="HFtitulo" Value='<%# Eval("####") %>' runat="server" /> </EditItemTemplate> </asp:TemplateField> </Columns> <EmptyDataTemplate> <asp:label runat="server" ID="LBLerror" Text="Usted no tiene ningún dato ingresado" /> </EmptyDataTemplate> </asp:GridView> </div> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="GRID" EventName="DataBound" /> <asp:AsyncPostBackTrigger ControlID="WebDateChooser" EventName="ValueChanged" /> </Triggers> </asp:UpdatePanel>
There was quite a bit. I'm not sure which bit fixed it as I wholesale copied everything that was missing.
<
configSections>
sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</
sectionGroup>
pages>
controls>
add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
httpHandlers>
remove verb="*" path="*.asmx"/>
add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
httpModules>
add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<assemblies>
add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
assemblies>
system.webServer>
validation validateIntegratedModeConfiguration="false"/>
modules>
remove name="ScriptModule"/>
add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
handlers>
remove name="WebServiceHandlerFactory-Integrated"/>
remove name="ScriptHandlerFactory"/>
remove name="ScriptHandlerFactoryAppServices"/>
remove name="ScriptResource"/>
add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
runtime>
assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
dependentAssembly>
assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
assemblyBinding>
Could you tell me what is it that you changed in the web.config to make it work?
Thanks.
I had the same problem with a project that had been upgraded from VS2005 to VS2008. I found that if I created a new AJAX enabled web site and copied the missing settings from the web.config file into my upgraded web.config then the problem disappeared.