Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
754 views
I have a web application project with the Telerik.Web.UI goodies in it (the latest and greatest version). Everything was fine until I started working with some web services.

I have a third party API I need to use to access financial data. Long story short, after several different setups, I have settled on having a WebServices folder in the project that will contain all my local .ASMX files to access any cross-domain services so I can use them asynchronously.

Due to the nature of the web application I am developing, I needed to make this WebServices folder a web application in IIS7 on its own app pool. For some reason, however, any time I try to access any services there, I receive the following:

System.Web.HttpException: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'

This is a bit of a show stopper, needless to say. I've tried various fixes (including commenting out the respective lines in web.config, but that just led to a chain of HttpExceptions...), but to no avail. How do I fix this?

EDIT: A sanitized version of the web.config from the web project folder.

<?xml version="1.0" encoding="UTF-8"?><configuration> 
  <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> 
      </sectionGroup> 
    </sectionGroup> 
  </configSections> 
 
  <connectionStrings/> 
  <appSettings><!---REDACTED---></appSettings> 
 
  <system.web> 
    <compilation debug="true"> 
      <assemblies> 
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
        <add assembly="System.Data.DataSetExtensions, 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.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
        <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"/> 
        <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
      </assemblies> 
    </compilation> 
    <authentication mode="Forms"/> 
    <pages> 
      <namespaces><!---REDACTED---></namespaces> 
      <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"/> 
        <!---REDACTED---> 
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/> 
      </controls> 
    </pages> 
 
    <sessionState timeout="60"></sessionState> 
    <membership> 
      <providers> 
        <remove name="AspNetSqlMembershipProvider"/> 
        <!---REDACTED---> 
        </providers> 
    </membership> 
    <roleManager enabled="true" cookieTimeout="60"> 
      <providers> 
        <remove name="AspNetSqlRoleProvider"/> 
        <remove name="AspNetWindowsTokenroleProvider"/> 
        <!---REDACTED---> 
      </providers> 
    </roleManager> 
    <anonymousIdentification enabled="false"/> 
    <profile> 
      <providers> 
        <remove name="AspNetSqlProfileProvider"/> 
        <!---REDACTED---> 
      </providers> 
    </profile> 
 
    <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"/> 
      <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="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/> 
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/> 
    </httpModules> 
  </system.web> 
 
  <system.codedom> 
    <compilers> 
      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
        <providerOption name="CompilerVersion" value="v3.5"/> 
        <providerOption name="WarnAsError" value="false"/> 
      </compiler> 
    </compilers> 
  </system.codedom> 
  <system.webServer> 
    <validation validateIntegratedModeConfiguration="false"/> 
    <modules> 
      <remove name="ScriptModule"/> 
      <remove name="RadUploadModule"/> 
      <remove name="RadCompression"/> 
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0"/> 
    </modules> 
    <handlers> 
      <remove name="WebServiceHandlerFactory-Integrated"/> 
      <remove name="ScriptHandlerFactory"/> 
      <remove name="ScriptHandlerFactoryAppServices"/> 
      <remove name="ScriptResource"/> 
      <remove name="ChartImage_axd"/> 
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/> 
      <remove name="Telerik_Web_UI_DialogHandler_aspx"/> 
      <remove name="Telerik_RadUploadProgressHandler_ashx"/> 
      <remove name="Telerik_Web_UI_WebResource_axd"/> 
      <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"/> 
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0"/> 
    </handlers> 
  </system.webServer> 
  <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"/> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> 
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> 
      </dependentAssembly> 
    </assemblyBinding> 
  </runtime> 
</configuration> 

Genady Sergeev
Telerik team
 answered on 25 Oct 2011
3 answers
154 views
How do I get a value of a column in the current row if it's not selected? My grid shows data in some bound columns and a template column. The template column has (among other things) a button which will pass a value from that row to open another page via querystring. This doesn't seem like it should be difficult.

