Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
167 views
Hi,
Could anyone please tell if it is possible to set the LoadingStatusPosition of a RadTreeView from client-side (using javascript)?

We want to keep the LoadingStatusPosition as 'BeforeNodeText' but in one case, we do not want it to show the loading on node expand and we want to achieve this on ClientContextMenuItemClicked (i.e. expand a node on OnClientContextMenuItemClicked with LoadingStatusPosition as none) .

Thanks & Regards,
Puneet
Dimitar Terziev
Telerik team
 answered on 03 Jan 2012
2 answers
118 views
Hello,

I am trying to implement the solution found on the following page:

http://www.telerik.com/support/kb/aspnet-ajax/menu/how-to-stretch-the-menu-items-to-fill-the-entire-width-of-the-menu.aspx

However, I am having problems accessing the RadMenu control client side using the following line

var menu = $find("<%= RadMenu1.ClientID %>");

Please can someone let me know why I struggle to access Telerik controls using this type of javascript command?

Also, does the code in the article above still in work in Q2 2011?

Full code for my solution is below:

<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title></title>
</head>
<body onload="pageLoad()">
 
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        EnableTheming="True">
    </telerik:RadScriptManager>
 
    <telerik:RadMenu ID="RadMenu1" runat="server">
    </telerik:RadMenu>
 
    </form>
 
</body>
<script type="text/javascript">
    function pageLoad() {
        var menu = $find("<%= RadMenu1.ClientID %>");
    }
</script>
</html>

Thanks,

Ken
Ken Jones
Top achievements
Rank 1
 answered on 03 Jan 2012
2 answers
249 views
Hi 

i am using a multi column radcombo box.Html table is using in side Header Template and Item template.I want to give alternate row color for each rows in radcombo box.Please help.
This is my code

  <telerik:RadComboBox ID="rcbsList" EmptyMessage="List of addresses" runat="server"
                                Width="775px" CssClass="txtbox" Height="500px" HighlightTemplatedItems="True"
                                EnableLoadOnDemand="true" Skin="Office2007"  OnItemDataBound="rcbAddressList_ItemDataBound"
                                OnClientSelectedIndexChanged="onClientSelectedIndexChanged">
                                
                                <HeaderTemplate>
                                    <table style="width: 770px" cellspacing="0" cellpadding="0" border="0">
                                        <tr>
                                            <td style="width: 160px;">
                                                name
                                            </td>
                                            <td style="width: 100px;">
                                                address
                                            </td>
                                            <td style="width: 100px;">
                                            </td>
                                            <td style="width: 100px;">
                                            </td>
                                            <td style="width: 100px;">
                                                Town
                                            </td>
                                            <td style="width: 100px;">
                                                code
                                            </td>
                                            <td style="width: 100px;">
                                                Country
                                            </td>
                                        </tr>
                                    </table>
                                </HeaderTemplate>
                                <ExpandAnimation Duration="0" />
                                <ItemTemplate>
                                    <table id="tblRadCombo" style="width: 770px; height: 15px;" cellspacing="5" cellpadding="0"
                                        border="0">
                                        <tr>
                                            <td style="width: 160px;">
                                                <%# DataBinder.Eval(Container.DataItem, "Name")%>
                                            </td>
                                            <td style="width: 100px;">
                                                <%# DataBinder.Eval(Container.DataItem, "Address1")%>
                                            </td>
                                            <td style="width: 100px;">
                                                <%# DataBinder.Eval(Container.DataItem, "Address2")%>
                                            </td>
                                            <td style="width: 100px;">
                                                <%# DataBinder.Eval(Container.DataItem, "Address3")%>
                                            </td>
                                            <td style="width: 100px;">
                                                <%# DataBinder.Eval(Container.DataItem, "Code")%>
                                            </td>
                                            <td style="width: 100px;">
                                                <%# DataBinder.Eval(Container.DataItem, "Country")%>
                                            </td>
                                       
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>


