or

| .RadSlider_Default2_Selected .horizontal .track |
| { |
| margin-top:6px; |
| height:3px; |
| background:#fff; |
| border-top:solid 1px #383838; |
| border-bottom:solid 1px #383838; |
| } |
| .RadSlider_Default2_Selected .horizontal .track |
| { |
| margin-top:6px; |
| height:3px; |
| background:red; |
| border-top:solid 1px #383838; |
| border-bottom:solid 1px #383838; |
| } |
| $("#RadSlider1").removeClass("radslider RadSlider_Default2 horizontal "); |
| $("#RadSlider1").addClass("radslider RadSlider_Default2_Selected horizontal "); |
IsSelectionRangeEnabled=true and false.
The sequence is as follows...
If I start with IsSelectionRangeEnabled=false and then in code behind set it to true two things happen
1. The SelectionStart property gets set to the Value property regardless of what it is set to in the code and
2. The ValueChanged event for the left SelectionStart handle is dissabled. The right handle (SelectionEnd) still works fine.
Any advice would be appreciated.
Thanks
Steve
| <?xml version="1.0" encoding="utf-8" ?> |
| <Menu dir="rtl"> |
| <Group> |
| <Item Text="קובץ" Key="ק"> |
| <Group> |
| <Item Text="חדש" LeftLogo="Images\new.gif"/> |
| <Item Text="פתיחה" LeftLogo="Images\open.gif" > |
| <Group Width="140" Flow="Vertical"> |
| <Item Text="פרוייקט 1" /> |
| <Item Text="פרוייקט 2" /> |
| <Item Text="פרוייקט 3" /> |
| <Item Text="פרוייקט 4" /> |
| </Group> |
| </Item> |
| </Group> |
| </Item> |
| <Item Text="עריכה" AccessKey="ע" > |
| <Group Flow="Vertical"> |
| <Item Text="בטל" /> |
| <Item Text="בצע שוב" Enabled="False" /> |
| <Item Text="גזור" LeftLogo="Images\cut.gif" /> |
| <Item Text="העתק" LeftLogo="Images\copy.gif" /> |
| <Item Text="הדבק" /> |
| </Group> |
| </Item> |
| <Item Text="תצוגה" AccessKey="ת" > |
| <Group Flow="Vertical"> |
| <Item Text="דוגמה 1" /> |
| </Group> |
| </Item> |
| <Item Text="עזרה" Key="ז" > |
| <Group Flow="Vertical" OffsetX="-26"> |
| <Item Text="אינדקס" LeftLogo="Images\help.gif" /> |
| <Item Text="חיפוש" Href="http://www.google.com"/> |
| <Item Text="פתיחת דך הבית" Href="http://www.telerik.com"/> |
| </Group> |
| </Item> |
| </Group> |
| </Menu> |
| using System; |
| using System.Web; |
| using System.Web.UI; |
| using System.Web.UI.WebControls; |
| using Telerik.Web.UI; |
| public partial class _Default : System.Web.UI.Page |
| { |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| RadMenu1.LoadContentFile("~/DataItems2.xml"); |
| } |
| } |
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title>Untitled Page</title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <h1 style="text-align: center"> |
| Menu Example</h1> |
| </div> |
| <div> |
| <asp:ScriptManager ID="ScriptManager1" runat="server"> |
| </asp:ScriptManager> |
| <telerik:RadMenu ID="RadMenu1" runat="server" width="80%" style="left: 2px"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </telerik:RadMenu> |
| </div> |
| </form> |
| </body> |
| </html> |
Any suggestions will be welcome...
Thanks.