Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
I am using a hierarchical radgrid and have performance issues.

The grid is 3 levels deep
level 1: 11 columns
level 2: 12 columns.  Nested into a detailTables
level 3 13 columns.  Nested into a panel inside NestedViewTemplate

Because of the performance issue, I did the following:
- Set the HierarchyLoadMode is set to ServerOnDemand.
- Bind server side and if the pageSize is 25, I only take 25 items from the database (I manage the paging myself).
- Removed filters and sorting from level 2 and 3

Each level has custom paging

During my tests, I realized that when binding the 1st level, the header and footer of each child grids were correctly loaded on demand.
However, when expanding the second level,  the header and footer of all 3rd level child grids were initialized at the same time.

The 3 level is inside an invisible panel. 
The panel is set to visible only when it is expanded.
The data of the third level is loaded on demand as expected, but the header and footer is initialized as soon as its parent is expanded.

Is there a way to prevent that ?  I tought the invisible panel was enough to prevent the grid initialization.
Do you have any other suggestion to resolve the performance issue ?
Note: the problem is not visible on IE9, but is always present on IE7.

Thanks
Pavlina
Telerik team
 answered on 17 Jul 2012
9 answers
196 views
Having issues with IE9 clipping or mis-positioning elements in your constrol set. I have attached an example. Everything looks ok in Chrome.

Ivan Zhekov
Telerik team
 answered on 17 Jul 2012
1 answer
77 views
Hallo,

let's say I have 1000 rows. If I group by a specific column I'm getting 10 groups each with 100 rows. Paging is enabled with 10 rows per page.

If I group I want to see all the 10 groups on a single page. Only when I expand a group more when one page is used.

Is there any possibility to get this behavior?

As paging, in conjunction with grouping is implemented, it is not usable today.
Pavlina
Telerik team
 answered on 17 Jul 2012
4 answers
209 views
Please let me know how to group the Radmenu items by headers. I binding the menu with data from SiteMapDataSource
I need to group the items similar to the menu that I see on telerik site

Say in the URL : http://www.telerik.com/community/forums/new-thread.aspx?forumId=250 under the Main Menu item "Products", items of the menu are grouped under a header

 "WEB UI CONTROLS & COMPONENTS",
 "DESKTOP UI CONTROLS & COMPONENTS"
 "DATA TOOLS"

Thanks
Thomas
Top achievements
Rank 1
 answered on 17 Jul 2012
1 answer
120 views
I have a strange thing when entering values in a RadNumericTextbox with and without decimals. I was able to reproduce the behavior with this simple form:
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
       <telerik:RadScriptManager ID="rcmMain" runat="server"></telerik:RadScriptManager>
    <div>
        <h2>Sample</h2>
         <telerik:RadNumericTextBox ID="txtNumber" runat="server"></telerik:RadNumericTextBox>
         <telerik:RadNumericTextBox ID="txtNumber2" runat="server"></telerik:RadNumericTextBox>
    </div>
    </form>
</body>
</html>
 
To reproduce do the following:
1) In the first textbox enter 2.2 (i have Swedish culture set so comma (,) is my my decimal separator).
2) Using the mouse, click the second textbox.
3) My first textbox now shows 2.20 (and thats what i expected).
4) Click the first textbox again (value selected).
5) Just enter a 2 on the keyboard
6) Click on the second textbox

My first textbox still shows 2.20 but I was expecting 2.00!

This surely cannot be an expected behavior, is there something I am missing?  A property that must be set?

The funny thing is that I can cure this behavior by pressing [ENTER] while in the first textbox. After that all works as expected.

Using v.2012.2.607.40 components.

Anyone got an idea what this is all about?
Milena
Telerik team
 answered on 17 Jul 2012
7 answers
315 views
Hi,

I am using the timeline view to schedule jobs to our users. I need to be able to show the full subject name which can be rather long. I have setup some custom CSS  classes that get applied to appointments with long names. (This can be seen in LongApName.png)

These appointments look fine, until you put two on the same day. Then they can overlap.

In thisTimeline Demo the "Margaret Morrison Main Room" Row has a height of 75px, Where is this set? I believe this could be a workaround to my real problem.

Cheers, Grant Cannan
Andy
Top achievements
Rank 1
Iron
 answered on 17 Jul 2012