Thanks
Tiju
Tiju
Top achievements
Rank 1
 answered on 03 Jan 2012
3 answers
91 views
Hello,

I'd really like to change the image used while dragging a collapsed dock around.
I found the rdDragHelper selector in the help files..but nothing I've tried seems to change what/how the image behind the cursor is while dragging.

.rdDragHelper

{

opacity: .1 !important;

filter:alpha(opacity=10) !important; /* For IE8 and earlier */

}

Am I missing a selector..is this not configurable?

Thanks for your input.

Dan

Slav
Telerik team
 answered on 03 Jan 2012
7 answers
289 views
Hello

I've run into a strange issue with the RadAjaxLoadingPanel, whereby the panel appears correctly, but not the default loading icon.

I have basically created a version of the Wizard example in the Telerik demos:

http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/wizard/defaultcs.aspx

This issue also appears in this demo - whenever you are moving between the steps of the wizard, the loading panel does appear (the interface becomes faint), but no loading image.

Is this to do with that fact that the user controls are dynamically loaded, and/or the fact that IsSticky is set to true?

If I specify my own loading image, it does appear, though not in the centre of the loading panel where I would like it to be.

For the rest of my web app (not part of the wizard) I use the default loading image which works perfectly, so I was hoping to use the same for the wizard for consistency.

Any help would be greatly appreciated!

Alvin

Maria Ilieva
Telerik team
 answered on 03 Jan 2012
1 answer
108 views
Concerned,

By any chance, has anyone tried to upload a folder using upload control?

I'm sure that it would work with multiple selected files. But will this work when I select a folder?

I just came across of this link, that states this kind of feature is already in your TODO list of 2009, as we are currently in 2012, can i hope that it is already implemented?

Thanks for reading.
Kate
Telerik team
 answered on 03 Jan 2012
6 answers
82 views
Hi all 

I have a button in the form and when user click on the open button a new rad window open,after that user click on the close button on the top . after that the  form was closed after that when user click on  the open button again the two new rad window open after that if user select the another time then number of time the rad window open  again so please help me to short out this problem.
Sushobhit
Top achievements
Rank 2
 answered on 03 Jan 2012
1 answer
100 views
Hello Telerik

Editor control is distorted in my web site. Please refer to 'editor_ie9.jpg'
It's occurencing only IE (version 9). Chrome, safari, firefox is okay.
What is the problem?

Hee
Rumen
Telerik team
 answered on 03 Jan 2012
1 answer
138 views
Hi, I have a simple chart using a SqlDataSource and I'm having troublwe getting the look I want. If I set the Plot Area Layout Mode to Between, all six bars are in the very middle of the chart. I want them to start from the far left so I change the Layout mode to Normal and then I only see three of the six bars. I have attached screen shots of both settings and the code below. Thanks for any help.
<telerik:RadChart ID="RadChart1" runat="server" DataSourceID="sdsRwpJobMetric"
        Skin="DeepBlue" Width="500px">
        <Appearance BarWidthPercent="50" Dimensions-AutoSize="False"
            Dimensions-Height="300px" Dimensions-Margins="1px, 1px, 1px, 50px"
            Dimensions-Width="500px">
            <FillStyle FillType="ComplexGradient">
                <FillSettings>
                    <ComplexGradient>
                        <telerik:GradientElement Color="26, 120, 179" />
                        <telerik:GradientElement Color="35, 189, 254" Position="0.5" />
                        <telerik:GradientElement Color="26, 120, 179" Position="1" />
                    </ComplexGradient>
                </FillSettings>
            </FillStyle>
            <Border Color="0, 66, 110" Width="5" />
        </Appearance>
        <Series>
