This is a migrated thread and some comments may be shown as answers.

[Solved] Grid isn't working returning an error

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 29 May 2009, 11:33 AM
Hi,
I previously downloaded a trial version and created a grid interface that was working great.  However after I purchased a license version this grid no longer works I get the following error message:

Below is the HTML aspx code
'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager


<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="Leads.aspx.cs" Inherits="AstonishResultsReporting.Reports.Leads"

 

 

MasterPageFile="~/SiteMasterPage.master" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<

 

asp:Content ID="Leads" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 

 

<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">

 

 

</telerik:RadScriptManager>

 

 

<asp:UpdateProgress ID="UpdateProgress1" runat="server">

 

 

<ProgressTemplate>

 

 

<div class="progress">

 

 

<img src="/images/indicator.gif" alt="" />

 

Processing .....

 

</div>

 

 

</ProgressTemplate>

 

 

</asp:UpdateProgress>

 

 

<br />

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="dbgLeads">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="dbgLeads" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadCodeBlock runat="server" ID="radCodeBlock">

 

 

<script type="text/javascript">

 

 

function showFilterItem(){

 

$find(

'<%=dbgLeads.ClientID %>').get_masterTableView().showFilterItem();

 

}

 

function hideFilterItem(){

 

$find(

'<%=dbgLeads.ClientID %>').get_masterTableView().hideFilterItem();

 

}

 

</script>

 

 

</telerik:RadCodeBlock>

 

 

<telerik:RadGrid ID="dbgLeads" runat="server" AllowPaging="True" AllowSorting="True"

 

 

GridLines="None" OnPageIndexChanged="dbgLeads_PageIndexChanged" OnSortCommand="dbgLeads_SortCommand"

 

 

PageSize="25" Skin="Vista" AutoGenerateColumns="False" Height="100%" Width="100%"

 

 

OnPageSizeChanged="dbgLeads_PageSizeChanged" AllowFilteringByColumn="True">

 

 

<HeaderContextMenu Skin="WebBlue">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</HeaderContextMenu>

 

 

<PagerStyle Mode="NextPrevNumericAndAdvanced" />

 

 

<MasterTableView>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="Firstname" HeaderText="First Name" UniqueName="Firstname">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Lastname" HeaderText="Last Name" UniqueName="Lastname">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Phone" DataFormatString="{0:(###)###-####}" HeaderText="Phone"

 

 

UniqueName="Phone">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Mobilephone" DataFormatString="{0:(###)###-####}"

 

 

HeaderText="Cell" UniqueName="Mobilephone">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Company" HeaderText="Company" UniqueName="Company">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Createddate" DataFormatString="{0:MM/dd/yy}"

 

 

DataType="System.DateTime" HeaderText="Create Date" UniqueName="Createddate">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Systemdays" HeaderText="Days in System" UniqueName="Systemdays">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Email" HeaderText="E-Mail" UniqueName="Email">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Contacttype" HeaderText="Contact Type" UniqueName="Contacttype">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Status" HeaderText="Status" UniqueName="Status">

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings AllowColumnsReorder="True">

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

<FilterMenu>

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 

</

 

asp:Content>

 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 30 May 2009, 05:19 AM
Hi Joe,

RadScriptManager needs an HttpHandler to be declared in the application configuration file to operate properly. The addition of the handler is made easy by the SmartTags of the control:



For details on the matter, please refer to the following help topic:
RadScriptManager 

Greetings,

Pavlina
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Joe
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or