Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
277 views
I have a grid that is by default grouped into 1 grouping upon page load.  This is accomplished in the Page_Load event as in the following code.  I had to do this because if using the client-side settings for grouping, when exporting, the group names do not show up in an exported ExcelML format.

        If Not IsPostBack Then
            rgWeightBreaks.MasterTableView.Columns(2).Visible = False
            rgWeightBreaks.MasterTableView.GroupByExpressions.Add(New Telerik.Web.UI.GridGroupByExpression(rgWeightBreaks.MasterTableView.Columns(2)))
...

I have a toolbar that changes the grouping of the grid.  If I don't do anything in the grid such as expand a group, these buttons work flawlessly.  However, if I expand a group and then try to use one of the buttons, I get "Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object."

Here is my client-side code:
        <telerik:RadScriptManager ID="rsmWeightBreaks" runat="server" />
 
        <telerik:RadSkinManager ID="rskmWeightBreaks" runat="server" ShowChooser="false" />
 
        <telerik:RadScriptBlock runat="server" ID="rsbWeightBreaks">
            <script type="text/javascript">
                function onRequestStart(sender, args) {
                    if (args.get_eventTarget().indexOf("rtbExport") >= 0) {
                        args.set_enableAjax(false);
                        bExporting = false;
                    }
                }
            </script>
        </telerik:RadScriptBlock>
 
        <telerik:RadAjaxManager ID="ramWeightBreaks" runat="server"
            DefaultLoadingPanelID="ralpWeightBreaks"
            ClientEvents-OnRequestStart="onRequestStart"
            meta:resourcekey="ramWeightBreaksResource1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="rgWeightBreaks">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rgWeightBreaks" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rtbWeightBreaks">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rtbWeightBreaks" />
                        <telerik:AjaxUpdatedControl ControlID="rgWeightBreaks" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
        <telerik:RadAjaxLoadingPanel ID="ralpWeightBreaks" runat="server"
            meta:resourcekey="ralpWeightBreaksResource1"></telerik:RadAjaxLoadingPanel>
 
        <div style="width:800;">
        <asp:Label ID="lblIntroText1" runat="server" Text="Thank you for the opportunity to quote your shipment, please click on the below gateway to view your rates." meta:resourcekey="lblIntroText1" />
        <br /><br />
        <asp:Label ID="lblIntroText2" runat="server" Text="The inland rates displayed below reflect the price per kilogram in US Dollars." meta:resourcekye="lblIntroText2" />
        <br /><br />
        <asp:Label ID="lblFuelSurchargeText1" runat="server" meta:resourcekey="lblFuelSurchargeText1"></asp:Label> <asp:Label ID="lblFuelSurchargeAmount" runat="server" /> <asp:Label ID="lblFuelSurchargeText2" runat="server" meta:resourcekey="lblFuelSurchargeText2" />
        <br /><br />
        <div>
            <asp:Label ID="lblTermsAndConditions" runat="server" meta:resourcekey="lblTermsAndConditionsResource" Text="All quotes are subject to the " /> <asp:HyperLink ID="hlTermsAndConditions" runat="server" meta:resourcekey="hlTermsAndConditionsResource" NavigateUrl="#" Text="Terms & Conditions" />
        </div>
        <br />
        </div>
 
        <telerik:RadTabStrip ID="rtsWeightBreaks" runat="server" Width="802px"
            meta:resourcekey="rtsWeightBreaksResource1" SelectedIndex="0">
            <Tabs>
                <telerik:RadTab runat="server" Text="US Exports - Inland Rates" Selected="true"
                    meta:resourcekey="RadTabResource1"></telerik:RadTab>
                <telerik:RadTab runat="server" Text="US Imports - Inland Rates" Selected="true"
                    meta:resourcekey="RadTabResource2"></telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
 
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <telerik:RadToolBar ID="rtbWeightBreaks" runat="server"
                        OnButtonClick="rtbWeightBreaks_ButtonClick"
                        meta:resourcekey="rtbWeightBreaksResource1">
                        <Items>
                            <telerik:RadToolBarButton Text="Gateway View" CommandName="GatewayView"
                                runat="server" Enabled="false" meta:resourcekey="RadToolBarButtonResource1"></telerik:RadToolBarButton>
                            <telerik:RadToolBarButton Text="Airport View" CommandName="AirportView"
                                runat="server" meta:resourcekey="RadToolBarButtonResource2"></telerik:RadToolBarButton>
                        </Items>
                    </telerik:RadToolBar>
                </td>
                <td>
                    <telerik:RadToolBar ID="rtbExport" runat="server"
                        OnButtonClick="rtbWeightBreaks_ButtonClick"
                        meta:resourcekey="rtbExportResource1">
                        <Items>
                            <telerik:RadToolBarButton Text="Export To Excel" CommandName="ExportToExcel"
                                runat="server" meta:resourcekey="RadToolBarButtonResource3"></telerik:RadToolBarButton>
                        </Items>
                    </telerik:RadToolBar>
                </td>
            </tr>
        </table>
 
        <telerik:RadGrid ID="rgWeightBreaks" runat="server" Width="800px"
            CellSpacing="0" GridLines="None" meta:resourcekey="rgWeightBreaksResource1">
            <MasterTableView AutoGenerateColumns="false" GroupsDefaultExpanded="false" GroupLoadMode="Client"
                DataKeyNames="OriginAirport, DestinationAirport, TariffNumber" ClientDataKeyNames="OriginAirport, DestinationAirport, TariffNumber"
                UseAllDataFields="true" EnableHeaderContextMenu="true" AllowFilteringByColumn="true">
                <Columns>
                    <telerik:GridBoundColumn HeaderText="Origin City" DataField="OrgAirportCity"
                        HeaderStyle-Width="200px" ItemStyle-Width="200px" AllowFiltering="true"
                        meta:resourcekey="GridBoundColumnResource1">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Airport" DataField="OriginAirport"
                        HeaderStyle-Width="50px" ItemStyle-Width="50px" AllowFiltering="true"
                        FilterControlWidth="35px" ShowFilterIcon="false" AutoPostBackOnFilter="true"
                        meta:resourcekey="GridBoundColumnResource2">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="To Gateway" DataField="DestAirportCity"
                        HeaderStyle-Width="175px" ItemStyle-Width="175px" UniqueName="OriginCity"
                        Groupable="true" AllowFiltering="true"
                        meta:resourcekey="GridBoundColumnResource3">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Transit Days" DataField="TransitDays"
                        HeaderStyle-Width="50px" HeaderStyle-HorizontalAlign="Right"
                        ItemStyle-Width="50px" ItemStyle-HorizontalAlign="Right" AllowFiltering="false"
                        meta:resourcekey="GridBoundColumnResource4">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Minimum Charge" DataField="MinimumCharge"
                        DataFormatString="{0:C}" HeaderStyle-HorizontalAlign="Right"
                        ItemStyle-HorizontalAlign="Right" AllowFiltering="false"
                        meta:resourcekey="GridBoundColumnResource5">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="45 kgs<br/>(100 LBS)" DataField="BreakOne"
                        DataFormatString="{0:C}" HeaderStyle-HorizontalAlign="Right"
                        ItemStyle-HorizontalAlign="Right" AllowFiltering="false"
                        meta:resourcekey="GridBoundColumnResource6">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="225 kgs<br/>(500 LBS)"
                        DataField="BreakTwo" DataFormatString="{0:C}"
                        HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right"
                        AllowFiltering="false" meta:resourcekey="GridBoundColumnResource7">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="450 kgs<br/>(1000 LBS)"
                        DataField="BreakThree" DataFormatString="{0:C}"
                        HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right"
                        AllowFiltering="false" meta:resourcekey="GridBoundColumnResource8">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="1350 kgs<br/>(3000 LBS)"
                        DataField="BreakFour" DataFormatString="{0:C}"
                        HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right"
                        AllowFiltering="false" meta:resourcekey="GridBoundColumnResource9">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CityAirport" HeaderText="From Airport"
                        UniqueName="CityAirport"
                        Groupable="true" meta:resourcekey="GridBoundColumnResource10" Display="false">
                    </telerik:GridBoundColumn>
                </Columns>
                <CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="false" />
            </MasterTableView>
            <GroupingSettings ShowUnGroupButton="true" />
            <ClientSettings AllowExpandCollapse="true" EnableRowHoverStyle="true" AllowDragToGroup="true">
                <Selecting AllowRowSelect="true" />
                <Scrolling UseStaticHeaders="true" AllowScroll="true" ScrollHeight="500px"/>
                <Resizing AllowColumnResize="true" />
            </ClientSettings>
            <ExportSettings OpenInNewWindow="true" ExportOnlyData="true">
                <Excel Format="ExcelML" />
            </ExportSettings>
        </telerik:RadGrid>
 
        <telerik:RadToolTip ID="rttTermsAndConditions" runat="server"
            TargetControlID="hlTermsAndConditions" RelativeTo="Element"
            Title="Terms And Conditions" Width="700px" Animation="Slide"
            HideEvent="LeaveTargetAndToolTip"
            meta:resourcekey="rttTermsAndConditionsResource">
            <div style="margin:10px">
                <ol>