1 answer
135 views
Hi, I want to change htm's name and his links too, for this i'm trying to use radeditor, my question is, it's posible to modify links in htm with radeditor in c#?, i'm trying with this code:
 RadEditor1.Content = ReadFile(Server.MapPath("~/"+Root()+"/example.htm");
                    string mod = Root().Replace(" ", "%20");
                    RadEditor1.Content.Replace("href='"+mod,"href='"+NewRoot);
                     using (StreamWriter externalFile = new StreamWriter(Path.Combine(Server.MapPath("~/"+NewRoot), "Newexample.htm"), false, Encoding.UTF8))//Open file for writing and write content
                    {
                        externalFile.Write(RadEditor1.Content);
                    }
 protected string ReadFile(string path)
    {
        if (!System.IO.File.Exists(path))
        { return string.Empty; }//fin if file exists
        using (System.IO.StreamReader sr = new System.IO.StreamReader(path, Encoding.GetEncoding("macintosh")))
        { return sr.ReadToEnd(); }
    }
but I think that Replace() no work with html, please help me
Rumen
Telerik team
 answered on 17 Jul 2012
1 answer
220 views
Hi, 

Since 2012.2.607.35 my delete column imageurl is not showing my custom image anymore. It is showing the Telerik default one.

I didn't change anything in my code.

ASPX:
<telerik:RadGrid ID="gridAllergies" runat="server" CellSpacing="0" GridLines="None">
            <ClientSettings>
                <Selecting CellSelectionMode="None"></Selecting>
            </ClientSettings>
            <MasterTableView CommandItemDisplay="Top">
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                </RowIndicatorColumn>
                <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridEditCommandColumn FilterControlAltText="Filter EditCommandColumn column"
                        ButtonType="ImageButton" EditText="Modifier" Resizable="False" EditImageUrl="Images/Icons/006-Write-New-Icon.png"
                        UniqueName="colEdit">
                        <HeaderStyle Width="32px"></HeaderStyle>
                        <ItemStyle Width="32px" />
                    </telerik:GridEditCommandColumn>
                    <telerik:GridButtonColumn CommandName="Delete"
                        FilterControlAltText="Filter column column" Text="Supprimer" UniqueName="colDelete"
                        ButtonType="ImageButton" ImageUrl="Images/Icons/059-Close-Delete-circle-Icon.png"
                        ConfirmDialogType="Classic">
                        <HeaderStyle Width="32px"></HeaderStyle>
                        <ItemStyle Width="32px" />
                    </telerik:GridButtonColumn>
                    <telerik:GridBoundColumn DataField="palg_noauto" FilterControlAltText="Filter column1 column"
                        UniqueName="colNoAuto" Visible="False" ReadOnly="True">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="allergie" FilterControlAltText="Filter column2 column"
                        UniqueName="colAllergie" CurrentFilterFunction="StartsWith" FilterDelay="1500"
                        ShowFilterIcon="false" ReadOnly="True">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="isGroupe" DataType="System.Boolean" FilterControlAltText="Filter column column"
                        ReadOnly="True" UniqueName="colIsGroupe" ShowFilterIcon="false" AllowFiltering="False">
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" Width="64px" />
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridDateTimeColumn DataField="Date" FilterControlAltText="Filter column3 column"
                        UniqueName="colDate" CurrentFilterFunction="StartsWith" FilterDelay="1500" ShowFilterIcon="false"
                        DataType="System.String" EditFormHeaderTextFormat="">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridDropDownColumn FilterControlAltText="Filter column8 column" UniqueName="colGenerique"
                        ListValueField="gene_numero" ListTextField="gene_nom" ShowFilterIcon="False"
                        Visible="False" DropDownControlType="RadComboBox" DataField="gene_numero">
                    </telerik:GridDropDownColumn>
                    <telerik:GridDropDownColumn FilterControlAltText="Filter column7 column" UniqueName="colGroupeDesc"
                        ListValueField="gral_numero" ListTextField="gral_description" ShowFilterIcon="False"
                        Visible="False" DropDownControlType="RadComboBox" DataField="gral_numero">
                    </telerik:GridDropDownColumn>
                    <telerik:GridBoundColumn DataField="palg_texte_1" FilterControlAltText="Filter column4 column"
                        UniqueName="colTexte1" CurrentFilterFunction="StartsWith" FilterDelay="1500"
                        ShowFilterIcon="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="palg_texte_2" FilterControlAltText="Filter column5 column"
                        UniqueName="colTexte2" CurrentFilterFunction="StartsWith" FilterDelay="1500"
                        ShowFilterIcon="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="isImprime" FilterControlAltText="Filter colImprimer column"
                        UniqueName="colImprimer" Visible="False">
                    </telerik:GridCheckBoxColumn>
                </Columns>
                <SortExpressions>
                    <telerik:GridSortExpression FieldName="allergie" SortOrder="Ascending" />
                </SortExpressions>
                <EditFormSettings>
                    <EditColumn ButtonType="PushButton" CancelText="Annuler" UpdateText="Enregistrer"
                        InsertText="Ajouter" FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
            <EditItemStyle BackColor="Silver" />
        </telerik:RadGrid>

Thanks.
Shinu
Top achievements
Rank 2
 answered on 17 Jul 2012
1 answer
96 views
Hi,

how can i fire Javascript function when "Check All" in RadCombobox is checked.

Thanks
Princy
Top achievements
Rank 2
 answered on 17 Jul 2012
1 answer
178 views
Hi,

I was using the file explorer to load files from a shared path as shown in the article http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/physical-paths-and-different-content-types.aspx.
I have a couple of file explorer controls on my page. For one of them the shared path is formed dynamically. When I run the project I am not able to see files in that control. Is it because I don't have a mapping specified for that particular path. How can i resolve this?
Dobromir
Telerik team
 answered on 17 Jul 2012
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?