Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
Hello,

I just discovered that when zoom is activated, I am loosing tooltips on chart areas whatever is the chart type, is it normal ?
Is there a way to keep tooltips with zoom enabled ?

Thanks

CS
Vladimir Milev
Telerik team
 answered on 09 Sep 2009
1 answer
102 views
Hi,

My initial requirement goes like this:
    1. I want to create a customized horizontal slider of height 30px.
    2. Want to create this as a server control
    3. Need to display a text in the Selected Region
   
I have created the above slider using customized skin with height 30px and its working fine.
But if i try to create it as a custom control, i face the following issue:
  The DragHandle is displayed as link with text "Drag", and is displayed below the track. (This works fine if i try without using a server control.). Need some help in this regard.

And how can i display some text in the SelectedRegion?

Code Snippet - Custom Control:
using System; 
using System.ComponentModel; 
using System.Globalization; 
using System.IO; 
using System.Web; 
using System.Web.UI; 
using Telerik.Web.UI; 
 
namespace MyCustomSlider 
{ 
    [ToolboxData("<{0}:WebPlatformSlider runat=server></{0}:WebPlatformSlider>")] 
    public class CustomSlider : RadSlider 
    { 
 
        protected override void OnPreRender(EventArgs e) 
        { 
            base.OnPreRender(e); 
        } 
 
        protected override string CssClassFormatString 
        { 
            get 
            { 
                return "RadSlider RadSlider_{0}"; 
            } 
        } 
 
        [Browsable(false)] 
        public override bool EnableEmbeddedSkins 
        { 
            get 
            { 
                return false; 
            } 
        } 
 
        [Browsable(false)] 
        public override bool EnableEmbeddedBaseStylesheet 
        { 
            get 
            { 
                return false; 
            } 
        } 
 
        [Browsable(true)] 
        public override string Skin 
        { 
            get 
            { 
                return "Default"; 
            } 
        } 
 
        [Browsable(false)] 
        public new bool Modal 
        { 
            get 
            { 
                return true; 
            } 
        } 
 
    } 
} 
 

Code Snippet - .aspx page

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Sample.aspx.cs" Inherits="Telerik_SampleSlider.SampleSlider" Theme="Default" %> 
<%@ Register TagPrefix="tel" Namespace="MyCustomSlider" Assembly="MyCustomSlider" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
 
<!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></title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> 
    <div> 
    <br /> 
    <br /> 
   <tel:CustomSlider ID="RadSlider1" runat="server" ShowDecreaseHandle="false" ShowIncreaseHandle="false"> 
   </tel:CustomSlider> 
       </div> 
    </form> 
</body> 
</html> 
 



Slider.Default.css

.RadSlider_Default div.rslHorizontal 
{ 
    height:21px; 
} 
 
.RadSlider_Default div.rslHorizontal a.rslHandle 
{ 
    width:27px;  
    height:21px; 
    line-height:21px; 
} 
 
.RadSlider_Default div.rslHorizontal a.rslDraghandle 
{ 
    width:23px;  
    height:30px; 
    line-height:30px; 
    margin-top:-1px; 
    background-image:url('Slider/dragHandle.JPG'); 
    background-position:0 1px; 
} 
 
.RadSlider_Default div.rslHorizontal a.rslDraghandle:hover, 
.RadSlider_Default div.rslHorizontal a.rslDraghandle:focus, 
.RadSlider_Default div.rslHorizontal a.rslDraghandle:active 
{ 
    background-position:0 1px; 
} 
     
.RadSlider_Default div.rslHorizontal div.rslTrack 
{ 
    left: 27px; 
    top: 0; 
    height: 19px; 
    line-height: 19px; 
    margin-top: 0px; 
    background-color: #FFFFFF; 
    border-top: solid 1px #2c7b90; 
    border-bottom: solid 1px #024e6e; 
} 
 
.RadSlider_Default div.rslHorizontal div.rslSelectedregion 
{ 
    height: 19px; 
    line-height: 19px; 
    background-color: #CEEBFF; 
} 

Regards,
Rajiv
Tsvetie
Telerik team
 answered on 09 Sep 2009
3 answers
76 views
I have added a RadTreeView to my web form.

Nothing client side seems to be working.

This includes expand/collapse, hover, selecting, editing, etc.