...


Antonio Stoilkov
Telerik team
 answered on 05 Jun 2012
5 answers
215 views
Hi,

Im doing migration from ASP.NET Q3 2008 to ASP.NET AJAX Q1 2012 (both 4.0 Framework). How can I convert it? Does the dragging of RadScriptManager to existing page will convert it to ASP.NET AJAX? It did change some items on my web config but it looks like it doesnt run as ASP.NET AJAX. The Live samples has some port # in localhost when it is run, but my existing project has same localhost as before. And comparing their web config, has a huge difference. Any step by step info for dummies like me would be a great help.. What will happen to old rad dll? Thanks in advance..

RJ
RJ
Top achievements
Rank 1
 answered on 05 Jun 2012
1 answer
273 views
I have a radtextbox in a radwindow and I want to be able to expand the height of the textbox as the user resizes the radwindow. I have the textbox set up like so:

<telerik:RadTextBox runat="server" ID="configData" TextMode="MultiLine" Width="100%" Height="300px"/>
When I adjust the width of the window the width of the textbox will also expand so my first thought was to set the height to a percentage value however this did not work.

Is there a way to achieve this functionality?

Thanks
Vasil
Telerik team
 answered on 05 Jun 2012
7 answers
180 views
Hi,

I am using RadGrid in my asp.net project. When I click on Add new Record link, new row in RadGrid gets added. This new row contains four RadComboBox controls.When I select any particular value in first RadComboBox, respective value should be autopopulated in other three RadComboBox controls of new row. How can I achieve for new row in RadGrid..

