I have a series of ASPX files which are use RadGrid. One of the ASCX's contains this code:
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <AjaxSettings>
I have two web sites running identical code (one test, one production). I part of the "Security advisory" received last month, I downloaded the newer version of the Telerik controls and updated the project, and pushed to Test. No other changes have been made to the code base, just the DLL version for the new controls (2017.6.621.45). Production is still on 2017.1.228.45.
When using this ASPX file with DLL version 2017.2.621.45, I am getting an error "Unknown control type Telerik.Web.UI.RadAjaxManagerProxy" in my try/catch exception block for that page. If I change the project back to 2017.1.228.45 and push to test, it runs fine.
Not sure what has changed to cause this behaviour. Any suggestions on how to work around/correct?
I have very simple RadGrid that is being loaded from database
<telerik:RadGrid ID="RadGrid1" runat="server" Skin="MetroTouch" OnPreRender="RadGrid1_PreRender" OnItemDataBound="RadGrid1_ItemDataBound" ></telerik:RadGrid>
This populates my tooltip:
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
foreach (GridDataItem dataItem in radgrid2.MasterTableView.Items)
{
dataItem["Offset_Rank"].ToolTip = dataItem["OffsetToolTip"].Text;
}
}
My problem is, once I change my lookup parameters and reload the radGrid my tool tip becomes null, what am I missing?
Any help would be helpful.
Thanks
Hello,
I have a RadPanelBar with 4 items in it. They all are expanded at first and user can expand/collapse them at will with click on the title or the arrow. The contents are a bit long so a scrollbar appears on the body when there are items expanded.
This is my problem,
When a scrollbar is there, I cannot click and expand or collapse a panel right away. Clicking once is changing the scroll position, and clicking twice does the job. When all panels are collapsed (so there are no scrollbar) I can expand any of them with a single click.
What may be the problem?
Thanks,
Sedat.
I have a problem when inserting a new record into a TreeList. I am using advanced OnNeedDataSource binding and manually inserting the record into our DB during the InsertCommand. After the insert command completes I get the following error:
"Property accessor '[PK and DataKeyName]' on object '[Object]' threw the following exception:'Object does not match target type.'"
I can't find any helpful documentation on this exception, is there any help that you may be able to give on this matter?

Hello Telerik Community !
I'm trying to find a Telerik grid with paging in which I could filter, sort and select all items.
Is that possible ?
Thank you for any help.
http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx
With this demo I could not select all items for example.
When I use "splitter.ajaxRequest" for a pane, it works in other browsers, but IE always uses its cache rather getting new data. If I clean IE's cache before I trigger the ajax request, then it works for IE.
As I searched online, there're two ways to fix it, one is to change the request type from GET to POST, the other is to disable cache. Both can be done easily with jQuery, but I wonder whether the "ajaxRequest" function takes arguments such as:
{ type: 'POST' } or { cache: false } ?
It's also fine if there're other ways to fix this issue. Thank you!
I've got a Master Grid, with a NestedViewTemplate that has a sub grid in it. I want this sub grid to databind when a row in the Master Grid is expanded. The sub grid's binding method needs the data key from the Master Grid row to bind. I'm having trouble connecting this key to the sub grid, its always 0. I've reviewed the documention for NestedViewTemplates and NestedViewSettings but must still be doing something wrong. The docs for the NestViewTemplates refer to the working demo but it uses a Label to stash the Master Table row key rather than the NestedViewSettings which I'm trying to use. I've have been able to bind the sub grid table using various techniques such as stashing the Master Table row key in the label or using NeedsDataSource. These other methods won't work for me as they want to bind sub grid data for all rows of the master grid when the page is loaded and this is too slow.
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
<telerik:RadScriptManager ID="BudgetAdjustmentScriptManager" runat="server" EnablePartialRendering="true"></telerik:RadScriptManager>
<telerik:RadGrid ID="BudgetAdjustmentRadGrid" runat="server" Width="100%" AllowPaging="True" AllowSorting="true" AutoGenerateColumns="False" PageSize="20" DataSourceID="BugetAdjustmentRadGrid_ObjectDataSource"
AlternatingItemStyle-BackColor="#e6e6e6" ShowFooter="True">
<MasterTableView CommandItemDisplay="Top" Width="100%" DataKeyNames="budget_adjustment_master_id" ShowGroupFooter="true" Name="Master">
<Columns>
<telerik:GridEditCommandColumn ButtonType="FontIconButton" UniqueName="Edit"></telerik:GridEditCommandColumn>
<telerik:GridBoundColumn DataField="name" HeaderText="Name" UniqueName="name" MaxLength="50" ></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="number" HeaderText="Number" UniqueName="number" readonly="true"></telerik:GridBoundColumn>
</Columns>
<NestedViewSettings DataSourceID="BudgetAdjustmentItem_ObjectDataSource">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="budget_adjustment_master_id" MasterKeyField="budget_adjustment_master_id" />
</ParentTableRelation>
</NestedViewSettings>
<NestedViewTemplate>
<asp:Panel ID="InnerContainer" runat="server" CssClass="viewWrap" Visible="True">
<telerik:RadGrid ID="BudgetAdjustmentItemRadGrid" runat="server" DataSourceID="BudgetAdjustmentDetail_ObjectDataSource" AllowPaging="true" AllowSorting="true" AutoGenerateColumns="false" >
<MasterTableView DataKeyNames="budget_adjustment_master_id, budget_adjustment_detail_id" HierarchyLoadMode="ServerOnDemand" PageSize="10" CommandItemDisplay="Top">
<Columns>
<telerik:GridEditCommandColumn ButtonType="FontIconButton" UniqueName="Edit"></telerik:GridEditCommandColumn>
<telerik:GridBoundColumn DataField="budget_adjustment_detail_id" HeaderText="ID" SortExpression="budget_adjustment_detail_id" UniqueName="budget_adjustment_detail_id" ReadOnly="true"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="budget_adjustment_operation" HeaderText="Operation" SortExpression="budget_adjustment_operation" UniqueName="budget_adjustment_operation" ReadOnly="true"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
</asp:Panel>
</NestedViewTemplate>
</MasterTableView>
</telerik:RadGrid>
<asp:ObjectDataSource ID="BudgetAdjustmentDetail_ObjectDataSource" runat="server" TypeName="BudgetAdjustmentDetailDAL" SelectMethod="Get" SortParameterName="sort_expression" >
<SelectParameters>
<asp:Parameter Name="budget_adjustment_master_id" Type="Int32" />
<asp:Parameter Name="project_node_master_id" DefaultValue="25" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="BudgetAdjustmentItem_ObjectDataSource" runat="server" TypeName="BudgetAdjustmentMasterDAL" SelectMethod="Get">
<SelectParameters>
<asp:Parameter Name="budget_adjustment_master_id" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="BugetAdjustmentRadGrid_ObjectDataSource" runat="server" TypeName="BudgetAdjustmentMasterDAL" SelectMethod="Get" SortParameterName="sort_expression">
<SelectParameters>
<asp:Parameter Name="project_node_master_id" DefaultValue="33" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</asp:Content>
With Telerik 2017 R2 version, the toolbar hided the drowdown menu when Toobar Mode property was not "default" (e.g. floating or pagetop,..). How to bring the dropdown menu to front ?(maybe a bug of this version)

