<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestCntxMenu2.aspx.cs" Inherits="CMSNewTests.TestCntxMenu2" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title></head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadMenu RenderMode="Lightweight" ID="RadMenu1" runat="server" ShowToggleHandle="true" Skin="Bootstrap" IconColumnWidth="20"> <Items> <telerik:RadMenuItem Text="Products"> <Items> <telerik:RadMenuItem Text="Chairs" ></telerik:RadMenuItem> <telerik:RadMenuItem Text="Sofas" ></telerik:RadMenuItem> <telerik:RadMenuItem Text="Tables" ></telerik:RadMenuItem> </Items> </telerik:RadMenuItem> </Items> </telerik:RadMenu> </div> </form></body></html><%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestCntxMenu2.aspx.cs" Inherits="CMSNewTests.TestCntxMenu2" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title></head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadMenu RenderMode="Lightweight" ID="RadMenu1" runat="server" ShowToggleHandle="true" Skin="Bootstrap" IconColumnWidth="20"> <Items> <telerik:RadMenuItem Text="Products"> <Items> <telerik:RadMenuItem Text="Chairs" ></telerik:RadMenuItem> <telerik:RadMenuItem Text="Sofas" ></telerik:RadMenuItem> <telerik:RadMenuItem Text="Tables" ></telerik:RadMenuItem> </Items> </telerik:RadMenuItem> </Items> </telerik:RadMenu> <telerik:RadContextMenu runat="server" ID="RadContextMenu1" > <Items> <telerik:RadMenuItem Text="Add research field" Value="Add" /> </Items> </telerik:RadContextMenu> </div> </form></body></html>How can I achieve the style & appearance of the first image when using both controls on the same page? Why is the style & appearance changing at all when inserting the context menu?
Thanks for your answer and help,
Harald
I have an asp label inside a footer template as follows:
<telerik:RadGrid RenderMode="Lightweight" runat="server" ID="RadGrid1" ShowFooter="true"> <MasterTableView AutoGenerateColumns="false" TableLayout="Fixed"> <Columns> <telerik:GridTemplateColumn DataType="System.Int32" SortExpression="PortalLoadSeconds" HeaderButtonType="TextButton" HeaderStyle-Width="14%" HeaderText="Portal Load Seconds" AutoPostBackOnFilter="true"> <ItemTemplate> <%#String.Format("{0}", Eval("PortalLoadSeconds")) %> </ItemTemplate> <FooterTemplate> <asp:Label ID="lbl_TotalSeconds" runat="server"></asp:Label> </FooterTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView></telerik:RadGrid>
How do I access the "lbl_TotalSeconds" label in a vb sub to change its text
Hi,
I would like to support English and Arabic same time. For example, when the user enter English and Arabic text i want to get same html in javascript but the radeditor content doesn't same with the html text in javascript its like vice versa. I added screenshots about my issue.
Thank you for your quick reply.



Hello
I'm trying to bind a List view to a JSON object, simplified to:
{ "Data":[ { "<ClaimItemID>k__BackingField":256, "<MasterClaim>k__BackingField":{ "<PoliceStation>k__BackingField":"Bobville", }, "<AdditionalDetails>k__BackingField":"", "<ItemDescription>k__BackingField":"Lilly ", } ], "Count":1}<div>#= ClaimItemID #</div>
is working as expected
but
<div>#= MasterClaim.PoliceStation #</div>
is throwing this error
Error rendering ItemTemplate in lstClaims: MasterClaim is not defined
what am i doing wrong?
Hello,
I'm trying to figure out how to set the "SpecialDays", "RecurringEvents", and "ItemStyle-BackColor" of the rendered RadDatePicker for the RadDateTimeColumn in my RadGrid during edit mode. I want the user to see today's date highlighted when they click on the DatePicker. It's easy to do this in a regular RadDatePicker control, but I don't know how to do this in a RadGrid. Any help is appreciated.
Thanks,
Shawn A.

I have a Parent Child Radgrid set up and need to store the page index to handle the actions of a returning to the page after a redirect.
I am trying this code in the Item Command area:
if (e.CommandName == RadGrid.PageCommandName) { GridPagerItem item = e.Item as GridPagerItem; GridTableView view = item.Parent.Parent.NamingContainer as GridTableView; if (view.Name == "child") { string message = string.Format("Details table page index changed, current page index : {0}", view.CurrentPageIndex.ToString()); RadAjaxManager1.Alert(message); } else { string message1 = string.Format("Parent RadGrid page index changed, current page index : {0}", RadGrid1.MasterTableView.CurrentPageIndex.ToString()); RadAjaxManager1.Alert(message1); } //************ }Every time I change my page the results remain at page index = 0. How can I get this to store the correct page index?
I'm looking into replacing our current HTML editor with the Telerik version and the track changes and comments caught my eye. But we have different user roles, where State users can enter text, images etc in the editor. We have another group that can read the text but can not make any changes at all. is it possible for the read-only user be able to see the tracked changes (before being accepted) and the entered comments and still not be able to make any changes?
thanks