Appreciate
if you could help, Thanks!

-Vinayak
Andrey
Telerik team
 answered on 05 Jun 2012
1 answer
67 views
Hello, i am experiencing an issue where only half of the telerik control appears. for example the radpanel bar. only half of it appears and when i click to expand the control the items within it do not show correctly. this is an issue for every page this control lives on. can someone please help?
Peter
Telerik team
 answered on 05 Jun 2012
3 answers
358 views
I have a grid setup for managing users of a website. If you come to the page as an admin, the grid loads a couple thousand records and because of this, takes a couple minutes for the grid to load and is even slower when you try to filter on one of the columns. How can I prevent this? I need to do something like load only the current page of users being shown while still maintaining paging and filtering abilities. Is this something that can be done easily? If not, any suggestions on how to code this? 
Pavlina
Telerik team
 answered on 05 Jun 2012
6 answers
169 views
Hi Telerik,

I am using a license Telerik RadControls for SharePoint Q1 2012, v. 12.1.216.0.
My questions are below.

1. How do I apply a default styling for table? What I expect is to add a table, and it will be populated with the default class. Is this achiavable?

2. I have the below control and styling, and I want the user experience that we can just click, then the <a class=".."><span class="button-inner"> will be populated for me. Can you advice a better way to achieve this?

