
Dears,
I'm using a PdfViewer and I hided the download button, but still visitor can see the path of the file from the page source.
How can I prevent visitors to see the file path, If any way to give the PdfViewer the file stream object instead of the path?
Note:
The file path is coming from database in string format.
Thank you for your help.

Hi all,
currently we have the problem, that if we paste text with "Enter" in it, the br-Tag shows up in the HTML instead of the p-Tag. In the settings we choose new lines as paragraphs.
We could reproduce this behaviour in the demo editor:
https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
1. Select Paragraps
2. Copy a text with with paragraps
3. Paste it (Even if we use paste plain text)
4. See that there are br-Tags
Is there anything we can do?
Best regards,
Anna

The content of my grid is 100% dynamic, so using NeedDataSource is not an option. I know the Telerik recommendation for advanced blah blah blah is to use NeedDataSource. Not going to happen...which brings me to my question..
How to export the data in the grid, as it exists, to a PDF file without the NeedDataSource event? Not overly thrilled about the possibility of rebinding either. The grid could contain thousands of rows.
Hello all,
I have a problem with the RabTab control when I change the selected tab. The dll version is 2017.3.913.
The page structure is
RadMultiPage which contains 7 Page views and has the attribute RenderSelectedPageOnly="true". Inside each page view there is a radgrid control.
The issue is when I change the tab, the grid inside the pageview doesn't display.
Here is the code
Default.aspx
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="reloadingPanel" ClientEvents-OnRequestStart="onRequestStart">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="tabStrip1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="tabStrip1"></telerik:AjaxUpdatedControl>
<telerik:AjaxUpdatedControl ControlID="radMP1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="radMP1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radMP1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="grid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="grid1" LoadingPanelID="reloadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="grid2">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="grid2" LoadingPanelID="reloadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
<!--more grids-->
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadTabStrip ID="tabStrip1" runat="server" MultiPageID="radMP1" onTabClick="tabStrip1_TabClick">
<Tabs>
<telerik:RadTab TabIndex="1" PageViewID="pv1" Text="tab 1" Selected="true"></telerik:RadTab>
<telerik:RadTab TabIndex="2" PageViewID="pv2" Text="tab 2"></telerik:RadTab>
<telerik:RadTab TabIndex="3" PageViewID="pv3" Text="tab 3"></telerik:RadTab>
<telerik:RadTab TabIndex="4" PageViewID="pv4" Text="tab 4"></telerik:RadTab>
<telerik:RadTab TabIndex="5" PageViewID="pv5" Text="tab 5"></telerik:RadTab>
<telerik:RadTab TabIndex="6" PageViewID="pv6" Text="tab 6"></telerik:RadTab>
<telerik:RadTab TabIndex="7" PageViewID="pv7" Text="tab 7"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="radMP1" runat="server" RenderSelectedPageOnly="true">
<telerik:RadPageView ID="pv1" runat="server" Selected="true">
<div style="padding:10px 10px 10px 10px;background-color:#dcdcdc;height:20px">
<div style="clear:left;float:left;width:1030px;">
<div style="clear:left;float:left;width:340px;">
<telerik:RadButton ID="btnOpenRanking" runat="server" Text="Adjust Ranking" ToolTip="Adjust Ranking" OnClick="btnOpenRanking_Click" />
<telerik:RadButton ID="btnSaveRanks" runat="server" Text="Save Ranking" ToolTip="Save Ranking" Visible="false" OnClick="btnSaveRanks_Click" />
<telerik:RadButton ID="btnCancelRanks" runat="server" Text="Cancel" ToolTip="Cancel Ranking" Visible="false" OnClick="btnCancelRanks_Click" />
<asp:Label ID="lblUnrankedMessage" runat="server" Text="(Num Unranked Here)" ForeColor="Red"></asp:Label>
</div>
</div>
</div>
<telerik:RadGrid ID="grid1" runat="server" AutoGenerateColumns="false" DataSourceID="" ShowGroupPanel="true" GroupingEnabled="true"
AllowFilteringByColumn="true" CellSpacing="0" GridLines="None" EnableLinqExpressions="false"
OnInit="grid_Init" OnItemDataBound="grid_ItemDataBound" OnItemCommand="grid_ItemCommand" OnPageIndexChanged="grid_PageIndexChanged"
OnGroupsChanging="grid_GroupsChanging" OnPageSizeChanged="grid_PageSizeChanged" OnNeedDataSource="grid_NeedDataSource"
AllowPaging="true" AllowCustomPaging="true" VirtualItemCount="100000" PageSize="50" AllowSorting="true" ShowFooter="true">
<ClientSettings AllowColumnsReorder="true" AllowDragToGroup="true" Scrolling-UseStaticHeaders="true" />
<MasterTableView CommandItemDisplay="Top" AllowMultiColumnSorting="true" DataKeyNames="lcs_event_ticket_id">
<CommandItemSettings ShowExportToExcelButton="true" ShowExportToPdfButton="false" ShowAddNewRecordButton="false" ShowRefreshButton="true" />
<RowIndicatorColumn Visible="true" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
<ExpandCollapseColumn Visible="true" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
<Columns>
<!--COLUMNS DEFINITION-->
</Columns>
</MasterTableView>
</telerik:RadGrid>
</telerik:RadPageView>
<telerik:RadPageView ID="pv2" runat="server">
<div style="padding:10px 10px 10px 10px;background-color:#dcdcdc;height:20px">
<div style="clear:left;float:left;width:1030px;">
<div style="clear:left;float:left;width:340px;">
<telerik:RadButton ID="btnOpenRanking1" runat="server" Text="Adjust Ranking" ToolTip="Adjust Ranking" OnClick="btnOpenRankingChicago_Click" />
<telerik:RadButton ID="btnSaveRanks1" runat="server" Text="Save Ranking" ToolTip="Save Ranking" CommandArgument="4" Visible="false" OnClick="btnSaveRanksRegion_Click" />
<telerik:RadButton ID="btnCancelRanks1" runat="server" Text="Cancel" ToolTip="Cancel Ranking" Visible="false" OnClick="btnCancelRanks_Click" />
<asp:Label ID="lblUnrankedMessage1" runat="server" Text="(Num Unranked Here)" ForeColor="Red"></asp:Label>
</div>
</div>
</div>
<telerik:RadGrid ID="grid2" runat="server" AutoGenerateColumns="false" DataSourceID="" ShowGroupPanel="true" GroupingEnabled="true"
AllowFilteringByColumn="true" CellSpacing="0" GridLines="None" EnableLinqExpressions="false"
OnInit="grid_Init" OnItemDataBound="grid2_ItemDataBound" OnItemCommand="grid2_ItemCommand" OnPageIndexChanged="grid2_PageIndexChanged"
OnGroupsChanging="grid2_GroupsChanging" OnPageSizeChanged="grid2_PageSizeChanged" OnNeedDataSource="grid2_NeedDataSource"
AllowPaging="true" AllowCustomPaging="true" VirtualItemCount="100000" PageSize="50" AllowSorting="true" ShowFooter="true">
<ClientSettings AllowColumnsReorder="true" AllowDragToGroup="true" Scrolling-UseStaticHeaders="true" />
<MasterTableView CommandItemDisplay="Top" AllowMultiColumnSorting="true" DataKeyNames="lcs_event_ticket_id">
<CommandItemSettings ShowExportToExcelButton="true" ShowExportToPdfButton="false" ShowAddNewRecordButton="false" ShowRefreshButton="true" />
<RowIndicatorColumn Visible="true" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
<ExpandCollapseColumn Visible="true" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
<Columns>
<!--COLUMNS DEFINITION-->
</Columns>
</MasterTableView>
</telerik:RadGrid>
</telerik:RadPageView>
<!--MORE PAGE VIEWS WITH A GRID-->
</telerik:RadMultiPage>
Default.cs
protected void tabStrip1_TabClick(object sender, RadTabStripEventArgs e)
{
switch (e.Tab.TabIndex)
{
case 1:
grid1.Rebind();
break;
case 2:
grid2.Rebind();
break;
}
tabStrip1.MultiPage.SelectedPageView.ID = e.Tab.PageViewID;
tabStrip1.MultiPage.SelectedPageView.Selected = true;
tabStrip1.MultiPage.SelectedPageView.Visible = true;
}
Thanks in advance,
Artemisa


