I have allowed the Row Selection for the RadGrid
<Selecting AllowRowSelect="true" />
and it works fine except that I don't want to select the row if the expand/collapse column is clicked.
Meaning I want to only see the details table of the certain item without selecting it. How to achieve that?
Thank you
Hi
On one particular page I am having a problem with filters in a RadGrid. I have another page with a similar setup that works fine.
I am finding that when a user enters a filter value the post back happens as expected but the filter value MasterTableView.FilterExpression is empty. Oddly the grid still seems to do a client side filter but there is no server filter value entered.
Any suggestions as to what could cause this? I've been looking for the various differences in the pages and am stumped on it!
Regards
Jon

<telerik:RadGantt runat="server" ID="GanttChart" CssClass="GanttChart" OnDataBound="GanttChart_DataBound" Skin="Silk" ListWidth="30%" Height="650px" Width="1038px" SelectedView="WeekView" AutoGenerateColumns="false" WorkWeekStart="Monday" WorkWeekEnd="Friday"> <Columns> <telerik:GanttBoundColumn DataField="Title" HeaderText="Attivita" DataType="String" UniqueName="Title" Width="150px" AllowEdit="false"></telerik:GanttBoundColumn> <telerik:GanttBoundColumn DataField="Start" HeaderText="Inizio" DataType="DateTime" UniqueName="Start" DataFormatString="dd/MM/yy" Width="65px" AllowEdit="false" /> <telerik:GanttBoundColumn DataField="End" HeaderText="Fine" DataType="DateTime" UniqueName="End" DataFormatString="dd/MM/yy" Width="65px" AllowEdit="false" /> <telerik:GanttBoundColumn DataField="PercentComplete" HeaderText="Completamento" DataType="Number" UniqueName="PercentComplete" Width="110px" AllowEdit="false" /> </Columns> <YearView UserSelectable="true" /> <DataBindings> <TasksDataBindings IdField="ID" ParentIdField="ParentID" StartField="Start" SummaryField="Summary" EndField="End" TitleField="Title" PercentCompleteField="PercentComplete" OrderIdField="OrderID" /> <DependenciesDataBindings TypeField="Type" IdField="ID" PredecessorIdField="PredecessorID" SuccessorIdField="SuccessorID" /> </DataBindings></telerik:RadGantt>protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); //Day View GanttChart.DayView.DayHeaderDateFormat = "dddd dd/MM"; GanttChart.DayView.SlotWidth = Unit.Parse("55px"); GanttChart.DayView.HourSpan = 1; GanttChart.DayView.TimeHeaderDateFormat = "HH:mm"; //Week View GanttChart.WeekView.DayHeaderDateFormat = "ddd dd/MM"; GanttChart.WeekView.SlotWidth = Unit.Parse("85px"); GanttChart.WeekView.WeekHeaderDateFormat = "ddd"; //Month View GanttChart.MonthView.WeekHeaderDateFormat = "ddd dd"; GanttChart.MonthView.SlotWidth = Unit.Parse("110px"); GanttChart.MonthView.MonthHeaderDateFormat = "MMMM yy"; //Year View GanttChart.YearView.MonthHeaderDateFormat = "MMM"; GanttChart.YearView.SlotWidth = Unit.Parse("120px"); GanttChart.YearView.MonthHeaderDateFormat = "Y"; //Common properties working for all views GanttChart.ShowFullTime = true; GanttChart.ShowFullWeek = true; GanttChart.Culture = CultureInfo.CurrentCulture; GanttChart.WorkWeekStart = DayOfWeek.Monday; GanttChart.WorkWeekEnd = DayOfWeek.Friday; GanttChart.AllowSorting = false; }public List<Task> GetGanttDataSource(int projectId) { List<Task> tasks = new List<Task>(); var taskResult = GetDbResult(projectId); int hasNext = 0; foreach (var item in taskResult) { Task task = new Task(); task.ID = item.Id; task.ParentID = item.ParentId; task.Start = item.Start; task.End = item.End; task.Title = item.Title; task.PercentComplete = item.PercentComplete; if (item.Summary) item.Summary = taskResult.Any(x => x.ParentId == item.Id); task.Summary = item.Summary; task.Expanded = true; task.OrderID = item.OrderId; tasks.Add(task); } return tasks; }
hello,
I have a radComboBox with Checkboxes enabled. I use the OnItemChecked and OnCheckAllItems events while loading data to Combobox with ItemRequested event and LoadOnDemand enabled.
the problem is that the OnItemChecked and OnCheckAllItems events not working.
How can I make it