I am using verison 2009.2.701.35
Paul Knopf
Top achievements
Rank 1
 answered on 09 Sep 2009
3 answers
214 views
I have some sample code:
<telerik:RadListBox ID="RadListBox1" runat="server" AllowTransfer="True" TransferToID="RadListBox2">  
    <Items> 
        <telerik:RadListBoxItem Text="Item 1" /> 
        <telerik:RadListBoxItem Text="Item 2" /> 
        <telerik:RadListBoxItem Text="Item 3" /> 
        <telerik:RadListBoxItem Text="Item 4" /> 
        <telerik:RadListBoxItem Text="Item 5" /> 
   </Items> 
</telerik:RadListBox> 
<telerik:RadListBox ID="RadListBox2" runat="server">  
    <Items> 
        <telerik:RadListBoxItem Text="Disabled Item" Enabled="false" /> 
   </Items> 
</telerik:RadListBox> 
 
When it first loads I can't select the disabled item to transfer.
I transfer an item from RadListBox1 to RadListBox2 then use transfer arrows to move that item back.
The disabled item is now selected and I can use arrows to move the disabled item to RadListBox1..... if that makes sense.
Genady Sergeev
Telerik team
 answered on 09 Sep 2009
3 answers
191 views
I have a grid setup for inline editing. When I click the edit button, all field displayed in the grid go to edit mode. I need to be able to disable editing on certain column. For example, I have a shipping form that has a Tracking Number column. When they click the edit button, all columns go int edit mode. I would like it if only the Tracking Number column allows input of a value. 
Princy
Top achievements
Rank 2
 answered on 09 Sep 2009
2 answers
220 views
Hi,

I have a page with a RadTreeView. Double-clicking an item on the tree opens the item in a RadWindow, using entirely client-side javascript.

When the RadWindow is closed by clicking the 'X', I use a client-side OnRadWindowClose event to pass the NavigateURL of the closed RadWindow to the server via ajaxRequest.

        function OnRadWindowClose(radWindow)  
        {  
            if (NoOfWindowsOpen > 1){  
                NoOfWindowsOpen -= 1;  
            }  
            else {  
                NoOfWindowsOpen = 0;  
            }  
            RaiseServerSideAjaxRequest('closewindow', radWindow.GetUrl());   
        }  
 
        function RaiseServerSideAjaxRequest(event, argument)  
        {  
 
            var tempAjaxManager = $find("<%=RadAjaxManager1.ClientID%>");  
            if (tempAjaxManager)  
            {  
                ajaxManager = tempAjaxManager;  
            }  
            ajaxManager.ajaxRequest(event + ',' + argument);   
        }  
 


The problem is that my RadTreeView can be extremely large and the AjaxRequest causes the entire ViewState to be posted back to the server. I see this using HttpWatch.

This causes a very long delay when closing the RadWindow. I do not need to update any client-side controls when the RadWindow is closed. I simply want to record in the database that it was closed.

Is there a way to use RadAjaxManager to send the AjaxRequest without causing the ViewState to be posted back?
Andy
Top achievements
Rank 1
 answered on 09 Sep 2009
2 answers
52 views
I use Radcombobox in Radwindow with IE8, when I show Popup(using RadWindows) with contains RadCombobox. When i move mouse to RadCombobox and I can see the link in Parent Page like transparent.
How i can solve this problem .Please help me as impossible as.
Bruce Lam
Top achievements
Rank 1
 answered on 09 Sep 2009
1 answer
85 views
Hi,
is it possible to use the "office 2007" design for the radpanelbar from the q2 2008 release?
We used the panelbar in a website project as menu.
The new design is complete different and now the page doent looks good.

thank, kind regards
henning
Kamen Bundev
Telerik team
 answered on 09 Sep 2009
5 answers
195 views
I'm using RAD Upload to upload a single file. I've set the initial and max files to 1. When it renders I see a little black square (bullet?) to the left of the input textbox. Is there a way to get rid of this?
Kamen Bundev
Telerik team
 answered on 09 Sep 2009
1 answer
136 views
hi
i am using RadPanelbar (2009.2 sp1)
but when i place the control on the page , all radpanel fonts are bold by default and cannot change it to normal weight.
help plz

tnx

Princy
Top achievements
Rank 2
 answered on 09 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?