<a class="button"><span class="button-inner">Button</span></a>

3. I have a duplicated entry in "Apply CSS Style", and the "Dropdown List" is not listed. Please advice.
    Here is my classes in ToolsFile.xml. And please look at the attached screenshot ApplyCSSStyle.jpg.
    

<classes>

   <class name="Clear Class" value="" />

   <class name="Dropdown List" value="dl.list" />

   <class name="Ordered List" value="ol.list" />

   <class name="Ordered List (Steps)" value="ol.steps" />

   <class name="Unordered List" value="ul.list" />

</classes>


This is the CSS

ul.list,
ol.list { margin-left: 1.5em; }
ul.list li,
ol.list li { margin-bottom: 0.5em; }
ul.list { list-style-type: disc; }
ol.list { list-style-type: decimal; }
ol.list ol.list { list-style-type: lower-alpha; }
dl.list dt { background: url(images/bullet.png) 0 7px no-repeat; padding-left: 10px; font-weight: bold; }
dl.list dd { padding-left: 10px; margin-bottom: 1em; }

ol.steps {
    list-style-type: none;
    }
ol.steps li { padding-left: 55px; margin-bottom: 0.5em; }
ol.steps li:nth-child(1) { background: url(images/olsteps-1.gif) 0 0 no-repeat; }
ol.steps li:nth-child(2) { background: url(images/olsteps-2.gif) 0 0 no-repeat; }
ol.steps li:nth-child(3) { background: url(images/olsteps-3.gif) 0 0 no-repeat; }
ol.steps li:nth-child(4) { background: url(images/olsteps-4.gif) 0 0 no-repeat; }
ol.steps li:nth-child(5) { background: url(images/olsteps-5.gif) 0 0 no-repeat; }
ol.steps li:nth-child(6) { background: url(images/olsteps-6.gif) 0 0 no-repeat; }
ol.steps li:nth-child(7) { background: url(images/olsteps-7.gif) 0 0 no-repeat; }
ol.steps li:nth-child(8) { background: url(images/olsteps-8.gif) 0 0 no-repeat; }
ol.steps li:nth-child(9) { background: url(images/olsteps-9.gif) 0 0 no-repeat; }
ol.steps li:nth-child(10) { background: url(images/olsteps-10.gif) 0 0 no-repeat; }
ol.steps li:nth-child(11) { background: url(images/olsteps-11.gif) 0 0 no-repeat; }
ol.steps li:nth-child(12) { background: url(images/olsteps-12.gif) 0 0 no-repeat; }

#navbar ul.list,
#content-list ul.list { margin: 0; list-style-type: none; }
#navbar ul.list li,
#content-list ul.list li { background: url(images/bullet.png) 0 7px no-repeat; margin: 0; padding-left: 10px; } 

Andy
Top achievements
Rank 1
 answered on 05 Jun 2012
1 answer
105 views

Yesterday, I upgraded our C# ASP.NET solution from .NET 2.0 to .NET 4.0. Other things work fine. But all auto postbacks are suppressed after that.

Our telerik controls are kind of out dated. But because of project timeline, we don’t have time to upgrade our telerik controls for now. I just checked, our RadAjax.Net2 runtime version is v2.0.50727. Out Telerik.Web.UI runtime version is also v2.0.50727.

The following is the code. As you can see with my comments, the drop down list inside the RadAjaxPanel does Not do postback after I select a different value in the list. But the drop down list outside of the RadAjaxPanel works fine.
And this problem is not just for drop down list. It’s for other controls such as radio button DateTimePicker etc. But our buttons are working fine. So it looks like it's the autoposts are suppressed.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Position.ascx.cs" Inherits="Oaccac.WebPmi.Controls.Position" %>
<%@ Register TagPrefix="rad" Namespace="Telerik.WebControls" Assembly="RadAjax.Net2" %>
<%@ Register Src="~/Controls/TelerikAjax/LoadingPanelContent.ascx" TagPrefix="uc" TagName="LoadingPanelContent" %>