I have a RadAsyncUpload and the function for OnClientValidationFailed is getting called with a wrong file size error even though the file is well within the size limit.
Markup
<telerik:RadAsyncUpload runat="server" ID="fUploader" PostbackTriggers="btnSendEmail,btnSaveDraft" OnClientValidationFailed="fileUploadValidationFailed"></telerik:RadAsyncUpload>
server side
fUploader.TargetFolder = uploadPath
fUploader.AllowedFileExtensions = New String() {"*.jpg", "*.png", "*.gif", "*.jpeg", "*.bmp", "*.tiff", "*.pdf", "*.gpx", "*.tcx"}
fUploader.MaxFileSize = 2500000
javascript
function fileUploadValidationFailed(sender, args) {
var fileExtention = args.get_fileName().substring(args.get_fileName().lastIndexOf('.') + 1, args.get_fileName().length);
if (args.get_fileName().lastIndexOf('.') != -1) {//this checks if the extension is correct
if (sender.get_allowedFileExtensions().indexOf(fileExtention.toLowerCase()) == -1) {
alert("File type selected is not allowed. Valid file types are .jpg, .png, .gif, .jpeg, .bmp, .tiff, .pdf, .gpx, .tcx");
}
else {
alert("File too large. Max file size 2 MB.");
}
}
else {
alert("File type selected is not allowed. Valid file types are .jpg, .png, .gif, .jpeg, .bmp, .tiff, .pdf, .gpx, .tcx");
}
}
web.config
<system.web>
<httpRuntime maxRequestLength="8192"/>
Hi,
i have attached a LoadingPanel to my RadScheduler.How can I get it to display when loading/saving the AdvancedForm, but not for every single postback on the form. I have a multitude of checkboxes on there & getting the loading screen for every tick/untick is really slowing things down.
I've had a brief look at OnRequestStart, but I don't see how to narrow down the postback event being applied to the scheduler.
Thanks,
Ellie
01. var currentLoadingPanel = null;02. var currentUpdatedControl = null;03. function RequestStart(sender, args) {04. currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");05. 06. if (args.get_eventTarget() == "<%= RadScheduler1.UniqueID %>") {07. currentUpdatedControl = "<%= RadScheduler1.ClientID %>"; 08. 09.<%--something needs to go here to identify the postbacks i do / don't want the panel for --%>10. 11. currentLoadingPanel.show(currentUpdatedControl);12. }13. }
The current Telerik version used in our project is (v.2012.3.1308.45 Dev). I am trying to upgrade this to 2020.2.617(Trial) version in Visual Studio 2019 using the steps mentioned in the link https://docs.telerik.com/devtools/aspnet-ajax/general-information/integration-with-visual-studio/visual-studio-extensions/upgrade-wizard but I encounter error mentioned below. I have also attached a screenshot of error window for your reference. Please help me with this issue.
An error occurred while running the wizard.
Error executing custom action
Telerik.Web.UI.VSX.Actions.MultiProjectUpdateReferencesAction:
System.NotSupportedException: Specified method is not supported.
at
Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReferences.Remove(OAVSReference
reference)
at
Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReference.Remove()
at
Telerik.VSX.Internal.ProjectManagement.ApplicationProjectAssemblyReference.RemoveReference()
at
Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.RemoveReferences()
at
Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.UpdateReferences()
at
Telerik.VSX.Actions.UpdateReferencesAction.UpdateReferences(IProjectWrapUIComponents
projectWrap)
at
Telerik.VSX.Actions.UpdateReferencesAction.Execute(WizardContext wizardContext,
IPropertyDataDictionary arguments, IProjectWrap project)
at Telerik.VSX.Actions.ProjectActionBase.Telerik.VSX.Actions.IProjectAction.Execute(IWizardContext
wizardContext, IPropertyDataDictionary arguments, IProjectWrap projectWrap)
at
Telerik.VSX.Actions.MultiProjectActionBase`1.Execute(WizardContext
wizardContext, IPropertyDataDictionary arguments)
at
Telerik.VSX.Actions.MultiProjectUpdateReferencesActionBase`1.Execute(WizardContext
wizardContext, IPropertyDataDictionary arguments)
at
Telerik.VSX.WizardEngine.Actions.ActionBase.Telerik.WizardFramework.IAction.Execute(IWizardContext
wizardContext, IPropertyDataDictionary arguments)
at
Telerik.VSX.WizardEngine.ActionManager.ExecActions()