Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
143 views
Hi there,

Is it normal for the animation to not work on the first load of a rad window? After the initial load (which just pops up as if animation were set not set), the animations run fine. I'm using 2010.1.309.35.

<telerik:RadWindowManager ID="RadWindowManager1" runat="server"
        <Windows> 
            <telerik:RadWindow ID="addRadWindow" runat="server" OpenerElementID="<%# addHyperLink.ClientID %>" NavigateUrl="parts/add.aspx" Modal="true" Width="500px" VisibleStatusbar="false" Behaviors="Close, Move" Skin="Simple" Title="Add relationship"
            </telerik:RadWindow> 
        </Windows> 
    </telerik:RadWindowManager> 
 
<asp:HyperLink ID="addHyperLink" NavigateUrl="#" ToolTip="Add a new relationship" runat="server">Add relationship</asp:HyperLink> 

Thanks,

-Derek
Fiko
Telerik team
 answered on 02 Jun 2010
1 answer
40 views
Hey!
When I render my website in IE6 and IE7 the tabs looses there styleings and just the link text is shown.
How do I fix this problem? I use the 2010.1.415.40 version of Telerik.Web.UI.
Patric
Top achievements
Rank 1
 answered on 02 Jun 2010
2 answers
134 views
Hello,

We have developed our site using the Rad controls. Now we have some performance issues.

There are some slow pages because of both their size and the scripts running.

Is there a way to reduce the amount of javascript generated for the controls ?

Also , when profiling with firebug, there is function createCallback, defined in multiple Telerik.Web.UI.WebResource.axd files that are being called a lot of times (88120, 80527, 288368,....). Is this normal ?

Also, please guide me to some performance related resources.

Thank you,
Bogdan
Bogdan Cucosel
Top achievements
Rank 1
 answered on 02 Jun 2010
5 answers
217 views
Hi,

I am using a RadSplitter to wrapTitleBar on top and Map at  bottom. I am setting  map width and height in percentage to occupy 100% of RadPanels size. However, during the page load map covers only a portion of the RadPanel. How can I set  map to occupy the 100% of the Container.

Thanks,
Prava
Tsvetie
Telerik team
 answered on 02 Jun 2010
6 answers
339 views
Hello,
I'm trying to use a custom palette for the series in my bar chart because the Telerik-skin seems to contain only 6 default colors.
But when I create a custom palette the way shown below, the first 7 bar series are getting the default colors. Only series 8 and 9 are in the colors I created.
With a pie chart (1 series with 9 items) everything works fine.
Does anybody know this problem?

Best regards
Rayko

<body> 
    <form id="form1" runat="server"
     
    <telerik:RadChart ID="RadChart1" runat="server" Skin="DeepBlue" Width="700px" EnableViewState="false"/> 
         
    </form> 
</body> 

protected void Page_Load(object sender, EventArgs e) 
        { 
            if (!Page.IsPostBack) 
            { 
               CreateChart(); 
                 
            } 
        } 
         
         
 
        private void CreateChart() 
        { 
            RadChart1.Clear(); 
            RadChart1.PlotArea.XAxis.Clear(); 
             
            //CreatePie(); 
            CreateBar(); 
 
            SetSeriesColors(); 
        } 
 
        private void CreatePie() 
        { 
            ChartSeries series = new ChartSeries("PieSeries", ChartSeriesType.Pie); 
 
            for (int i = 1; i < 10; i++) 
            { 
                ChartSeriesItem newItem = new ChartSeriesItem(); 
                newItem.Name = "test"+i; 
                newItem.YValue = i; 
                series.Items.Add(newItem); 
 
            } 
 
            series.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels; 
             
            RadChart1.Series.Add(series); 
        } 
 
        private void CreateBar() 
        { 
            for (int i = 1; i < 10; i++) 
            { 
                ChartSeries series = new ChartSeries("test" + i, ChartSeriesType.Bar); 
                ChartSeriesItem newItem = new ChartSeriesItem(); 
                series.Name = "test" + i; 
                newItem.Name = "test" + i; 
                newItem.YValue = i; 
                 
                series.Items.Add(newItem); 
                series.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.SeriesName; 
 
                RadChart1.AddChartSeries(series); 
 
            } 
        } 
 
        private void SetSeriesColors() 
        { 
            Color[] seriesColors = new[] 
                                       { 
                                           Color.Red, 
                                           Color.Yellow, 
                                           Color.Black, 
                                           Color.Blue, 
                                           Color.White, 
                                           Color.Green, 
                                           Color.MediumPurple, 
                                           Color.Brown, 
                                           Color.Orange, 
                                           Color.Gray 
                                       }; 
 
            Palette seriesPalette = new Palette("seriesPalette", seriesColors, true); 
            RadChart1.CustomPalettes.Add(seriesPalette); 
            RadChart1.SeriesPalette = "seriesPalette"
 
             
        } 
Rayko
Top achievements
Rank 1
 answered on 02 Jun 2010
2 answers
208 views
Hello guys.

I'm trying to use a filter with my grid like this example:
http://demos.telerik.com/aspnet-ajax/filter/examples/integration/defaultcs.aspx

but, if I use this sample code:

ObjContext entities = new ObjContext();  
ObjectResult<EntitiesResult> myEntities = entities.usp_get_entities();  
return myEntities.AsQueryable(); 

The filter doesn't affect the grid. However if I use this sample code:
DataTable dtEntities = DataBase.ExecuteReaderDt(CommandType.StoredProcedure, "USP_GET_ENTITIES"); 
return dtEntities; 

The filter works fine.

Note that is the same stored procedure for both cases.

I'm forgetting something? For EF is a different way?

Another question is:

How can I remove a field from filter, like: The customer's ID. I don't want this field in filter. How can I remove it?

Regards.

Nikolay Rusev
Telerik team
 answered on 02 Jun 2010
1 answer
181 views
hello everyone:
can you tell me  How to change the size of the radMenu's font?

my menu conbined wity sitemapdatasource

I try to  change the   font's size='X-Large'     under   menu's property

but it doesn't work


please  help me  :
I'm  waiting online
Princy
Top achievements
Rank 2
 answered on 02 Jun 2010
1 answer
76 views
I have several tabs in hidden divs that show and hide as the user uses the page.  All of the tabs are set to justify.  The problem is that sometimes the tabs do not appear justified when they first show.  After a few more hide and shows, the justification is there. 

Any ideas?
Yana
Telerik team
 answered on 02 Jun 2010
8 answers
249 views
A client wants to be able to have the sub menu stay open once a user hovers over a main item and clicks on a sub menu item. If the user hovers over another main nav element, it should then close and open up the new sub menu. But if the user does not click anything in the new sub nav it should revert to having the original sub nav open. Is this even possible? Thanks.

Also, we have a horizontal menu with the submenu items displaying horizontal as well. When you hover over top nav items towards to right end of the menu, the child menu starts rendering near the beginning of the menu and not under the parent item. Any way to fix this?

Yana
Telerik team
 answered on 02 Jun 2010
1 answer
211 views
Hello,

I'm using RadDataPager inside a RadListView. It looks something like this:

<RadListView id="RadListView1" ...> 
    <LayoutTemplate> 
        <RadDataPager id="RadDataPager1" ...> 

Is it possible to access the RadDataPager from the code-behind file?
In particular, I want to change its Visible attribute at runtime.

I tried RadListView1.FindControl("RadDataPager1"), but it returns null.


Thanks in advance.
Rosen
Telerik team
 answered on 02 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?