Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
211 views

The editor is behaving very strangely in our application. We have been using quite some telerik controls in our app, but now for the first time the editor.

The editor control itself appears to be working just fine, but as soon it comes to the dialogs (Link, image, template etc.) things go terribly wrong:

Script errors created when pressing the Link Manager button:

Uncaught ReferenceError: jQuery is not defined
    at ScriptResource.axd?d=cmIcXiVJ__exjjpjrN730holjtn5m-UfCbMUoOhglL6hInC9jE17Ld9Oixk_blI4sj6yLCGkU6gI6F…:1
(anonymous) @ ScriptResource.axd?d=cmIcXiVJ__exjjpjrN730holjtn5m-UfCbMUoOhglL6hInC9jE17Ld9Oixk_blI4sj6yLCGkU6gI6F…:1
ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:31 Uncaught TypeError: Cannot read property 'Down' of undefined
    at ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:31
    at ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:320
(anonymous) @ ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:31
(anonymous) @ ScriptResource.axd?d=ei_BvuPu_kfWuvcXX4wAOJ-UQjJw-LnBbM_BjjxogfYQ_lnzPAGIHQ1bWnVBfbS_Jyv8vXIwLOiaIW…:320
ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:299 Uncaught TypeError: Cannot read property 'registerClass' of undefined
    at ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:299
    at ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:301
(anonymous) @ ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:299
(anonymous) @ ScriptResource.axd?d=qsRpKh5Y3Y02fhrPxQCAxZwXr_sCCFuGXnuo5rhcfQ_DShekNwNvtlfJMMF2By2KN6WjWSdM2NWljW…:301
ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:17 Uncaught TypeError: Cannot read property 'fn' of undefined
    at ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:17
    at ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:59
(anonymous) @ ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:17
(anonymous) @ ScriptResource.axd?d=aoSSiMnLNTC20U5L7LFIKp7wde-WR9typP-cQaZFr9EHmAm324aZN0UlttmkVn-Mj6DWLjhemPn4F3…:59
ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3664 Uncaught TypeError: Cannot read property 'makeArray' of undefined
    at ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3664
    at ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3780
(anonymous) @ ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3664
(anonymous) @ ScriptResource.axd?d=SIX1nT3k5ctYiH_Z5iBDXZqAPDvSfvHyuL0s9qwsUrICnQFkRQ8oTkA10w4gRV071mgTZwf0SrW2fj…:3780
ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:850 Uncaught TypeError: a is not a function
    at c.RadTabStrip._initializeKeyboardNavigation (ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:850)
    at c.RadTabStrip.initialize (ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:1067)
    at c.RadTabStrip.Sys$Component$endUpdate [as endUpdate] (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3685)
    at Sys$Component$create (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3834)
    at Array.<anonymous> (Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&UseRSM=true&renderMode=1&Skin=Default&Titl…:856)
    at ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3484
    at Sys$_Application$_raiseInit [as _raiseInit] (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5084)
    at Sys$_Application$initialize [as initialize] (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:4934)
    at init (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5038)
    at HTMLDocument.check (ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5049)
_initializeKeyboardNavigation @ ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:850
initialize @ ScriptResource.axd?d=J3KXk9aJ0qdg4i-qt8PQkBlhz6AR_6ep6F-89JqR2JCynF_QdEQs5hZMwxYTnyoPGa6DU1PBL7Z89n…:1067
Sys$Component$endUpdate @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3685
Sys$Component$create @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3834
(anonymous) @ Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&UseRSM=true&renderMode=1&Skin=Default&Titl…:856
(anonymous) @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:3484
Sys$_Application$_raiseInit @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5084
Sys$_Application$initialize @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:4934
init @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5038
check @ ScriptResource.axd?d=QEYGzjfrSIuHG2pwUsHWOTTbUK273zRphLw1nwfEQIBkqNxrLZbzsT8k3OrmpQLKotDCFYg7s5sg0e…:5049

Of course the dialogs are not working.