Is there any way to cancel the material design ripple at runtime?
I'm using the material design theme with the RadPanelBar and in each item I've added a star icon to toggle favorited items. The problem is that even though I am able to cancel/prevent the item click from occurring, the ripple still happens.
My click event is bound to the icon toggle element directly with jquery, but calling stopImmediatePropagation and all other event cancelling methods I know of do not work for preventing the ripple effect from firing.
Thanks,
Adam
I haven't touched my application in some time. This is a C# Asp.net web app using Telerik Ajax controls. I've just updated to the latest controls and I'm having a problem adding a new RadComboBox.
Up till now I have not had this problem. Whenever I added a box it's label would always be in line on the left.
With this new box, no matter what I do, the label is always above the dropdown.
This is within a div that has a width of 100% of the current page.
What could I be forgetting?
Hi,
I managed to get RadGantt tasks inserts and deletes working fine. But for some strange reason
UI changes(e.g. Add Child tasks, rename task, change dates...etc.) to the tasks are not being saved.
Am I missing something obvious?
I'm using latest UI for ASP.NET AJAX version 2017.1.116.40
Below is my declarative
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProjectPlan.aspx.cs" Inherits="ModitiPAdmin.Project.ProjectPlan" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI.Gantt" tagprefix="telerik" %><asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <%-- <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"> </asp:ScriptReference> </Scripts> </telerik:RadScriptManager> --%> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="ConfiguratorPanel"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGantt1" /> <telerik:AjaxUpdatedControl ControlID="ConfiguratorPanel" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel> <div> </div> <div> <telerik:RadGantt RenderMode="Lightweight" runat="server" ID="RadGantt1" Skin="Material" Height="700px" ListWidth="520px" EnableEmbeddedScripts="true" EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="true" DataSourceID="TasksDataSource" DependenciesDataSourceID="DependenciesDataSource" ResourcesDataSourceID="ResourcesDataSource" AssignmentsDataSourceID="AssignmentsDataSource" SelectedView="MonthView" AllowTaskInsert="true" AllowTaskUpdate="true" AllowTaskMove="true" AllowTaskReorder="true" AllowTaskDelete="true" AllowDependencyInsert="true" AllowDependencyDelete="true" AllowPercentCompleteDrag="true" AllowTaskResize="true" AllowColumnResize="true" AllowSorting="True" DisplayDeleteConfirmation="true" EnableResources="true" EnablePdfExport="true" AutoGenerateColumns="false" ShowCurrentTimeMarker="true" ShowTooltip="true" ShowFullTime="true" ShowFullWeek="true" WorkWeekStart="Monday" WorkWeekEnd="Friday" > <ExportSettings> <Pdf Landscape="true" > </Pdf> </ExportSettings> <DayView UserSelectable="true" /> <WeekView UserSelectable="true" /> <MonthView UserSelectable="true" MonthHeaderDateFormat="Y" WeekHeaderDateFormat="ddd M/dd" /> <YearView UserSelectable="true" /> <Columns> <telerik:GanttBoundColumn DataField="id" AllowEdit="false" AllowSorting="false" Width="50px" HeaderText="ID" DataType="Number"> </telerik:GanttBoundColumn> <telerik:GanttBoundColumn DataField="Title" DataType="String" Width="120px" HeaderText="Title"> </telerik:GanttBoundColumn> <telerik:GanttBoundColumn DataField="Start" DataType="DateTime" DataFormatString="dd/MM/yy" Width="80px" HeaderText="Start"> </telerik:GanttBoundColumn> <telerik:GanttBoundColumn DataField="End" DataType="DateTime" DataFormatString="dd/MM/yy" Width="80px" HeaderText="End"> </telerik:GanttBoundColumn> <telerik:GanttBoundColumn DataField="PercentComplete" DataType="Number" Width="80px" HeaderText="% Complete"> </telerik:GanttBoundColumn> <telerik:GanttResourceColumn HeaderText="Asssigned Resources" Width="100px" ></telerik:GanttResourceColumn> </Columns> <CustomTaskFields> <telerik:GanttCustomField PropertyName="Description" ClientPropertyName="description" Type="String" /> </CustomTaskFields> <DataBindings> <TasksDataBindings IdField="gantttaskid" ParentIdField="parent_gantttaskid" StartField="start_datetime" EndField="end_datetime" OrderIdField="orderid" TitleField="title" PercentCompleteField="percentcomplete" SummaryField="summary" /> <DependenciesDataBindings TypeField="type" IdField="ganttdependencyid" PredecessorIdField="predecessorid" SuccessorIdField="successorid" /> <ResourcesDataBindings IdField="ganttresourceid" TextField="resourecode" ColorField="color" /> <AssignmentsDataBindings IdField="ganttresourceassignmentid" ResourceIdField="resourceid" TaskIdField="taskid" UnitsField="units" /> </DataBindings> </telerik:RadGantt> </div> <div> <asp:SqlDataSource ID="TasksDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:DefaultConnection %>" DeleteCommand="DELETE FROM moditi.gantttask WHERE [gantttaskid] = @gantttaskid" InsertCommand="INSERT INTO moditi.gantttask (parent_gantttaskid, orderid, title, start_datetime, end_datetime, percentcomplete, expanded, summary) VALUES (@parent_gantttaskid, @orderid, @title, @start_datetime, @end_datetime, @percentcomplete, @expanded, @summary)" SelectCommand="SELECT * FROM moditi.gantttask" UpdateCommand="UPDATE moditi.gantttask SET parent_gantttaskid = @parent_gantttaskid, orderid = @orderid, title = @title, start_datetime = @start_datetime, end_datetime = @end_datetime, percentcomplete = @percentcomplete, expanded = @expanded, summary = @summary WHERE gantttaskid = @gantttaskid"> <DeleteParameters> <asp:Parameter Name="gantttaskid" Type="Int64" /> </DeleteParameters> <InsertParameters> <asp:Parameter Name="parent_gantttaskid" Type="Int64" /> <asp:Parameter Name="orderid" Type="Int64" /> <asp:Parameter Name="title" Type="String" /> <asp:Parameter Name="start_datetime" Type="DateTime" /> <asp:Parameter Name="end_datetime" Type="DateTime" /> <asp:Parameter Name="percentcomplete" Type="Decimal" /> <asp:Parameter Name="expanded" Type="Boolean" /> <asp:Parameter Name="summary" Type="Boolean" /> </InsertParameters> <UpdateParameters> <asp:Parameter Name="parent_gantttaskid" Type="Int64" /> <asp:Parameter Name="orderid" Type="Int64" /> <asp:Parameter Name="title" Type="String" /> <asp:Parameter Name="start_datetime" Type="DateTime" /> <asp:Parameter Name="end_datetime" Type="DateTime" /> <asp:Parameter Name="percentcomplete" Type="Decimal" /> <asp:Parameter Name="expanded" Type="Boolean" /> <asp:Parameter Name="summary" Type="Boolean" /> <asp:Parameter Name="gantttaskid" Type="Int64" /> </UpdateParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="DependenciesDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:DefaultConnection %>" SelectCommand="SELECT * FROM moditi.ganttdependency" InsertCommand="INSERT INTO moditi.ganttdependency ([predecessorid], [successorid], [type]) VALUES (@predecessorid, @successorid, @type)" UpdateCommand="UPDATE moditi.ganttdependency SET [predecessorid] = @predecessorid, [successorid] = @successorid, [type] = @type WHERE [ganttdependencyid] = @ganttdependencyid" DeleteCommand="DELETE FROM moditi.ganttdependency WHERE [ganttdependencyid] = @ganttdependencyid" > <DeleteParameters> <asp:Parameter Name="ganttdependencyid" Type="Int64" /> </DeleteParameters> <InsertParameters> <asp:Parameter Name="predecessorid" Type="Int64" /> <asp:Parameter Name="successorid" Type="Int64" /> <asp:Parameter Name="type" Type="Int64" /> </InsertParameters> <UpdateParameters> <asp:Parameter Name="predecessorid" Type="Int64" /> <asp:Parameter Name="successorid" Type="Int64" /> <asp:Parameter Name="type" Type="Int64" /> <asp:Parameter Name="ganttdependencyid" Type="Int64" /> </UpdateParameters> </asp:SqlDataSource> <asp:SqlDataSource runat="server" ID="ResourcesDataSource" ConnectionString="<%$ ConnectionStrings:DefaultConnection %>" SelectCommand="SELECT * FROM moditi.ganttresource" DeleteCommand="DELETE FROM moditi.ganttresource WHERE [ganttresourceid] = @ganttresourceid" > <DeleteParameters> <asp:Parameter Name="ganttresourceid" Type="Int64" /> </DeleteParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="AssignmentsDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:DefaultConnection %>" SelectCommand="SELECT * FROM moditi.ganttresourceassignment" DeleteCommand="DELETE FROM moditi.ganttresourceassignment WHERE [ganttresourceassignmentid] = @ganttresourceassignmentid" InsertCommand="INSERT INTO moditi.ganttresourceassignment (taskid, resourceid, units) VALUES (@taskid, @resourceid, @units)" UpdateCommand="UPDATE moditi.ganttresourceassignment SET taskid = @taskid, resourceid = @resourceid, units = @units WHERE ganttresourceassignmentid = @ganttresourceassignmentid"> <DeleteParameters> <asp:Parameter Name="ganttresourceassignmentid" Type="Int64" /> </DeleteParameters> <InsertParameters> <asp:Parameter Name="taskid" Type="Int64" /> <asp:Parameter Name="resourceid" Type="Int64" /> <asp:Parameter Name="units" Type="Decimal" /> </InsertParameters> <UpdateParameters> <asp:Parameter Name="ganttresourceassignmentid" Type="Int64" /> <asp:Parameter Name="taskid" Type="Int64" /> <asp:Parameter Name="resourceid" Type="Int64" /> <asp:Parameter Name="units" Type="Decimal" /> </UpdateParameters> </asp:SqlDataSource> </div>
</asp:Content>
I have an auto-generated grid from a datatable. I need to find the index of 2 columns and then traverse the columns (i.e. col 4-6) and then grab the data from each cell and make it bold based on a condition.
1 -How can I get the indexes of these if I know the header name?
2 - how do I traverse the columns and grab it's data?
Thanks in advance!