<td valign="top"><telerik:RadAjaxManager ID="radAjaxManager" runat="server"><AjaxSettings><telerik:AjaxSetting> <UpdatedControls><telerik:AjaxUpdatedControl ControlID="radAjaxPanel" LoadingPanelID="radAjaxLoadingPanel" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="radAjaxLoadingPanel" runat="server"> </telerik:RadAjaxLoadingPanel> <telerik:RadAjaxPanel ID="radAjaxPanel" runat="server" LoadingPanelID="radAjaxLoadingPanel"> <telerik:RadGrid ID="gvMyTransactions" runat="server" Width="100%" OnColumnCreating="GridViewColumnCreating" OnItemCommand="GridViewItemCommand" OnItemCreated="GridViewItemCreated" OnPageIndexChanged="GridViewPageIndexChanged" OnNeedDataSource="GridViewNeedDataSource" OnSortCommand="GridViewSortCommand" OnItemDataBound="GridViewItemDataBound"> <MasterTableView CellSpacing="0" CellPadding="0"><Columns> .....
Hi,
I was able to compile the code and deploy in windows xp without any problem but when I compiled in Win 7 Enterprise and deployed on to IIS server it gave the server error saying it cannot load type 'Telerik.Web.UI.DialogHandler'.
can you please explain whether this error is due to Windows 7 introducing new http module tag <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/> in web.config or not?
Please find the web.config error after deployment in production server , as of now I have rolled back all the \bin\compiled items. Please help me out. Do I have to copy the app. Telerik DLL in bin folder or register it in Global assembly cache (GAC) using GACUtil.exe in prod IIS server.
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load type 'Telerik.Web.UI.DialogHandler'.
Source Error:
Line 110: <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"/>
Line 111: <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"/>
Line 112: <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler"/>
Line 113: <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
Line 114: <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" />
Source File: D:\inetpub\azcollectorsguide\web.config Line: 112
Version Information: Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618
<telerik:RadGrid ID="radGrid" OnItemDataBound="radGrid_ItemDataBound" OnItemCommand="radGrid_ItemCommand"> <MasterTableView > <Columns> ... </Columns> <NestedViewTemplate> <ParteControl:ParteControl id="ctl" visible="false" runat="server"/> </NestedViewTemplate> </MasterTableView> </telerik:RadGrid>protected void radGrid_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e) { if (e.CommandName == Telerik.Web.UI.RadGrid.ExpandCollapseCommandName) { if (!e.Item.Expanded) { Label lblId = (Label)e.Item.OwnerTableView.Items[e.Item.ItemIndex]["Info"].FindControl("lblId"); controls_partescontrol ctl = (controls_partescontrol)((Telerik.Web.UI.GridDataItem)e.Item).ChildItem.FindControl("ctl"); String[] arrValues; String srtValues = lblId.Text.ToString(); arrValues = srtValues.Split('#'); ctl.Pre(); ctl.Visible = true; ctl.Value = arrValues[0].ToString(); ctl.Coluna = arrValues[1].ToString(); ctl.Load(); } } }<telerik:RadContextMenu ID="ctxMenu" runat="server"> <Targets> <telerik:ContextMenuControlTarget ControlID="ajaxPanel" /> </Targets> <Items> <telerik:RadMenuItem> <ItemTemplate> <asp:LinkButton ID="lnk_1" OnClientClick="javascript: callHoldInfo(this,'Parte');" OnCommand="Menu_ItemClick" CommandArgument="0" runat="server" style="text-decoration: none !important;"></asp:LinkButton> </ItemTemplate> </telerik:RadMenuItem> <telerik:RadMenuItem> <ItemTemplate> <asp:LinkButton ID="lnk_2" OnCommand="Menu_ItemClick" CommandArgument="1" runat="server" style="text-decoration: none !important;"></asp:LinkButton> </ItemTemplate> </telerik:RadMenuItem> </Items> </telerik:RadContextMenu> <asp:Literal ID="ltrError" runat="server"/> <asp:Panel runat="server" id="ajaxPanel"> </asp:Panel>if (this.Page != null) { RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(this.Page); if (ajaxManager != null) { foreach (RadMenuItem item in ctxMenu.Items) { foreach (Control ctrl in item.Controls) { if (ctrl is LinkButton) { AjaxSetting ajaxSetting = new AjaxSetting(ajaxManager.ID); ajaxSetting.AjaxControlID = ctrl.ID.ToString(); ajaxSetting.UpdatedControls.Add(new AjaxUpdatedControl(ltrError.ID.ToString(), "ajaxLoad")); ajaxSetting.UpdatedControls.Add(new AjaxUpdatedControl(ajaxPanel.ID.ToString(), "ajaxLoad")); ajaxManager.AjaxSettings.Add(ajaxSetting); } } } } }