Hello @ all,
after using RadComboBox inside my Application it seems that all asp:LinkButtons, that are render inside an asp:DataList, are broken.
I got a page, were i implemented an asp:DataList that renders multiple asp:LinkButtons with dynamic CommandArguments and CommandNames.
Till now, everything works fine.
Then i started to implement an RadComboBox (loading content dynamic) on that page. Example shows RadComboBox inside of an DataList, but behavior is the same.
Now, if i do not touch the RadComboBox, the link buttons work fine. But after loading the Content on Demand, the asp:LinkButtons above are broken and i got these JS Errormessages in FF and Crome and no Postbacks were send:
After searching a bit on telerik page i found a possible solution that counts on telerik-Settings in web.config page. But everything i change there doesn't fix my problem. Maybe someone can help me?
Here are my web.config Settings for Telerik:
My Telerki.Web.UI.dll has the Version 2012.1.215.40
Can anyone help me?
What more informations do you maybe need?
after using RadComboBox inside my Application it seems that all asp:LinkButtons, that are render inside an asp:DataList, are broken.
I got a page, were i implemented an asp:DataList that renders multiple asp:LinkButtons with dynamic CommandArguments and CommandNames.
<asp:DataList ID="_myControlDataList" runat="server" OnDataBinding="OnMyControlDataBind" RepeatDirection="Vertical" BorderWidth="0px" CellPadding="0" CellSpacing="0" Width="100%"> <ItemTemplate> <asp:LinkButton runat="server" ID="_myControlItemLink" CommandName='<%# DataBinder.Eval(Container.DataItem, "CommandName") %>' CommandArgument='<%# DataBinder.Eval(Container.DataItem, "CommandArgument") %>' OnCommand="OnItemCommand" ToolTip='<%# DataBinder.Eval(Container.DataItem, "ToolTip") %>' > <div class="toolbarPopupText"> <img class="toolbarPopupIcon" border="0" src='<%# DataBinder.Eval(Container.DataItem, "ImageUrl") %>' title='<%# DataBinder.Eval(Container.DataItem, "ToolTip") %>' /> <%# DataBinder.Eval(Container.DataItem, "Name") %> </div> </asp:LinkButton> </ItemTemplate> <SeparatorTemplate> </SeparatorTemplate> </asp:DataList>Till now, everything works fine.
Then i started to implement an RadComboBox (loading content dynamic) on that page. Example shows RadComboBox inside of an DataList, but behavior is the same.
<tc:RadComboBox ID="_radComboBox" runat="server" Key='<%# DataBinder.Eval(Container.DataItem, "Key") %>' DataTextFormatString='<%# DataBinder.Eval(Container.DataItem, "Name") %>' Width="250px" Height="250px" CssClass="stringBox" AutoPostBack="true" MarkFirstMatch="true" EnableLoadOnDemand="true" HighlightTemplatedItems="true" EnableVirtualScrolling="true" ShowMoreResultsBox="false" ShowWhileLoading="true" ShowDropDownOnTextboxClick="true" OnSelectedIndexChanged="OnSelectedIndexChanged" OnDataBinding="OnItemDataBind" OnItemDataBound="OnItemDataBound" OnItemsRequested="OnItemsRequested" OnLoad="OnComboBoxLoad"> <ItemTemplate> <table class="directAccessTable"> <tr class="directAccessTRName" valign="top"> <td rowspan="2" valign="top"> <asp:Image runat="server" ID="_status" AlternateText=<%# DataBinder.Eval(Container.DataItem, "ImageText") %> ImageAlign="Middle" ImageUrl=<%# DataBinder.Eval(Container.DataItem, "ImageIcon") %> ToolTip=<%# DataBinder.Eval(Container.DataItem, "ImageText") %> Visible=<%# DataBinder.Eval(Container.DataItem, "ImageVisible") %> /> </td> <td valign="top"><span class="directAccessName"><%# DataBinder.Eval(Container.DataItem, "Name") %></span></td> </tr> <tr valign="top" class="directAccessTRDesc"> <td valign="top"><span class="directAccessDescription"><%# DataBinder.Eval(Container.DataItem, "Description")%></span></td> </tr> </table> </ItemTemplate> </tc:RadComboBox>Now, if i do not touch the RadComboBox, the link buttons work fine. But after loading the Content on Demand, the asp:LinkButtons above are broken and i got these JS Errormessages in FF and Crome and no Postbacks were send:
POST http://localhost/Aplication/ 405 (Method Not Allowed) ScriptResource.axd:2w.executeRequest ScriptResource.axd:2w.executeRequest ScriptResource.axd:2w.invoke ScriptResource.axd:2e._onFormSubmit ScriptResource.axd:2e._doPostBack ScriptResource.axd:2w.createDelegate ScriptResource.axd:2WebForm_DoPostBackWithOptions WebResource.axd:42e._doPostBackWithOptions ScriptResource.axd:2w.createDelegate ScriptResource.axd:2(anonymous function) /Application/:1Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 405 ScriptResource.axd:2w.create ScriptResource.axd:2e._createPageRequestManagerServerError ScriptResource.axd:2e._onFormSubmitCompleted ScriptResource.axd:2w.createDelegate ScriptResource.axd:2w.getHandler ScriptResource.axd:2d ScriptResource.axd:2w.completed ScriptResource.axd:2b.Net.XMLHttpExecutor.f._onReadyStateChangeAfter searching a bit on telerik page i found a possible solution that counts on telerik-Settings in web.config page. But everything i change there doesn't fix my problem. Maybe someone can help me?
Here are my web.config Settings for Telerik:
<modules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" /> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" /> </modules> <handlers> <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" /> <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" /> <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" /> <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" /> <add name="ASBXHandler" verb="GET,HEAD,POST" path="*.asbx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </handlers><httpHandlers> <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /></httpHandlers><httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /></httpModules>My Telerki.Web.UI.dll has the Version 2012.1.215.40
Can anyone help me?
What more informations do you maybe need?