Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
112 views
We are using the RadControls for ASP.NET AJAX controls on a new website, and the client loves the look and feel of the "Default" skin in the 2008 version of the controls.

Now, however, we have been forced into upgrading to the latest version (2009), and so the whole "Default" skin is completely different.

No big deal, some may say, just follow the directions given on this page http://www.telerik.com/help/aspnet-ajax/radcontrols-changes-backwards-compatibility.html and from this page http://www.telerik.com/help/aspnet-ajax/skinregistration.html.

That is easier said than done though.

It is pretty easy to change the style of the RadCalendar and the RadComboBox, but it is not so easy when it comes to the regular html input controls or the asp.net controls (i.e. textboxes and buttons).

How do I get the FormDecorator to use a skin that is not embedded?

Isn't it supposed to be enough to add a FormDecorator like this to the page?

<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" EnableEmbeddedSkins="false" /> 

I have the following in my <head> section :

  <link href="Skin/Calendar.Default.css" rel="stylesheet" type="text/css" /> 
  <link href="Skin/FormDecorator.Default.css" rel="stylesheet" type="text/css" /> 
  <link href="Skin/ComboBox.Default.css" rel="stylesheet" type="text/css" /> 
 

And the folders and .css files are also in place. The RadCalendar and RadComboBox do get their skins, just as they are supposed to, and they are placed on the very same page. Only the FormDecorator is giving me a headache.

Please help!
Martin
Telerik team
 answered on 25 Aug 2009
4 answers
163 views
How might I skin the FormDecorator with the Q3 2008 Skins Compatible with Q1 2009?
Martin
Telerik team
 answered on 25 Aug 2009
3 answers
304 views
In this thread:

http://www.telerik.com/community/forums/aspnet-ajax/grid/accessing-the-column-collection-for-autogenerated-columns.aspx

I mentioned how I handled reordering columns (often to restore a stored order) in the PreRender when using RadGrid in RadControls for ASP.Net and more recently in RadControls for ASP.Net AJAX.  At the time of that thread, I hadn't quite gotten it working in the AJAX version, but subsequently seemed to get it to work.

However, i am now hitting a problem that I haven't quite put my finger on.  My code in PreRender keeps track of whether or not it actually needed to change the column order (as it loops through the columns in RenderColumns if any needs to be reordered it sets a flag that it did so.)  If the flag gets set, then it does a Rebind of the grid (since otherwise the new order doesn't match the data).

Now I am finding that when I do so, on a subsequent refresh of the page, I get the dreaded:

Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.

error.  This ONLY occurs if I reordered and did a Rebind in PreRend.  I'm surmising that there is something in the viewstate loading for RadGrid that expects the column order (and therefore types of the columns) or something related (filter row maybe?) not to have changed as late as the preRender (maybe some other structure in the RadGrid that has viewstate saved as well that could be out of sync if i reorder and rebind in PreRender?)

Anyway, I am still debugging on this, but any sugestions appreciated.  The previously suggested approach of turning off viewstate for this grid is, however, not an acceptable soluytion, so suggesting that doesn't help.  There are many aspects of the grid state that viewstate retains that we cannot sacrifice in terms of end user functionality, nor do we want to reimplement all the viewstate stuff for the grid without viewstate. The core problem i need guidance on is how, with viewstate enabled, I can reorder and rebind my grid safely.

Thanks,

-Ed

Monika
Top achievements
Rank 1
 answered on 25 Aug 2009
4 answers
92 views
I am trying to open a calender present in a rad date picker control. When the drop down index of a dropdown is changed, I want to open the calendar pop up. I am exploring both the server side and client side events and methods to see which would suit my application the best. Can anyone tell me what are the methods/properties present in the raddate picker so as to open the pop up

Thanks 
Nirmal
nirmal
Top achievements
Rank 1
 answered on 25 Aug 2009
1 answer
89 views
Hello,

I'm using an ItemTemplate within my RadGrid with HTML because I need a very strict format for what our client wants.  In IE 7 and 8, after sorting the grid or refeshing the page, occasionally, the elements in the datagrid do not appear in the proper position.  Sometimes the elements are whacked horizontally and sometimes vertically.  Here is a link to a Screenshot of issue.

Any suggestions?

Josh
Dimo
Telerik team
 answered on 25 Aug 2009
8 answers
331 views
Hello,

Please find attached all RadCalendar skins, which were embedded in the Q3 2008 RadControls version. They have been adapted to be fully compatible with the Q1 2009 release. In order to use them as non embedded skins, you should do the following:

1. copy the corresponding CSS file and images to your website, the exact location depends on your preference;
2. register the CSS file manually with a <link> tag or via an ASP.NET theme;
3. set EnableEmbeddedSkins="false" to the control, which will use the non-embedded skin;

If you are using date/time pickers, you also need the skins for RadInput:

RadInput Q3 2008 Skins

For more information about RadControls' skinning mechanism and using non-embedded skins, please refer to:

How skins work

Skin registration

Using skins in ASP.NET themes

Disabling embedded resources

An online demo, which shows how to use various RadControls with non-embedded skins is available at:

Custom skins demo

Let us know if you have any questions.


Regards,
the Telerik team
Dimo
Telerik team
 answered on 25 Aug 2009
4 answers
916 views
When I specify column names in the aspx file those show up with "System."... (it gets cut off because there is not enough room), but then the columns show up again matching exactly the names from my DataSource. How do I get the DataSource data to populate the MasterTableView columns.
I noticed when I do grid.DataBind() alone (not filling in the column names in aspx MasterTableView) then there are no columns in the MasterTableView object, so I can't just hide it in the codebehind.

It seems like it should be simple to just Bind the Source then hide the column I don't want to display, but it is not working like that.
Princy
Top achievements
Rank 2
 answered on 25 Aug 2009
1 answer
100 views
Hi Team,
I created a sample application for the chart and it is not working for me.
But the same app is working in others machine.
I used static contents for the chart. Below is the code for your reference. I have nothing in the code behind file.

Do i need to register anything in GAC or any environment variable path needs to be set?...

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestRadChartInWebForm.aspx.cs" Inherits="RadChartSample.TestRadChartInWebForm" %>

<%@ 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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadChart ID="RadChart1" runat="server" Width="480px" Height="290px">
            <PlotArea>
                <XAxis>
                </XAxis>
                <YAxis>
                </YAxis>
                <YAxis2>
                </YAxis2>
            </PlotArea>
            <Series>
                <telerik:ChartSeries Name="Series 1">
                    <Appearance>
                        <FillStyle MainColor="Blue">
                        </FillStyle>
                    </Appearance>
                    <Items>
                        <telerik:ChartSeriesItem YValue="1" Name="Item 1">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="2" Name="Item 2">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="4" Name="Item 3">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="3" Name="Item 4">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="5" Name="Item 5">
                        </telerik:ChartSeriesItem>
                    </Items>
                </telerik:ChartSeries>
                <telerik:ChartSeries Name="Series 2" YAxisType="Secondary">
                    <Appearance>
                        <FillStyle MainColor="Red">
                        </FillStyle>
                    </Appearance>
                    <Items>
                        <telerik:ChartSeriesItem YValue="15" Name="Item 1">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="25" Name="Item 2">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="45" Name="Item 3">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="35" Name="Item 4">
                        </telerik:ChartSeriesItem>
                        <telerik:ChartSeriesItem YValue="50" Name="Item 5">
                        </telerik:ChartSeriesItem>
                    </Items>
                </telerik:ChartSeries>
            </Series>
        </telerik:RadChart>    
    </div>
    </form>
</body>
</html>

Thanks,
Joe
Ves
Telerik team
 answered on 25 Aug 2009
1 answer
213 views
hi,

I'm working on a RadMenu which has a horizontal layout (i.e. as shown in http://www.telerik.com/help/aspnet-ajax/menu_appearancelayoutofchilditems.html). Each submenu, if applicable, appears below when hovering on the root element. I have created a custom skin based off the included Web20 skin. I am only using 2 menu levels - root level and 1 submenu max each.

How can I make the sub menu appear centered (the box itself) based on the width of the root element? Can I do this with CSS or do I have to get more sophisticated with jQuery etc? I have created the submenu element as a fixed width box with a graphic layout. I.e. the submenu box always has the same width.

I have noticed all elements are "left aligned" to the root elements left edge when they appear. I know of OffsetX and OffsetY, but they only let me set a fixed value. I'd like to make this dynamic based on the individual root element's width. Is there a way to accomplish this?

I'm using the latest RadControls for ASP.NET Ajax (v 2009.2 701)

regards,
Ernst
T. Tsonev
Telerik team
 answered on 25 Aug 2009
3 answers
200 views
Is it possible to draw a best fit line or curve through a set of points that have been plotted on a chart control? I have two series, one whose trend is a straight line, and one whose tren is an exponential curve. Can the RAdChart control calculate the best fit line for me? If not, does anyone know where I can find the code to calculate the line so I can plot it manually?

Thanks,

Michael
Ves
Telerik team
 answered on 25 Aug 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?