We set up a new test project with the same telerik settings for the web.config and the inpage script manager etc. and of course everything is working :-(. So we can not reproduce the error.

   <telerik:RadScriptManager  ID="SM1" runat="server"  EnableScriptCombine="false">
      <Scripts>
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
         <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
      </Scripts>
   </telerik:RadScriptManager>
   <telerik:RadWindowManager runat="server" ID="Rwm"></telerik:RadWindowManager>
<div class="editContainer">
         <telerik:RadEditor RenderMode="Classic" ID="edit1" Runat="server" Skin="Default"></telerik:RadEditor>
  </div>

      <handlers>
         <remove name="ChartImage_axd" />
         <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
         <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_DialogHandler_aspx" />
         <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_RadUploadProgressHandler_ashx" />
         <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_WebResource_axd" />
         <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
         <remove name="ChartImageHandler" />
         <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </handlers>

 

      <httpHandlers>
         <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
         <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />         
         <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
         <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
         <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
         <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
      </httpHandlers>

Anyone ever stumbled about anything like that?

Rumen
Telerik team
 answered on 24 Feb 2017
1 answer
197 views

Is there any way to have a modal window size properly if the user has used the zoom function on their browser?  I have the window defined as shown below, and it seems to work as desired, unless the user has zoomed the browser.  If the browser is zoomed, the window is outside of the visible bounds at the top and bottom.

<telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" Behavior="Close"
Behaviors="None" EnableViewState="False" CenterIfModal="true" KeepInScreenBounds="true"
InitialBehaviors="Close" Skin="Default" DestroyOnClose="true" ReloadOnShow="False" VisibleStatusbar="False">
</telerik:RadWindow>

 

What is the most current suggestion for opening a modal window where all of the edges are consistently visible?

 

Thanks

Marin Bratanov
Telerik team
 answered on 24 Feb 2017
1 answer
275 views

Is it possible to control the layout of the title image and text on the RadImageAndTextTile?  I would like to decrease the amount of padding on the left and bottom margin for the image as well as increase the left margin between the text and the image in the title section of the tile.   As you can see in the example, I would like to move the text over to the right and the image down a few pixels and left a few pixels.

Can the title section be templated?

Thanks for any insight you can offer.

 

Marin Bratanov
Telerik team
 answered on 24 Feb 2017
1 answer
66 views

I am using $('.ruFileInput').attr('accept', 'image/*'); to apply a filter on an AsnycUpload control with MaxFileInputsCount set to 1. This works great on initial load, but if a user removes the file and clicks to upload a new one, the filter is no longer applied.  I tried using the same jQuery code to re-apply the filter in the OnClientFileUploadRemoved event, but the ruFileInput element hasn't been recreated at this point, so it doesn't work.  Any ideas on how else I can re-apply the filter after a file is removed?

Peter Milchev
Telerik team
 answered on 24 Feb 2017
1 answer
94 views

Hi,

I have the following code : 

 protected void RadScheduler_AppointmentDataBound(object sender, SchedulerEventArgs e)
        {
           

            if (true)
            {
                e.Appointment.BackColor = = Color.Yellow;

            }

            else

            {

              e.Appointment.BackColor = = Color.Red;

            }

}

 

that example works fine on the following views :

- Day View.

- Week View.

- Month View.

But it does not work on the Year view and the Agenda view ! 

So, how can i make it work ?

 

Best regard.

Peter Milchev
Telerik team
 answered on 24 Feb 2017
3 answers
106 views
Hi there,

I have an issue with integrating a dynamic RadMenu in a RadPanelBar.
I am able to create the RadMenu (see Menu.png)

If I integrate the same code in the RadPanelBar the dynamic menu pops up but hovering over the individual menu items don't show the menu items added by the ItemTemplate. 

Anybody any idea?

Regards,

Marcel
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form2" runat="server">
        
        <script type="text/javascript">
           function ExpandItem(panelbar, args) {
               if (args.get_item().get_items.Count != 0 && args.get_item().get_expanded() == false) {
                   args.get_item().set_expanded(true);
               }
               else {
                   args.get_item().set_expanded(false);
               }
           }
       </script>
         
        <asp:ScriptManager ID="ScriptManager1" runat="server">
       </asp:ScriptManager>
       <telerik:RadPanelBar ID="RadPanelBar1" OnClientMouseOver="ExpandItem" runat="server" Skin="Outlook" Width="190px">
           <Items>
               <telerik:RadPanelItem runat="server" Text="Menu" Expanded="true" Selected="true">
                   <Items>
                       <telerik:RadPanelItem runat="server" Value="templateHolder">
                       </telerik:RadPanelItem>
                   </Items>
               </telerik:RadPanelItem>
           </Items>
           <CollapseAnimation Duration="100" Type="None" />
           <ExpandAnimation Duration="100" Type="None" />
       </telerik:RadPanelBar>
    </form>
</body>
</html>
 
public partial class RadPanelBarRadPanelMenu : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            RadPanelItem panelItem = (RadPanelItem)RadPanelBar1.FindItemByValue("templateHolder");
 
            // RadMenu.
            RadMenu rmMenu = new RadMenu();
            rmMenu.Width = Unit.Percentage(100);
            rmMenu.Skin = "Outlook";
            rmMenu.Flow = ItemFlow.Vertical;
            rmMenu.ItemDataBound += new RadMenuEventHandler(RmMenu_ItemDataBound);
 
            // Get categories.
            EPO.Data.Selector2.Category.GetCategories getCategories = new EPO.Data.Selector2.Category.GetCategories();
            getCategories.Main();
 
            rmMenu.DataFieldID = "Category ID";             // DataFieldID
            rmMenu.DataTextField = "Category name";         // DataTextField
            rmMenu.DataSource = getCategories.CategoryTable;
            rmMenu.DataBind();
 
            panelItem.Controls.Add(rmMenu);
 
            foreach (RadMenuItem myItems in rmMenu.GetAllItems())
            {
                myItems.Width = Unit.Percentage(100);
            }
        }
 
        protected void RmMenu_ItemDataBound(object sender, Telerik.Web.UI.RadMenuEventArgs e)
        {
            // Get category ID.
            DataRowView categoryRow = (DataRowView)e.Item.DataItem;
            short categoryID = (short)categoryRow["Category ID"];
 
            RadMenuItem radMenuItem = (RadMenuItem)e.Item;
            RadMenuItem siteMap = new RadMenuItem();
            siteMap.ItemTemplate = new MenuTemplate(categoryID);
            radMenuItem.Items.Add(siteMap);
        }
 
        public class MenuTemplate : ITemplate
        {
            private short _categoryID;
 
            public MenuTemplate(short categoryID)
            {
                _categoryID = categoryID;
            }
 
            public void InstantiateIn(Control container)
            {
                RadMenuItem radMenuItem = (RadMenuItem)container;
 
                // Create RadSiteMap.
                RadSiteMap radSiteMap = new RadSiteMap();
                radSiteMap.Skin = "Outlook";
                radSiteMap.ID = "rsmRadSiteMap";
                radSiteMap.Width = Unit.Pixel(600);
 
                // Create Levelsettings.
                SiteMapLevelSetting siteMapLevelSetting = new SiteMapLevelSetting(0);
                siteMapLevelSetting.ListLayout.RepeatColumns = 3;
                siteMapLevelSetting.ListLayout.RepeatDirection = SiteMapRepeatDirection.Vertical;
 
                // Add Levelsettings to RadSiteMap.
                radSiteMap.LevelSettings.Add(siteMapLevelSetting);
 
                // Get menu by category ID.
                EPO.Data.Selector2.SubCategory.GetMenuByCategoryID getMenuByCategoryID = new EPO.Data.Selector2.SubCategory.GetMenuByCategoryID();
                getMenuByCategoryID.CategoryID = _categoryID;       // Category ID;      
                getMenuByCategoryID.Main();
 
                // Databinding.
                radSiteMap.DataFieldParentID = "Sub category ID";   // DataFieldParentID
                radSiteMap.DataFieldID = "Commodity code";          // DataFieldID
                radSiteMap.DataTextField = "Name";                  // DataTextField
                radSiteMap.DataNavigateUrlField = "Navigate URL";   // DataNavigateUrlField
                radSiteMap.DataSource = getMenuByCategoryID.SubCategoryTable;
                radSiteMap.DataBind();
 
                // Add RadSiteMap to container.
                container.Controls.Add(radSiteMap);
            }
        }
    }