<telerik:ChartSeries Name="GovWoOpened" DataYColumn="GovWoOpened">
    <Appearance BarWidthPercent="50">
        <FillStyle FillType="ComplexGradient">
            <FillSettings>
                <ComplexGradient>
                    <telerik:GradientElement Color="213, 247, 255" />
                    <telerik:GradientElement Color="193, 239, 252" Position="0.5" />
                    <telerik:GradientElement Color="157, 217, 238" Position="1" />
                </ComplexGradient>
            </FillSettings>
        </FillStyle>
        <TextAppearance TextProperties-Color="White">
        </TextAppearance>
    </Appearance>
            </telerik:ChartSeries>
<telerik:ChartSeries Name="GovWoClosedWithin" DataYColumn="GovWoClosedWithin">
    <Appearance BarWidthPercent="50">
        <FillStyle FillType="ComplexGradient">
            <FillSettings>
                <ComplexGradient>
                    <telerik:GradientElement Color="163, 222, 78" />
                    <telerik:GradientElement Color="132, 207, 27" Position="0.5" />
                    <telerik:GradientElement Color="102, 181, 3" Position="1" />
                </ComplexGradient>
            </FillSettings>
        </FillStyle>
        <TextAppearance TextProperties-Color="White">
        </TextAppearance>
        <Border Color="94, 160, 0" />
    </Appearance>
            </telerik:ChartSeries>
            <telerik:ChartSeries DataYColumn="GovWosClosed" Name="GovWosClosed">
                <Appearance BarWidthPercent="50">
                    <FillStyle FillType="ComplexGradient">
                        <FillSettings>
                            <ComplexGradient>
                                <telerik:GradientElement Color="136, 221, 246" />
                                <telerik:GradientElement Color="97, 203, 234" Position="0.5" />
                                <telerik:GradientElement Color="59, 161, 197" Position="1" />
                            </ComplexGradient>
                        </FillSettings>
                    </FillStyle>
                    <TextAppearance TextProperties-Color="White">
                    </TextAppearance>
                    <Border Color="67, 181, 229" />
                </Appearance>
            </telerik:ChartSeries>
            <telerik:ChartSeries DataYColumn="GovRwpOpened" Name="GovRwpOpened">
                <Appearance BarWidthPercent="50">
                    <FillStyle FillType="ComplexGradient">
                        <FillSettings>
                            <ComplexGradient>
                                <telerik:GradientElement Color="218, 254, 122" />
                                <telerik:GradientElement Color="193, 240, 74" Position="0.5" />
                                <telerik:GradientElement Color="163, 205, 46" Position="1" />
                            </ComplexGradient>
                        </FillSettings>
                    </FillStyle>
                    <TextAppearance TextProperties-Color="White">
                    </TextAppearance>
                    <Border Color="111, 174, 12" />
                </Appearance>
            </telerik:ChartSeries>
            <telerik:ChartSeries DataYColumn="GovRwpClosedWithin" Name="GovRwpClosedWithin">
                <Appearance BarWidthPercent="50">
                    <FillStyle FillType="ComplexGradient">
                        <FillSettings>
                            <ComplexGradient>
                                <telerik:GradientElement Color="79, 152, 198" />
                                <telerik:GradientElement Color="34, 123, 182" Position="0.5" />
                                <telerik:GradientElement Color="4, 85, 156" Position="1" />
                            </ComplexGradient>
                        </FillSettings>
                    </FillStyle>
                    <TextAppearance TextProperties-Color="White">
                    </TextAppearance>
                    <Border Color="39, 103, 210" />
                </Appearance>
            </telerik:ChartSeries>
            <telerik:ChartSeries DataYColumn="GovRwpClosed" Name="GovRwpClosed">
                <Appearance BarWidthPercent="50">
                    <FillStyle FillType="ComplexGradient">
                        <FillSettings>
                            <ComplexGradient>
                                <telerik:GradientElement Color="86, 153, 78" />
                                <telerik:GradientElement Color="43, 126, 33" Position="0.5" />
                                <telerik:GradientElement Color="18, 96, 3" Position="1" />
                            </ComplexGradient>
                        </FillSettings>
                    </FillStyle>
                    <TextAppearance TextProperties-Color="White">
                    </TextAppearance>
                    <Border Color="46, 93, 0" />
                </Appearance>
            </telerik:ChartSeries>
