Is there a way to access/set the oncheckchanged event in an autogenerated checkbox column and have it post back?
I have the following RadProgressArea declaration:
<telerik:RadProgressArea ID="rpaProcessFile"
runat="server"
Width="100%"
Skin="Office2010Blue"
displaycancelbutton="False"
progressindicators="FilesCountBar, FilesCount, FilesCountPercent, CurrentFileName, SelectedFilesCount "
/>
In codebehind, I am trying to set the SecondaryTotals label using:
rpaProcessFile.Localization.TotalFiles = "Total Approved Bonuses:"
However, as you can see in the attached screenshot, it is still showing the default "Total Files:"

| <telerik:RadComboBox ID="RadComboBox1" runat="server" DataTextField="Name" DataValueField="ActTypeNo" |
| OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" > |
| <ItemTemplate> |
| <table> |
| <tr> |
| <td style="width: 200px;"> |
| <asp:Label ID="ChaufName" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Name")%>'></asp:Label> |
| </td> |
| <td style="display:none;"> |
| <asp:Label ID="ChaufGr1" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Gr1")%>'></asp:Label> |
| </td> |
| <td style="display:none;"> |
| <asp:Label ID="ChaufGr2" runat="server" EnableViewState="false" Text='<%#DataBinder.Eval(Container.DataItem, "Gr2")%>'></asp:Label> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
| function OnClientSelectedIndexChanged(sender, args) { |
| //get values |
| //set selected value of other combos - i know how to do this |
| } |
I want to know how to add custom css class into server side control. Let's say I want to create a navigation like stackoverflow. For this I am using Telerik's radmenu control. Now here is the problem
Please find attached file 1.png
As in RadMenu I cannot specify class -list or -item.<telerik:RadMenu runat="server" ID="rm_menu_e2c" CssClass="HowToAddHere"></telerik:RadMenu>Does somebody know how to change RadTabStrip's RadTab hover color?
I use the method as below, but do not work.
<style type="text/css">
.selectedTab {
background-position: 0 -26px;
font-weight: bold;
font-size: 13px;
color: lightgreen;
text-emphasis-color: lightgreen;
}
.hoveredTab {
background-position: 0 -26px;
font-weight: bold;
font-size: 13px;
color: Highlight;
text-emphasis-color: Highlight;
}
</style>
<telerik:RadTabStrip RenderMode="Lightweight" runat="server" ID="RadTabStripMenu" MultiPageID="RadMultiPageMenu" SelectedIndex="0" OnTabClick="RadTabStripMenu_TabClick">
<Tabs>
<telerik:RadTab Font-Size="Medium" CssClass="TabItem" SelectedCssClass="selectedTab" HoveredCssClass="hoveredTab" Text="AAA"></telerik:RadTab>
<telerik:RadTab Font-Size="Medium" CssClass="TabItem" SelectedCssClass="selectedTab" HoveredCssClass="hoveredTab" Text="BBB"></telerik:RadTab>
<telerik:RadTab Font-Size="Medium" CssClass="TabItem" SelectedCssClass="selectedTab"
</Tabs>
</telerik:RadTabStrip>
Hello,
I'm attempting to use a RadDatePicker to feed into a query using a ControlParameter linked to it. The very of adding it in causes the grid to not render even if I don't use the parameter in the query itself. If add a default value to the RadDatePicker it seems to work fine so something is going on when it is trying to pass the default value (i assume null) and map it to the parameter.
Example code:
<telerik:RadDatePicker ID="Record_Date" MinDate="1900-01-01" runat="server" CssClass="birtForm" AutoPostBack="True" Width="200px" DataTextField="Record_Date" DataValueField="Record_Date"></telerik:RadDatePicker>
<asp:ControlParameter Name="Record_Date" PropertyName="SelectedDate" ControlID="Record_Date"></asp:ControlParameter>
Is there a solution to this?
Thanks

