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()
Hello, I'm looking at the demo (https://demos.telerik.com/aspnet-ajax/textbox/functionality/validation/defaultvb.aspx) but it doesn't work as it implies it does / as I would expect it to. It seems to wait until I click the "Postback" button before it does any client-side validation, which to me, is too late. Shouldn't the validation happen when the user tabs through a required field leaving it blank, for example?
Weirdly, after the Postback, entering data into the missing field hides the Validation Error Message, and also clearing the data in the field shows the Validation Error Message. Why does it not do this before the first Postback?
After much searching, I found this doc (https://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/jquery-troubleshooting) and couldn't get the Unobtrusive Validation stuff to work on my own, as the article primarily covers, so I just added the "disable" line near the top in the web.config in my own project, and now my project behaves like the demo. But that doesn't really explain why your demo doesn't behave consistently, anyway.

I use ExporttoPDF feature and follow the demo.
I included 2 buttons on the page - server side events.
One button just simple RadScheduler1.ExportToPdf() statement
Second button is the function to bind data to radgrid and then export grid to PDF
<asp:Panel ID="customButtons" runat="server" BorderStyle="None" BorderColor="#FFFFFF"> <telerik:RadButton ID="RadButton2PDF" runat="server" Text="Export to PDF" OnClick="RadButton2PDF_Click" ><Icon PrimaryIconUrl="../Images/PDF.gif"/></telerik:RadButton > <telerik:RadButton ID="Button2Print" runat="server" Text="Print the schedule" OnClick="Button2Print_Click" ><Icon PrimaryIconUrl="../Images/Printer.png"/></telerik:RadButton > </asp:Panel>PDF file has been generated, BUT, when I click on the button, page become inactive and never become active again, loading image is shown and page has never been reloading.
How to eliminate the loading process. I don't need to reload the page on these events. Again both events are server side
Thank you for your help.