</Series>
        <Legend>
            <Appearance Dimensions-Margins="1px, 2%, 12%, 1px">
                <ItemTextAppearance TextProperties-Color="White">
                </ItemTextAppearance>
                <FillStyle GammaCorrection="False" MainColor="37, 255, 255, 255">
                </FillStyle>
                <Border Color="76, 255, 255, 255" />
            </Appearance>
            <TextBlock>
                <Appearance Position-AlignedPosition="Top" TextProperties-Color="LightSkyBlue">
                </Appearance>
            </TextBlock>
        </Legend>
        <PlotArea>
            <XAxis AutoScale="False" AutoShrink="False" LayoutMode="Normal" MaxValue="6"
                MinValue="1" Step="0">
                <Appearance Color="Beige" EndCap="Round" MajorTick-Color="98, 183, 226">
                    <MajorGridLines Color="98, 183, 226" Width="0" />
                    <LabelAppearance Dimensions-AutoSize="true" Dimensions-Height="0px"
                        Dimensions-Width="0px" Position-Auto="False" Position-X="0" Position-Y="0">
                        <FillStyle>
                            <FillSettings ImageAlign="Left">
                            </FillSettings>
                        </FillStyle>
                    </LabelAppearance>
                    <TextAppearance TextProperties-Color="White">
                    </TextAppearance>
                </Appearance>
                <AxisLabel>
                    <Appearance Dimensions-Paddings="1px, 1px, 10%, 1px" Figure="Diamond">
                    </Appearance>
                    <TextBlock>
                        <Appearance TextProperties-Color="LightSkyBlue">
                        </Appearance>
                    </TextBlock>
                </AxisLabel>
                <Items>
                    <telerik:ChartAxisItem>
                    </telerik:ChartAxisItem>
                </Items>
            </XAxis>
            <YAxis IsZeroBased="False">
                <Appearance Color="98, 183, 226" MajorTick-Color="98, 183, 226"
                    MinorTick-Color="98, 183, 226">
                    <MajorGridLines Color="120, 209, 248" />
                    <MinorGridLines Color="120, 209, 248" Width="0" />
                    <TextAppearance TextProperties-Color="White">
                    </TextAppearance>
                </Appearance>
                <AxisLabel>
                    <TextBlock>
                        <Appearance TextProperties-Color="LightSkyBlue">
                        </Appearance>
                    </TextBlock>
                </AxisLabel>
            </YAxis>
            <Appearance Corners="Round, Round, Round, Round, 6" Dimensions-AutoSize="False"
                Dimensions-Height="207px" Dimensions-Margins="19%, 2px, 12%, 2px"
                Dimensions-Width="350px" Position-AlignedPosition="Bottom">
                <FillStyle MainColor="50, 255, 255, 255" SecondColor="Transparent">
                </FillStyle>
                <Border Color="97, 180, 223" Width="3" />
            </Appearance>
        </PlotArea>
        <ChartTitle>
            <Appearance Dimensions-Margins="4%, 10px, 14px, 6%">
                <FillStyle MainColor="">
                </FillStyle>
            </Appearance>
            <TextBlock>
                <Appearance TextProperties-Color="White" TextProperties-Font="Verdana, 14pt">
                </Appearance>
            </TextBlock>
        </ChartTitle>
    </telerik:RadChart>
         
</div>
Petar Marchev
Telerik team
 answered on 03 Jan 2012
2 answers
117 views
i installed Telerik ASP.NET AJAX Q3 2011 and the link to the documentation goes to this broken page:
http://msdn.microsoft.com/EN-US/library/D51A087E-5B68-446B-81F2-CA0F1AEB3C79
Susi
Top achievements
Rank 1
 answered on 03 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?