Vessy
Telerik team
 answered on 24 Feb 2017
7 answers
406 views

Hi,

I am using RadFileExplorer and trying to show files from a virtual directory (exists on the same IIS Website). the virtual directory is working fine and accessible from browsers also through <a > as well. But RadFileExplorer shows nothing and is completely blank. I am also not able to debug the issue. please help. Snapshots are attached.

 

Vessy
Telerik team
 answered on 24 Feb 2017
1 answer
228 views

I've looked at a number of threads on this but none have fixed my problem. The DateFormatString="{0:dd MMM yyyy}" is not being applied. This is a date field in the database and it is currently being displayed as mm/dd/ 

Here's the column definition:

 

<telerik:GridDateTimeColumn UniqueName="RECORDSTARTDATE" HeaderText="Record Start Date" DataField="RECORDSTARTDATE" ShowFilterIcon="false"
                         DataFormatString="{0:dd MMM yyyy}" DataType="System.DateTime" HtmlEncode="false" ItemStyle-CssClass="center"
                         CurrentFilterFunction="GreaterThanOrEqualTo" HeaderStyle-Width="120px" />
Eyup
Telerik team
 answered on 24 Feb 2017
0 answers
238 views

I've tried to search, but not much information on how to fix.  The issue is that:

 

1. I have 2 radgrid, radgrid A and radgrid B.