Grid only:
<telerik:RadGrid ID="Project_RadGrid" runat="server" CellSpacing="0" DataSourceID="Project_SqlDataSource"
    GridLines="None" AllowSorting="True" ShowGroupPanel="True" AllowPaging="True" Skin="Black">
    <ClientSettings AllowDragToGroup="True">
        <Selecting AllowRowSelect="True" />
    </ClientSettings>
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="JobNumber" DataSourceID="ProjectSqlDataSource">
        <CommandItemSettings ExportToPdfText="Export to PDF" />
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" />
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" />
        <Columns>
            <telerik:GridBoundColumn DataField="JobNumber" DataType="System.Decimal" FilterControlAltText="Filter JobNumber column"
                HeaderText="JobNumber" ReadOnly="True" SortExpression="JobNumber" UniqueName="JobNumber" Display="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="SegmentName" FilterControlAltText="Filter SegmentName column"
                HeaderText="Business Segment" SortExpression="SegmentName" UniqueName="SegmentName">
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn1 column" HeaderText="Overview"
                UniqueName="TemplateColumn1">
                <ItemTemplate>
                    <div>
                    <table style="width:99%; vertical-align:text-top;">
                        <tr><th style="width:80%;">
                        <span style="color:#009900;background-color:#F2F2F2;font-variant:small-caps;"><%# DataBinder.Eval(Container.DataItem, "Overview")%></span>
                        </th></tr>
                        <%--
                        *** Add the summary and integration rows only if there is data.
                        --%>
                        <%# If((DataBinder.Eval(Container.DataItem, "Summary") & "") = "", "", "<tr><td>" & DataBinder.Eval(Container.DataItem, "Summary") & "</td></tr>")%>
                        <%# If((DataBinder.Eval(Container.DataItem, "Integration") & "") = "", "", "<tr><td>" & DataBinder.Eval(Container.DataItem, "Integration") & "</td></tr>")%>
                        <tr><td>
                        <asp:Button ID="ShotDetail_Button" runat="server" Text="Shot List..." UseSubmitBehavior="False"
                                OnClick="ShotDetail_Button_Click" />
                        <input id="Comments_Button" type="button" value="Comments..." onclick=" $('#div_Comments').toggle();" />
                        <asp:Button ID="LinkedProjects_Button" runat="server" Text="Linked Projects..." UseSubmitBehavior="False" />
                        </td></tr>
                    </table>
                    </div>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
            </telerik:GridTemplateColumn>
        </Columns>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column" />
        </EditFormSettings>
        <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    </MasterTableView>
    <FilterMenu EnableImageSprites="False" />
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default" />
</telerik:RadGrid>

Code behind:
protected void ShotDetail_Button_Click(object sender, System.EventArgs e)
{
    //I need JobNumber here
    Response.Redirect(string.Format("~/ShotDetail.aspx?JobNo={0}", JobNumber));
}
Francis Frank
Top achievements
Rank 1
 answered on 25 Oct 2011
3 answers
253 views
My web.config timeout is set to 1 minute for testing.  I log in and view a page with a radgrid. The grid loads normally.
I wait for 1 minute.  Then I click on a button on the radgrid and i get an error.

I want to be able to redirect users to my login.aspx page.

In an earlier thread you mention putting this in Login.aspx "Page_Init" function. 

"Response.RedirectLocation = Request.Url.ToString();"

But no redirect occurs.  Any ideas?
Iana Tsolova
Telerik team
 answered on 25 Oct 2011
1 answer
102 views
When I use asp DropDownList and populate it with some items (a, ab, abc, b, ba etc) I click to open drop down list and type 'a' on keyboard selection goes to first item that begins with 'a' and when I type 'ab' it goes to 'ab'.<br/>
But in telerik RadComboBox when I type 'ab' it goes to the first item that begins with 'b' and  not to 'ab'.<br/>
Is it possible to fix this somehow on RadComboBox?
Shinu
Top achievements
Rank 2
 answered on 25 Oct 2011
