Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
197 views
Hi

The RAD-filter always have the same width.  See screenshot for example.

Is it possible to make the filter to always get the same width as the column?


Thanks
Pavlina
Telerik team
 answered on 02 Jun 2010
1 answer
120 views
When the session time has expired the panelbar doesn’t work. When I click on a link it doesn’t open the selected page, but the page I’m on is reloaded and directly after that can I click on the link and right page opens. But this only happen when session time has expired, otherwise it works great .

I’m use xml to load the panelbar and the menu is in a masterpage.

master.cs:
protected void Menu_Init (object sender, EventArgs e)  
 (  
...  
 XMLstring = menyroot.InnerXml;  
 
            XMLstring =  
                "<? Xml version = \" 1.0 \ "encoding = \" utf-8 \ "?>" +  
                "<PanelBar>" XMLstring + +  
                "</ PanelBar>";  
 
            / / Load menu menutree intonation component ...  
            if (XMLstring! = null & & ((string) XMLstring! = ""))  
            (  
                Menu.LoadXml (XMLstring);                  
            )  
)  
 
master:
 <Telerik: RadPanelBar OnInit = "Menu_Init" id = "Menu" runat = "server" PersistStateInCookie = "true" 
                Width = "160">  
</ Telerik: RadPanelBar> 
 
xml:
<Item Text="ContractCatalog">  
            <Item Text="EntireContractCatalog" NavigateUrl="~/Contract/Catalog/Default.aspx"></Item> 
            <Item Text="Search" NavigateUrl="~/Contract/Search/Default.aspx"></Item> 
            <Item Text="SubscribeContract" NavigateUrl="~/Contract/SubscribeContract/Default.aspx"></Item> 
</Item> 
 

Any suggestion what I should do?


Foppa
Top achievements
Rank 1
 answered on 02 Jun 2010
0 answers
76 views
Hallo Support,

i tried today to create a hierachical RadGrid  with several DetailGrids in the Second layer.
The Problem is, that always only one of the SubGrids get Data, (even the first which found data), the other Grids will not filled even if Rows are existing.


EDIT :

I solved it myself ... there were a Problem in my Code... sorry

Can be closed...






Fabian
Top achievements
Rank 1
 asked on 02 Jun 2010
1 answer
127 views
I am using a RadPanelBar that has panes with Radgrids attached to them (each pane represents a day, and the grid holds items that represent the activities for that day). The purpose is so that a user can flick through a month day by day, viewing the activities for that day.

The RadPanelBar is on my form at design time and has the panes with their grids dynamically added at runtime depending upon whatever month the user is viewing. My problem however is that I ALSO have a dockLayout on the form, and when anything happens, it automatically does a round trip to the server. The RadPanelBar retains it's populated state and has whichever day it was previously open at on display, which is fine, but the grids are no longer attached, presumably as they were created at runtime. Are there any suggestions as to how I can modify my approach so that the grids are retained? I don't really want to do the repopulate the grids each time, as there are 42 of them (a calendar month's worth). I realise this isn't a straightforward question, but any assistance would be appreciated. I would like to retain the state of the RadPanelBar and it's contents when the dockLayout does it's repeated postbacks.
Jon Procter
Top achievements
Rank 1
 answered on 02 Jun 2010
3 answers
155 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
44 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
141 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
224 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
351 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
219 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?