<rad:RadAjaxPanel ID="ajaxServiceOfferPanel" LoadingPanelID="ajaxServiceOfferLoadingPanel" runat="server" UseEmbeddedScripts="true" EnableOutsideScripts="true">
<!--This DropDownList does Not do post back.-->
<asp:DropDownList ID="ddlTest" runat="server" AutoPostBack="true">
    <asp:ListItem>One</asp:ListItem>
    <asp:ListItem>Two</asp:ListItem>
</asp:DropDownList>
</rad:RadAjaxPanel>

<!--This DropDownList does post back.-->
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true">
    <asp:ListItem>Three</asp:ListItem>
    <asp:ListItem>Four</asp:ListItem>
</asp:DropDownList>

<rad:AjaxLoadingPanel ID="ajaxServiceOfferLoadingPanel" runat="server" InitialDelayTime="0">
 <uc:LoadingPanelContent ID="loadingServiceOfferPanelContent" runat="server" />
</rad:AjaxLoadingPanel>

Maria Ilieva
Telerik team
 answered on 05 Jun 2012
2 answers
83 views
I am getting more time to close the add/edit popup, while cancel the popup in radgrid.For all grids getting same problem and getting timeout while binding more than 5000 records in radgrid from the database.Please some one give me the solution.I am using Telerik 2011.3 version.
Guru
Top achievements
Rank 1
 answered on 05 Jun 2012
1 answer
255 views
Hi,

I have a gridview with image button to edit.My source code for the grid is

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False"

 

 

 

CellSpacing="0" GridLines="None" Height="520px" OnNeedDataSource="RadGrid1_NeedDataSource"

 

 

 

OnUpdateCommand="RadGrid1_UpdateCommand" PageSize="20" Skin="WebBlue" Visible="False"

 

 

 

OnPreRender="RadGrid1_PreRender">

 

 

 

<ClientSettings>

 

 

 

<Selecting CellSelectionMode="None" />

 

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" />

 

 

 

</ClientSettings>

 

 

 

<MasterTableView Width="100%">

 

 

 

<CommandItemSettings ExportToPdfText="Export to PDF" />

 

 

 

<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">

 

 

 

</RowIndicatorColumn>

 

 

 

<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">

 

 

 

</ExpandCollapseColumn>

 

 

 

<Columns>

 

 

 

<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Edit" HeaderStyle-Width="4%"

 

 

 

HeaderText="Edit" Text="Edit" UniqueName="EditButton" Visible="true">

 

 

 

<HeaderStyle Width="4%" />

 

 

 

</telerik:GridButtonColumn>

 

 

 

<telerik:GridBoundColumn DataField="Total Items" FilterControlAltText="Filter Total_Items column"

 

 

 

HeaderStyle-Font-Bold="true" HeaderStyle-Width="6%" HeaderText="Mapped Items"

 

 

 

ReadOnly="true" SortExpression="Total_Items" UniqueName="Total_Items">

 

 

 

<HeaderStyle Font-Bold="True" Width="6%" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn EditFormHeaderTextFormat="&lt;font color='red'&gt;*&lt;/font&gt;{0}"

 

 

 

HeaderStyle-Font-Bold="true" HeaderStyle-Width="6%" HeaderText="Ariba_Cat1" UniqueName="Ariba_Cat1">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="lbl_catone" runat="server" Text='<%#Eval("Ariba_Cat1") %>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<EditItemTemplate>

 

 

 

<telerik:RadComboBox ID="rcb_aribacatone" runat="server" DataSourceID="Ariba_Cat1"

 

 

 

DataTextField="ariba_cat1" DataValueField="ariba_cat1" SelectedValue='<%# Bind("Ariba_Cat1") %>'>

 

 

 

</telerik:RadComboBox>

 

 

 

</EditItemTemplate>

 

 

 

<HeaderStyle Font-Bold="True" />

 

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn EditFormHeaderTextFormat="&lt;font color='red'&gt;*&lt;/font&gt;{0}"

 

 

 