2. When radgrid A gets clicked it will refresh radgrid B with new data 

3. during the refresh it uses the loading panel.

4. If just the "single click" there are no issue.

5. But when you "double click" on grid A, it will cause panel to show up on grid B and NEVER goes away.  

So when I do this in the development enviroment, this is the error I get "unable to get property 'removeChild' of undefined or null reference"

 

I've tried to use "inline" as suggested in one of the thread, no use, still same issue.  Also tried set MinDisplayTime=750 as some suggest, no use either.  

Below is the code, thank you very much!

    <asp:ScriptManager ID="ScriptManager1" runat="server"/>
    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
        <clientevents onrequeststart="onRequestStart" />
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="grdA">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdB" UpdatePanelRenderMode="Inline"
                        LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelHeight="99%" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

 

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" 
            AnimationDuration="500" Skin="Vista" MinDisplayTime="750">
    </telerik:RadAjaxLoadingPanel>

Frank
Top achievements
Rank 1
 asked on 24 Feb 2017
0 answers
149 views

Hi,

Using Radgrid with grouping features (ShowFooter="True" + ShowGroupFooter="true") I'm unable to export to excel the footer (GroupFooters export fine).

I'm using GridExcelExportFormat.Html. The Footer data is a column aggregate sum. Using Telerik 2016, 1, 225, 45.

 

Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) Handles RadGrid1.ItemCommand

If e.CommandName = Telerik.Web.UI.RadGrid.ExportToExcelCommandName Then
           
            RadGrid1.ExportSettings.Excel.Format = GridExcelExportFormat.Html
            RadGrid1.ExportSettings.SuppressColumnDataFormatStrings = True
            RadGrid1.ExportSettings.HideStructureColumns = True
            RadGrid1.MasterTableView.GroupsDefaultExpanded = True
            RadGrid1.ExportSettings.IgnorePaging = True
            RadGrid1.ExportSettings.ExportOnlyData = True
            RadGrid1.ExportSettings.OpenInNewWindow = True
            RadGrid1.MasterTableView.ExportToExcel()
End If

 

Thanks

Arnaud

arnaud
Top achievements
Rank 1
 asked on 23 Feb 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?