Hi,
I am using RadTreeList and have data source with hierarchical data.
Data binding is done in NeedDataSource event handler.
Code example:
<telerik:RadTreeList RenderMode="Lightweight" ID="TreeListTrendsList" runat="server"
ParentDataKeyNames="DIM_LIST_ID_PARENT" DataKeyNames="DIM_LIST_ID" AllowPaging="true"
AutoGenerateColumns="false" AllowSorting="true" ExpandCollapseMode="Client" PageSize="150"
OnItemDataBound="TreeListTrendsList_ItemDataBound" OnNeedDataSource="TreeListTrendsList_NeedDataSource">
So, the DataKeyNames=DIM_LIST_ID and ParentDataKeyNames=DIM_LIST_ID_PARENT. Data source has ~100 records with DIM_LIST_ID_PARENT=0 and I expected to see them as top level nodes, but for some reason I see only single parent node (with DIM_LIST_ID_PARENT=0, DIM_LIST_ID=1).
Could somebody please suggest how to achieve the required behavior?
Hi
im using a RadComboBox with ItemTemplate like below:
<telerik:RadComboBox ID="RadComboBoxPart" runat="server" Width="251px"
DropDownWidth="540" DataSourceID="sqlParts" EmptyMessage="Choose Your Part ..." HighlightTemplatedItems="true"
MarkFirstMatch="true" EnableLoadOnDemand="true" Filter="Contains"
AutoCompleteSeparator="|"
Culture="fa-IR" LoadingMessage="Please Wait!" RenderMode="Mobile"
Sort="Ascending" OnItemDataBound="RadVehicle_ItemDataBound" OnItemsRequested="Radpart_ItemsRequested">
<HeaderTemplate>
<table style="width: 360px;">
<tr>
<td style="width: 280px;">PartName </td>
<td style="width: 80px;">PartCode </td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width:360px">
<tr>
<td style="width: 280px;">
<asp:Label ID="Label10" runat="server" Text='<%# Bind("PartName") %>'></asp:Label>
</td>
<td style="width: 80px;">
<asp:Label ID="Label11" runat="server" Text='<%# Bind("PartCode") %>'></asp:Label>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
and for DataSource i'v got this:
<asp:SqlDataSource ID="sqlParts" runat="server"
ConnectionString="<%$ ConnectionStrings:Gsgdb_tempConnectionString %>"
SelectCommand="select * from dbo.ActiveParts ></asp:SqlDataSource>
and in Code Behind for ItemDataBound Event i'v got this:
protected void RadComboBoxPart_ItemDataBound(object sender, Telerik.Web.UI.RadComboBoxItemEventArgs e)
{
e.Item.Text = ((DataRowView)e.Item.DataItem)["PartName"].ToString();
e.Item.Value = ((DataRowView)e.Item.DataItem)["ID"].ToString();
}
its work fine for me !
but it's taking too long to load in clintside
what am i doing wrong? any help would be appreciated.
I have a grid with Column Groups. The columns within each group have the same name (HeaderText)
something like :
Contract Non-Contract
Total Pending Total Pending
My problem comes when I display the Context Menu.
The list :
Total
Pending
Total
Pending
What I can't figure out is how to identify each so I can modify what is displayed.
In the ContextMenu_ItemCreated event, I can determine that I have "Pending" for example, but not which one.
Is there any way to determine the ColumnGroupName name at that point? Ideally I would use that.

Good Day,
I am trying to implement custom filtering on a Radgrid bound to an SQLDataSource with LINQExpressions disabled, however, I cannot seem to get it working on a particular column.
Now, the column in question has "Display='False'" as it's a foreign key column pointing to another table. I've then got another column that's binding to another SQLDataSource to get the actual data. As far as I can tell, this is the approved method of joining multiple tables into one RadGrid...
The problem is that the filterExpression then seems to not be able to see the hidden column. I've also tried filtering on the visible column using both the foreign key and the relevant column from the second table. Neither seems to work. How can I perform filtering on a foreign key column while showing a more pertinent column from the second table?
Also, I'm storing the selected filter variables in the ViewState. Pertinent code below;
1.<telerik:GridBoundColumn DataField="fk1_dID" DataType="System.Int32" FilterControlAltText="Filter fk1_dID column" HeaderText="Depot" SortExpression="fk1_dID" UniqueName="fk1_dIDo" Display="False" ReadOnly="true" InsertVisiblityMode="AlwaysHidden">2.</telerik:GridBoundColumn>3.<telerik:GridDropDownColumn FilterControlAltText="Filter column column" HeaderText="Depot" SortExpression="fk1_dID" UniqueName="fk1_dID" DataField="fk1_dID" DataSourceID="sqlDepot" ListTextField="dCode" ListValueField="dID">4. <FilterTemplate>5. <telerik:RadDropDownList ID="filterDepot" runat="server" DataSourceID="sqlDepot" DataValueField="dID" DataTextField="dCode" OnSelectedIndexChanged="filterDepot_SelectedIndexChanged" AutoPostBack="true" AppendDataBoundItems="true"><Items><telerik:DropDownListItem Value="0" Text="All" /></Items></telerik:RadDropDownList>6. </FilterTemplate>7.</telerik:GridDropDownColumn>01.private string dateFilter() {02. int y = int.Parse(vsYear);03. int m = int.Parse(vsMonth);04. return ( y != 1990 ? ( m == 0 ? $"([iDate] >= '{y}-01-01' AND [iDate] <= '{y}-12-31')" : $"([iDate] >= '{y}-{string.Format("{0:0#}", m)}-01' AND [iDate] <= '{y}-{string.Format("{0:0#}", m)}-{DateTime.DaysInMonth(y, m)}')" ) : "" );05.}06.private string depotFilter() {07. return ( vsDepot != "00" ? $"{( vsYear != "1990" ? " AND " : "" )}([fk1_dID] = {vsDepot})" : "" );08.}09.private string FilterBuilder() {10. dAuth.InnerText = $"{dateFilter()}{depotFilter()}";11. return $"{dateFilter()}{depotFilter()}";12.}13.protected void filterDepot_SelectedIndexChanged( object sender, DropDownListEventArgs e ) {14. vsDepot = e.Text;15. rglog.MasterTableView.FilterExpression = $"{FilterBuilder()})";16. rglog.MasterTableView.Rebind();17.}