1 answer
103 views
If you add a RadTimePicker and then hide the pop up button by setting the TimePopUpButton Visible status to false it automatically sets the DateFormat and DisplayDateFormat to "dd/MM/yyy" where it should really be "HH:mm".

I found that sometime when I set the SelectedDate property to a datetime value it would show the date in the RadTimePicker control.

While you can change the DateFormat and DisplayDateFormat "HH:mm" it should be set to "HH:mm" by default.
Vasil
Telerik team
 answered on 25 Oct 2011
3 answers
207 views

I can't get the column headers to line up with the masterview table columns.  I have been trying to fix this for 2 days and I have a bunch of radgrids that I am updating, this is the first one.  If I take all of the headerwidths out then I get close, but the first column has to be much wider than the other because of the type of data stored.  The code is below, I will attach a screen shot.  Thanks. 

<telerik:RadGrid ID="rgSalesOrder" DataSourceID="dsSalesOrderList" ShowHeader="true"
    Width="676px" Height="185" AutoGenerateColumns="false" GridLines="None" AllowPaging="True"
    PageSize="30" runat="server" OnSelectedIndexChanged="rgSalesOrder_SelectedIndexChanged"
    OnItemDataBound="rgSalesOrder_ItemDataBound" OnSortCommand="rgSalesOrder_SortCommand" onpageindexchanged="rgSalesOrder_PageIndexChanged"
    Skin="Windows7" SkinID="Windows7" EnableEmbeddedSkins="True" AllowSorting="true"  >
    <PagerStyle  Mode="NextPrevAndNumeric" PageButtonCount="5"  />
    <HeaderStyle HorizontalAlign="Left" />
    <MasterTableView AllowPaging="true" DataKeyNames="Id" AllowSorting="true" >
        <Columns>
            <telerik:GridTemplateColumn HeaderText="Customer" SortExpression="Company" HeaderStyle-Width="200px" >
                <ItemTemplate>
                    <asp:LinkButton ID="lbtnCompany" runat="server" Text='<%#Bind("Company") %>' OnClick="lbtnCompany_Click"></asp:LinkButton>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:LinkButton ID="lbtnCompany" runat="server" Text='<%#Bind("Company") %>' OnClick="lbtnCompany_Click"></asp:LinkButton>
                </EditItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn HeaderText="User" DataField="CreatedBy" HeaderStyle-Width="50px" >
            </telerik:GridBoundColumn>
            <telerik:GridButtonColumn ButtonType="LinkButton" HeaderText="Quote" CommandName="Select"
                DataTextField="Id" SortExpression="Id"  HeaderStyle-Width="50px" >
            </telerik:GridButtonColumn>
            <telerik:GridBoundColumn HeaderText="Date" DataField="CreatedOn" DataFormatString="{0:MM/dd/yyyy}" HeaderStyle-Width="75px" >
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Status" DataField="OrderStatus" HeaderStyle-Width="75px" >
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Value" DataField="QuoteValue" DataFormatString="{0:c}" HeaderStyle-Width="75px" >
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn HeaderText="Select" >
                <ItemTemplate>
                    <asp:CheckBox runat="server" ID="chkSelect" />
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:CheckBox runat="server" ID="chkSelect" />
                </EditItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="ACTION" SortExpression="Status" Visible="false" >
                <ItemTemplate>
                    <table id="tblStatus" border="0px" cellpadding="0px" cellspacing="0px" width="0px">
                        <tr>
                            <td style="text-align: center">
                                <asp:Label ID="lblCustomerID" runat="server" Visible="false" Text='<%# Bind("CustomerId") %>'></asp:Label>
                                <asp:Label ID="lblStatusID" runat="server" Visible="false" Text='<%# Bind("Status") %>'></asp:Label>
                                <asp:Label ID="lblStatus" runat="server" Visible="false" Text='<%# Bind("Status") %>'></asp:Label>
                                <asp:Label ID="lblRowStyle" runat="server" Visible="false" Text='<%# Bind("RowStyle") %>'></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView> 
    <ClientSettings>
        <Scrolling AllowScroll="True" EnableVirtualScrollPaging="true" UseStaticHeaders="true" ScrollHeight="141"  />
        <Resizing AllowColumnResize="true" />
    </ClientSettings>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 25 Oct 2011