HeaderStyle-Font-Bold="true" HeaderStyle-Width="6%" HeaderText="Ariba_Cat2" UniqueName="Ariba_Cat2">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="lbl_cattwo" runat="server" Text='<%#Eval("ariba_Cat2") %>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<EditItemTemplate>

 

 

 

<telerik:RadComboBox ID="rcb_aribacattwo" runat="server" DataSourceID="aribacat2"

 

 

 

DataTextField="ariba_cat2" DataValueField="ariba_cat2" SelectedValue='<%# Bind("ariba_Cat2") %>'>

 

 

 

</telerik:RadComboBox>

 

 

 

</EditItemTemplate>

 

 

 

<HeaderStyle Font-Bold="True" />

 

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn EditFormHeaderTextFormat="&lt;font color='red'&gt;*&lt;/font&gt;{0}"

 

 

 

HeaderStyle-Font-Bold="true" HeaderStyle-Width="6%" HeaderText="Ariba_Cat3" UniqueName="Ariba_Cat3">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="lbl_catthree" runat="server" Text='<%#Eval("Ariba_Cat3") %>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<EditItemTemplate>

 

 

 

<telerik:RadComboBox ID="rcb_aribacatthree" runat="server" DataSourceID="SubCategory"

 

 

 

DataTextField="ariba_cat3" DataValueField="ariba_cat3" SelectedValue='<%# Bind("Ariba_Cat3") %>'>

 

 

 

</telerik:RadComboBox>

 

 

 

</EditItemTemplate>

 

 

 

<HeaderStyle Font-Bold="True" />

 

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn EditFormHeaderTextFormat="&lt;font color='red'&gt;*&lt;/font&gt;{0}"

 

 

 

HeaderStyle-Font-Bold="true" HeaderStyle-Width="6%" HeaderText="Ariba_Cat4" UniqueName="Ariba_Cat4">

 

 

 

<EditItemTemplate>

 

 

 

<telerik:RadComboBox ID="rcb_aribacatfour" runat="server" DataSourceID="ds_aribafour"

 

 

 

DataTextField="ariba_cat4" DataValueField="ariba_cat4" SelectedValue='<%# Bind("Ariba_Cat4") %>'>

 

 

 

</telerik:RadComboBox>

 

 

 

</EditItemTemplate>

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="lbl_catfour" runat="server" Text='<%#Eval("Ariba_Cat4") %>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Font-Bold="True" />

 

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn EditFormHeaderTextFormat="&lt;font color='red'&gt;*&lt;/font&gt;{0}"

 

 

 

HeaderStyle-Font-Bold="true" HeaderStyle-Width="6%" HeaderText="Ariba_Cat5" UniqueName="Ariba_Cat5">

 

 

 

<EditItemTemplate>

 

 

 

<telerik:RadComboBox ID="rcb_aribacatfive" runat="server" DataSourceID="ds_catfive"

 

 

 

DataTextField="ariba_cat5" DataValueField="ariba_cat5" SelectedValue='<%# Bind("Ariba_Cat5") %>'>

 

 

 

</telerik:RadComboBox>

 

 

 

</EditItemTemplate>

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="lbl_catfive" runat="server" Text='<%#Eval("Ariba_Cat5") %>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Font-Bold="True" />

 

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

</Columns>

 

 

 

<EditFormSettings>

 

 

 

<EditColumn FilterControlAltText="Filter EditCommandColumn column">

 

 

 

</EditColumn>

 

 

 

</EditFormSettings>

 

 

 

</MasterTableView>

 

 

 

<FilterMenu EnableImageSprites="False">

 

 

 

</FilterMenu>

 

 

 

</telerik:RadGrid><%--</asp:Panel>--%>

 


My problem is the edit button working fine in my local mechine but after deploying the application I was trying to edit data.But getting error while clicking on edit button.Error message is

Webpage error details

 

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322; InfoPath.3)

Timestamp: Fri, 1 Jun 2012 16:01:18 UTC

 

 

Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

Line: 6

Char: 84093

Code: 0

URI: http://10.9.16.61:8082/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2



Please anybody give me the solution.

Thanks.
Marin
Telerik team
 answered on 05 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?