Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 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
100 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
83 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
3 answers
120 views
Hi,

We have a solution where the main window contains iframes.
When the the main window opens a modal RadWindow and the user moves the RadWindow, while dragging the RadWindow all other iframes below the RadWindow is hidden. This looks kinda ugly.

I found the script code in the RadWindow  that does this, the _setIframesVisible function in the ResizeExtender.
I tried to set the _hideIframes property in the ResizeExtender for my RadWindow in the show event:
if (this._window._resizeExtender)
            this._window._resizeExtender.set_hideIframes(false);

After this, the moving of the window was a lot nicer...
Is there a special reason for this behavior (didn't see any comment in source code), or is it safe for me to set this property to false in script?

Regards
Caesar
Svetlina Anati
Telerik team
 answered on 03 Jan 2012
2 answers
64 views
Hi Telerik team,

I'm working on RadTreeView structure.
In my Project i'm adding the treeview structure dynamically.Here for each radnode adding the imageurl ,font size ,Navigateurl and text property.My tree view is displayed with tree node which has the Image and text  and for each node click i want to navigate to some other page with encrypted 'QueryString' value.Later in that page i can use the values available in 'Request.QueryString["--"]'.

Now my issue is ,when i'm clicking on image the functionality is working fine and the Querystring value is not null.But when i'm clicking on the text ,the query string is null and throwing an exception.

Please find the code below :

 

RadTreeNode node = new RadTreeNode("Mainnodename");

 


RadTreeNode

 

subnode = new RadTreeNode(sec.SectionName, sec.SectionId.ToString());

 

node.Nodes.Add(subnode);


subnode.Text = sec.SectionName.ToString();

subnode.ToolTip = sec.SectionName.ToString();

subnode.ImageUrl = sec.ImagePath;

subnode.NavigateUrl = sec.pagePath;

This is the declaration,
when node is clicked redirecting the page like below statement:

 

Response.Redirect(e.Node.NavigateUrl.ToString() +

"?" + encryptedString, false);

 

 

Here encrypted string is the 'QueryString' value.


Please reply ASAP...

Thank you..

Pradeep Enugala
Top achievements
Rank 1
 answered on 03 Jan 2012
1 answer
97 views
Hi there,

Is it possible to cast the items of RadListBox to a Generic list?

Currently, when i populate the RadListBox, i do so:

listBox.DataSource  = ItemList;//ItemList is a Generic list like so: List<ItmList>
listBox.DataBind();


This works fine, but how to i cast the items thats already inside the listbox back to the Generic List(List<ItmList>)?
Hope i can get some help soon.


Regards,
Dexter
Dimitar Terziev
Telerik team
 answered on 03 Jan 2012
0 answers
150 views
Hai,

I want to filter the grid column by some unicode characters like "复 制 品'. When I search with these characters, the grid cannot find these characters and returns "No records found".

How can make the grid filter search unicode characters?
Thanks in advance
Kavitha
Top achievements
Rank 1
 asked on 03 Jan 2012
1 answer
77 views
Returning again to the fount of wisdom,

I would like to switch between pageviews on a multipage via client click of a button using a drop down box as in demo example:
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/clientside/clientsideapi/defaultcs.aspx

Problem:
1. the multipage is on a user control loaded in as template for radgrid based on various page events
2. I only want the tiny multipage on one small part of the newly loaded user control to change via ajax
3. I have an "exact copy" of code from the example, placed in a RadCodeBlock at beginning of web user ascx page, and when the button is pressed, it cannot find the function... so somehow it is not loaded "in time" or whatever.

I tried putting the function in the underlying aspx page, but it needs to reference controls on the dynamically loaded user web form, so that seems to be a no go.

Just some code snippets:
From the top of the ascx control:
<telerik:RadCodeBlock ID="RepeatCode"  runat="server">
    <script type="text/javascript">
        function SelectRepeatViewEdit() {
            var RepMultiPage = $find("<%= rmpRepeats.ClientID %>");
            var Index = parseInt($get("<%=RCBRepeat.ClientID %>").value);
            if (Index == "once") RepMultiPage.get_pageViews().getPageView(0).set_selected(true);
            if (Index == "daily") RepMultiPage.get_pageViews().getPageView(4).set_selected(true);
            if (Index == "weekly") RepMultiPage.get_pageViews().getPageView(3).set_selected(true);
            if (Index == "monthly") RepMultiPage.get_pageViews().getPageView(2).set_selected(true);
            if (Index == "yearly") RepMultiPage.get_pageViews().getPageView(1).set_selected(true);
            return false;
        }
    </script>
</telerik:RadCodeBlock>
The button is trivial:
<asp:Button ID="btnSwitch" Text="Switch" OnClientClick="SelectRepeatViewEdit" runat="server" />
And when I click the button I get a "function not found" error.

It clearly is a problem with the function load somehow...

I'd appreciate any help... I'm sure it's probably obvious.
Chris
Kate
Telerik team
 answered on 03 Jan 2012
1 answer
110 views
HI i am using AdvancedInsertTemplate in scheduler. i have added two text box in template and i want to add client side required field validation for these text boxes. please let me know how can i achive this.

currently i am using below code , but i am not able to get textbox control ID.

var txtName = $find('TxtName');


waiting for your reply...
Ivana
Telerik team
 answered on 03 Jan 2012
1 answer
82 views
Hi all,

I would like to ask some clarification in RadEditor regarding server side  function call from client side(Java Script).
Actually my scenarios,when i click my custom tool in toolbar,i have to check the server side session exists or not and pass the session value to function (in class file) & get the content. and then insert the result content from the function to the current cursor position.

For this scenario,I handle the above server side function to Link button click event and call the click event when i click the tool in java script,after call the click event i can retrieve the content but while replace from the content in java script occur problem.

I have assign the content to hidden field and try to retrieve in java script to replace. That time error occur like "A Potential Error in hidden field "content sample"" like this.

Also I try to use wen method and Ajax method,it not work in Editor page..

Kindly suggest any other method ,to call the server side function to get the content and replace the same in editor.

Thank you,
Rumen
Telerik team
 answered on 03 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?