6 answers
1.2K+ views

Hi, I’m a bit stuck. I am using the below to add a custom group by expression to a rad grid. I want the user to be able to group by any of the other fields in the grid, but always have my custom sort last (I have used e.canceled to stop them deleting it and was going to look at removing the group by box from the group by bar as well).

I have tried changing the index of the item, removing the item, then inserting it, but even this doesn’t seem to work. I have tried adding it back intot he collection on prerender, but even this adds it before the new expression.

I’m sure it’s simple, but I can’t see how to do it. All i want is for the user to be able to group as they want, and then add this last grouping after any other group by expressions that they might have added.

 

 

 

Dim thestring As String
thestring = "nominal_id [Nominal ID], first_name [First name],middle_name [Middle name],last_name [Surname],nicknames [Nicknames],dob [DOB],place_of_birth [Place Of Birth],miss_count [Files], photograph [photo] Group By nominal_id"
Dim expression1 As GridGroupByExpression = GridGroupByExpression.Parse(thestring)

 

 

Me.RadGrid1.MasterTableView.GroupByExpressions.Add(expression1)

 

 

 

James
Top achievements
Rank 1
 answered on 25 Oct 2011
3 answers
80 views
Whenever the scheduler is clicked on to add/edit an appointment, it causes the calendar to display incorectly.
I have attempted to hack the css:

.RadCalendar .rcRow td
{
   border-top-width: 0px!important;
   border-right-width: 0px!important;
   border-bottom-width: 0px!important;
   border-left-width: 0px!important;
 
}

But this has an equally bizarre effect.
Peter
Telerik team
 answered on 25 Oct 2011
23 answers
2.3K+ views
Hi, I have a dynamically generated Radgrid (server-side defined columns and data) which has a nested view template which, inside, has another dynamically generated Radgrid.  I merely defined the nested radgrid object in the aspx and the rest of the properties, including data, columns, etc. are generated server-side using the PreRender method of the parent RadGrid.  It all works beautiful until I try to add, edit or delete a record inside the nested (child) RadGrid. When that is done, the nested grid dissapears :(.  I tried doing the same thing traversing through all the items of the grid in the Page PreRender method and initializing the nested RadGrid inside the child items of such items, when I do that and try to edit or add a record in the nested RadGrid, the grid does not dissapears but stays as if I had not pressed any buttons.

What would be the proper or recommended way to do this? Will it be too slow if I do it in the PageLoad since the nested Radgrid will all be generated and databinded every time I access the page or do a postback??

I am out of ideas here, help would be greatly appreciated.
-Manuel
Sebastian
Telerik team
 answered on 25 Oct 2011
1 answer
81 views

We have a series of management forms that utilize the RadGrid RadControl for Asp.Net Ajax (2010, 3, 1317, 35) and are bound to objects of type List (of T). The issue we are facing is that sorting and filtering, utilizing the grids header sorting/filtering features on fields that are foreign keys to other objects of type List (of T), don’t sort/filter by its textual value. Rather, it filters on the ID as it is the data originally bound to the grid and the only value stored in the data bound List (of T). It can be assumed that each List (of T) object directly correlates to a table. What we are looking for is a reasonable solution given the following constraints:

  • The main object of type List (of T) cannot be altered to include other properties.

      My hope is that there is a solution to bind on the original object of type List (of T), and sort/filter in some custom fashion (within the constraints of the grid) utilizing the foreign property link between its parent object of type List (of T). I have included an image below of what I am attempting to do as attachment.


Thanks.
Venky Adabala

Sebastian
Telerik team
 answered on 25 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?