Hey guys, i have been coding a radgrid with the option to export the data as excel and word. That all works just fine also the export, but when i change visible true/false the export buttons suddenly will not trigger as the first time.
I have these export buttons inside a radpagelayout. The 3'rd button "btnAddP" has visibility change, so when i click it it will hide the export buttons. When the visibility is back to export buttons, they don't do anything when clicked. I wanted to hear some suggestions from you guys and maybe if someone have had the same issue and how to handle it properly.
01.<Columns>02. <telerik:LayoutColumn Span="8">03. <telerik:RadPageLayout ID="rplRadgrid" runat="server">04. <telerik:LayoutRow>05. <Columns>06. <telerik:LayoutColumn Span="4">07. <telerik:RadButton ID="ibtnExportAsExcel" runat="server" ToolTip="Excel" OnClick="ibtnExportAsExcel_Click" CssClass="Margin">08. <Image ImageUrl="~/Images/filetype-tiny.xls.png" />09. </telerik:RadButton>10. <telerik:RadButton ID="ibtnExportAsWord" runat="server" ToolTip="Word" OnClick="ibtnExportAsWord_Click" 11. <Image ImageUrl="~/Images/filetype-tiny.doc.png" />12. </telerik:RadButton>13. <telerik:RadButton ID="btnAddP" runat="server" OnClick="btnAddParticipants_Click" 14. <Image ImageUrl="../Images/edit-tiny.png" />15. </telerik:RadButton>16. </telerik:LayoutColumn>17. </Columns>18. </telerik:LayoutRow>......
void ConfigureExport() { radgrid.ExportSettings.UseItemStyles = radgrid.ExportSettings.ExportOnlyData = radgrid.ExportSettings.IgnorePaging = radgrid.ExportSettings.OpenInNewWindow = true; radgrid.ExportSettings.FileName = Resources.c3.Export; }
protected void ibtnExportAsExcel_Click(object sender, EventArgs e) { ConfigureExport(); radgrid.MasterTableView.ExportToExcel(); } protected void ibtnExportAsWord_Click(object sender, EventArgs e) { ConfigureExport(); radgrid.MasterTableView.ExportToWord(); }
protected void btnAddP_Click(object sender, EventArgs e) { tmrChatBoard.Enabled = false; rplUpdateP.Visible = true; rplRadgrid.Visible = false; }

The application that I'm building is a document repository / content management system. I am using the editor for creating AND displaying a read-only verision of the documents. The issue I'm having now is that if the editor is in Preview Mode, the ribbon is disabled (there is functionality in it that we want available at all times... print, export to word, redirect to the full editor version of the page). But if the editor is in Design Mode, any href's are not able to be clicked (they are treated as raw text). I don't want users to be able to type into this editor, so I have it in Design Mode, but with enableEditing set to false. But having enableEditing turned off causes the context menu (where a user could normally follow a link from one of the selections) to not appear and they get the default windows context menu instead.
I'd really prefer to keep the ribbon (for visual consistency) and let it work as designed, as opposed to creating a series of buttons that appear on the top of the page.
Any suggestions on how to overcome this?

I'd like to remove all context menu options except for "Open Link" on the hyperlink context menu. I've tried to manually set the context menus (based off of old code found in the forums), but it doesn't seem to be working. Is there a list somewhere that tells me ALL of the context menus so that I can disable them? And am I missing something on the method of disabling them? The snippet below represents a few things I've tried. It seems to remove the context menu for "A", but that's the one I'm trying to keep (although I'd like to strip it down to the single "Open Link" option).
This is one of the workarounds I'm trying in regards to my other question from a few days ago (no answers on that one yet either)
Thanks so much for any help!
<ContextMenus> <telerik:EditorContextMenu TagName="P" Enabled="false"> <telerik:EditorTool Name="JustifyLeft" Enabled="false" /> <telerik:EditorTool Name="JustifyCenter" Visible="false" /> <telerik:EditorTool Name="JustifyRight" Visible="false" /> <telerik:EditorTool Name="JustifyFull" Visible="false" /> </telerik:EditorContextMenu> <telerik:EditorContextMenu TagName="BODY" Enabled="false"> <telerik:EditorTool Name="Cut" Visible="false" /> <telerik:EditorTool Name="Copy" Visible="false" /> <telerik:EditorTool Name="Paste" Visible="false" /> <telerik:EditorTool Name="PasteFromWord" Visible="false" /> <telerik:EditorTool Name="PastePlainText" Visible="false" /> <telerik:EditorTool Name="PasteAsHtml" Visible="false" /> </telerik:EditorContextMenu></ContextMenus>
I’m using a radgrid with boundcolumns, some of the columns are displayed as percentages. How would I display percentages in the group footer and the grand total footer? It's easy to sum, count fields in footers but I'm stumped with how to create calculated fields in footers.
The percentage would be calculated by sum of one column divided by the other. I looked at the example that uses the CustomAggregates event but if I used that then it would have to create a datatable for every percentage column for every group which would be significant overhead.
Let me know if you have any suggestions.
Thanks,
Bob

hi,
i want to scroll down to the select item in radlistbox
I search the particular word in text box and click the search button , in button click the we change the color but automatically scroll down not work. i need scroll down automatically to the particular string.
I send the screenshot
http://prntscr.com/odyyh6
http://prntscr.com/odyz8x

I was wondering if there was a strategy for getting the Google web crawler to index tabs other than the default one.
I have a page on our web site that uses a TabStrip and only the contents of the default tab are being indexed.
The content for each tab is loaded into a single label control from a database via postback whenever a tab is clicked.
Does anyone have any other strategies they have used?
Thanks,
Charlotte

Hello guys,
We have to open this thread as we're facing a strange behavior with RadEditor when using in a RadMultiPage control. This is happening only on Windows 10 FireFox version 68.0(Quantum) but it may happen on other versions as well.
Prerequisite:
- Asp.Net web forms application, .net framework 4.7.2
- RadMultiPage with some RadPageView controls
- Each RadPageView control having a RadEditor in it. Doesn't matter NewLineMode: P, Div.
Steps:
1. When the page loads, before switching tabs, write few lines in editor. Each line is rendered correct with no extra blank lines between.
2. After switching tabs, doesn't matter which one or how many times, write few lines in editor. Now, after each line, the editor added 1-2-3 extra blank lines.
When saying lines I mean paragraph if NewLineMode=P or div if NewLineMode=Div.
Mention that we are using Telerik Asp.Net Ajax version 2017.2.503.40, embedded resources and 'lightweight' render mode.
I've uploaded 3 screen captures and I also have isolated the case in a mini application to send to you, just let me know where to upload.
I hope I haven't duplicated another thread but I couldn't find anything before starting this.
Regards,
Andrei V.