OK in short, I have one grid that, based on row selection, populates another grid. I would like filtering on the first grid to "reset"/"clear" the second grid, and obviously filter the first grid. The problem I'm seeing is that only one event will fire - if I make the filter happen first, the filter works but the .fireCommand() event doesn't fire. If I make the .fireCommand() event first, the event is fired but the filter doesn't happen. Code for the filter function below.
function NameChanged(sender) { var firstGrid = $find("<%= rgUsers.ClientID %>").get_masterTableView(); var secondGrid = $find("<%= rgAccess.ClientID %>").get_masterTableView(); if (sender.get_value() == "") { tableView.filter("gbcFullName", sender.get_value(), "NoFilter"); } else { tableView.filter("gbcFullName", sender.get_value(), "Contains"); } secondGrid.fireCommand("Clear", ""); }<telerik:RadGrid ID="radGridClientIdentifiers2" runat="server" AutoGenerateColumns="false" OnUpdateCommand="radGridClientIdentifiers2_UpdateCommand" OnDeleteCommand="radGridClientIdentifiers2_DeleteCommand" OnInsertCommand="radGridClientIdentifiers2_InsertCommand" OnItemCreated="radGridClientIdentifiers2_ItemCreated" OnDataBound="radGridClientIdentifiers2_DataBound" OnNeedDataSource="radGridClientIdentifiers2_NeedDataSource"> <MasterTableView DataKeyNames="ID" CommandItemDisplay="Top"> <Columns> <telerik:GridEditCommandColumn ButtonType="PushButton" UniqueName="EditCommandColumn" /> <telerik:GridBoundColumn HeaderText="Number" DataField="Identifier" /> <telerik:GridDropDownColumn HeaderText="Type" EnableEmptyListItem="true" DataField="IdentifierTypeID" ListTextField="Description" ListValueField="ID" DataSourceID="objectDataSourceClientIdentifierTypes" /> <telerik:GridButtonColumn UniqueName="DeleteColumn" ButtonType="ImageButton" CommandName="Delete" /> <telerik:GridClientSelectColumn UniqueName="SelectColumn" HeaderText="Default" /> </Columns> <EditFormSettings EditFormType="Template"> <FormTemplate> <telerik:RadTextBox ID="radTextBox" Label="Number:" Text='<%# Bind("Identifier") %>' runat="server"> </telerik:RadTextBox> <telerik:RadComboBox ID="radComboBox" runat="server" Label="Type:" SelectedValue='<%# Bind("IdentifierTypeID") %>' DataSourceID="objectDataSourceClientIdentifierTypes" DataTextField="Description" DataValueField="ID" /> <telerik:RadButton ID="radButtonInsert" runat="server" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' /> <telerik:RadButton ID="radButtonCancel" runat="server" Text="Cancel" CausesValidation="false" CommandName="Cancel" /> </FormTemplate> </EditFormSettings> </MasterTableView> <ClientSettings> <Selecting AllowRowSelect="true" /> </ClientSettings></telerik:RadGrid>