Hi,
In one aspx page i have 2 tabs with 2 different css styles, both style i saved in external css pages. when i call both style pages and added in cssclass for radtab, both style reflect in both tabs. How to use different style for 2 or more tabs in same aspx page.Below is my code.
Css pages
<link href="CustomSkins/UnderlineTab.css" rel="stylesheet" /> - With bottom line
<link href="CustomSkins/RoundedTab.css" rel="stylesheet" /> - Rounded corner tab
First Tab:
<telerik:RadTabStrip ID="PageTab1" CssClass="UnderlineTab" RenderMode="Lightweight" EnableEmbeddedSkins ="false" OnClientTabSelecting="PageTab_OnClientTabSelecting" MultiPageID="MultiPage" runat="server" Orientation="HorizontalBottom" SelectedIndex="3">
Second Tab:
<telerik:RadTabStrip ID="PageTab2" CssClass="RoundedTab" RenderMode="Lightweight" EnableEmbeddedSkins ="false" OnClientTabSelecting="PageTab_OnClientTabSelecting" MultiPageID="MultiPage" runat="server" Orientation="HorizontalBottom" SelectedIndex="3">
Screenshots if hide one styles :
1.http://prntscr.com/tcio50
2.http://prntscr.com/tcios3
If i enable both css,both style reflect in same tabs -- http://prntscr.com/tcip58
Below are Rounded CSS style
div.RadTabStrip .rtsLevel {
border-color: transparent;
}
div.RadTabStrip .rtsLI,
div.RadTabStrip .rtsLI.rtsHovered {
margin-right: 10px;
border: none;
}
div.RadTabStrip .rtsLI .rtsLink,
div.RadTabStrip .rtsLI.rtsHovered .rtsLink,
div.RadTabStrip .rtsLI.rtsSelected .rtsLink {
background: none;
border: none;
box-shadow: none;
}
div.RadTabStrip .rtsLevel .rtsLI.rtsSelected .rtsLink:before {
background: none;
border: none;
}
div.RadTabStrip .rtsLI.rtsSelected {
background-color: orange;
border-radius: 25px;
}
div.RadTabStrip .rtsLI.rtsSelected .rtsLink {
color: white;
}
----------------------------------------------------------------------------------
Below are Underline Css Style
div.RadTabStrip .rtsLevel {
border-color: transparent;
}
div.RadTabStrip .rtsLI,
div.RadTabStrip .rtsLI.rtsHovered {
margin-right: 10px;
border: none;
color :black;
}
div.RadTabStrip .rtsLI .rtsLink,
div.RadTabStrip .rtsLI.rtsHovered .rtsLink,
div.RadTabStrip .rtsLI.rtsSelected .rtsLink {
background: none;
border: none;
box-shadow: none;
}
div.RadTabStrip .rtsLevel .rtsLI.rtsSelected .rtsLink:before {
background: none;
border: none;
}
div.RadTabStrip .rtsLI.rtsSelected {
color :cornflowerblue;
font-weight :700 ;
border-bottom-width :inherit;
border-bottom-style:solid ;
border-bottom-color :cornflowerblue;
border-radius: 0px;
}
div.RadTabStrip .rtsLI.rtsSelected .rtsLink {
color: cornflowerblue;
}
Pls reply Asap
Thanks
Hi.
We have a page with RadEditor placed into an iframe. Opening dialog when a size of dialog is bigger than the size of iframe looks not good (radwindow-dialog.png).
We tried to use browser modal dialog by calling client-side function set_useClassicDialogs(true). In this case, the popup dialog is smaller than the content and we need to scroll or maximize the window (browser-modal-dialog.png).
We use 2020.1.219.35 version.
Any suggestions to get auto-resized dialog over iframe would be much appreciated.

I have a landscape formated output directed to the PDF export from my RadGrid and the data has recently extended to a new page. Is there a way to scale to a single page? The below is what I'm using to setup the PDF prior to export.
grdScoreCardDashboard.ExportSettings.Pdf.BorderType = GridPdfSettings.GridPdfBorderType.AllBorders
grdScoreCardDashboard.ExportSettings.OpenInNewWindow = True
grdScoreCardDashboard.ExportSettings.IgnorePaging = True
grdScoreCardDashboard.ExportSettings.Pdf.PageHeight = Unit.Parse("162mm")
grdScoreCardDashboard.ExportSettings.Pdf.PageWidth = Unit.Parse("600mm")
grdScoreCardDashboard.ExportSettings.Pdf.PageRightMargin = Unit.Parse("5mm")
grdScoreCardDashboard.ExportSettings.Pdf.PageLeftMargin = Unit.Parse("5mm")
grdScoreCardDashboard.ExportSettings.Pdf.PageLeftMargin = Unit.Point(-1)
grdScoreCardDashboard.ExportSettings.Pdf.PageRightMargin = Unit.Point(-1)
grdScoreCardDashboard.ExportSettings.Pdf.PageTopMargin = Unit.Point(-2)
grdScoreCardDashboard.ExportSettings.Pdf.PageBottomMargin = Unit.Point(-2)
grdScoreCardDashboard.ExportSettings.Pdf.Title = "Score Card"
grdScoreCardDashboard.ExportSettings.Pdf.PaperSize = GridPaperSize.Letter
grdScoreCardDashboard.ExportSettings.FileName = String.Format("ScoreCardOutput-{0}", DateTime.Now.ToString("yyyyMMddhhmmss"))
grdScoreCardDashboard.ExportSettings.Pdf.AllowPrinting = True
grdScoreCardDashboard.ExportSettings.Pdf.AllowModify = True
grdScoreCardDashboard.ExportSettings.Pdf.AllowCopy = True
grdScoreCardDashboard.ExportSettings.ExportOnlyData = True
grdScoreCardDashboard.ExportSettings.Pdf.FontType = Telerik.Web.Apoc.Render.Pdf.FontType.Embed
grdScoreCardDashboard.Width = Unit.Percentage(100)
grdScoreCardDashboard.Height = Unit.Percentage(100)

I need a way of reset all entries from AutoCompleteBox including:
1) Remove all entries from the entries array; and
2) Remove all tokens from text box
I need to do this programmatically in server side code.
Thanks!
Not lucky getting RadGrid populated. I have a RadAutoCompleteBox where user can a code used as parameter of a stored procedure and the result should populate the grid in three columns. I tried to made it as simpler as possible but my grid is not showing up anything.
My code ASPX:
<form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadAjaxManager ID="ajaxmanager1" runat="server" EnableAJAX="true"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAutoCompleteBox1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadAutoCompleteBox1" LoadingPanelID="radloadingpanel1" /> <telerik:AjaxUpdatedControl ControlID="lblOEValue" LoadingPanelID="radloadingpanel1" /> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="radloadingpanel1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="btnSearch"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadAutoCompleteBox1" LoadingPanelID="radloadingpanel1" /> <telerik:AjaxUpdatedControl ControlID="lblOEValue" LoadingPanelID="radloadingpanel1" /> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="radloadingpanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="radloadingpanel1" runat="server" AnimationDuration="0" InitialDelayTime="1000"> </telerik:RadAjaxLoadingPanel> <telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteBox1" ClientID="RadAutoCompleteBox1" > <!-- I supressed details because auto complete box is working fine --> </telerik:RadAutoCompleteBox> <telerik:RadGrid ID="RadGrid1" runat="server" autopostback="true"> <MasterTableView AutoGenerateColumns="true"> <Columns> <telerik:GridBoundColumn DataField="Description" UniqueName="Description"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ConditionsAndOptions" UniqueName="ConditionsAndOptions"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="RetailPrice" UniqueName="RetailPrice"> </telerik:GridBoundColumn> </Columns> </MasterTableView> </telerik:RadGrid> <asp:Button id="btnSearch" Text="Search" OnClick="btnSearch_Click" autopostback="true" runat="server"/><br /> <div style="display:none"> <asp:label ClientID="lblOEValue" id="lblOEValue" ClientIDMode="Static" autopostback="true" visible="true" runat="server" ></asp:label> </div></form>
My VB code:
Protected Sub RadAutoCompleteBox1_EntryAdded(sender As Object, e As Telerik.Web.UI.AutoCompleteEntryEventArgs) lblOEValue.Text = e.Entry.TextEnd SubProtected Sub RadAutoCompleteBox1_EntryRemoved(sender As Object, e As Telerik.Web.UI.AutoCompleteEntryEventArgs) lblOEValue.Text = ""End SubProtected Sub btnSearch_Click(sender As Object, e As EventArgs) Dim myConn As SqlConnection = New SqlConnection(ConfigurationManager.AppSettings("myconnection"))
Dim adapter As SqlDataAdapter = New SqlDataAdapter Dim myDataTable As New DataTable adapter.SelectCommand = New SqlCommand("EXEC [dbo].[] '" + lblOEValue.Text + "'", myConn) myConn.Open() adapter.Fill(myDataTable) RadGrid1.DataSource = myDataTable myConn.Close()
End Sub
What am I missing here?

Hi,
We've downloaded the latest version of the Telerik libraries - 2017.2.711.45 - and when we drop them into our web application we get the error
Error occurred during a cryptographic operation
with the stack trace pasted at the end of this message in our log files.
The error itself is pretty generic and suggested fixes include clearing the browser cache or tokens from the UserTokenCaches table. However, none of these solutions is working for us, so we've had to do a bit more digging.
What we've discovered is that this error is occuring on any page that uses the RadAsyncUpload control (we're not sure that it's only this control but other Telerik controls seem to be fine). It only happens with the 2017.2.711.45 libraries - if we copy back in the 2017.2.503.45 libraries our web application works again as normal.
We've tried recreating the problem in a simple web application but we can't and our real web application is far too complex to whittle down to demonstrable size.
Any help would be appreciated.
Stephen.
2017-09-01 15:49:08,552 [33] [Admin] [pftilg0judh5r3uukzo3cyew] [(null)] ERROR UI.Web.Global - Application_Error : Unhandled exception.
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Security.Cryptography.CryptographicException: Error occurred during a cryptographic operation.
at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.HomogenizeErrors(Func`2 func, Byte[] input)
at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.Protect(Byte[] clearData)
at System.Web.Security.MachineKey.Protect(ICryptoServiceProvider cryptoServiceProvider, Byte[] userData, String[] purposes)
at System.Web.Security.MachineKey.Protect(Byte[] userData, String[] purposes)
at Telerik.Web.UI.CryptoService.EncryptWithMachineKey(String clearText)
at Telerik.Web.UI.CryptoService.Encrypt(String plainString)
at Telerik.Web.UI.RadAsyncUpload.DescribeComponent(IScriptDescriptor descriptor)
at Telerik.Web.UI.RadWebControl.Telerik.Web.IControl.DescribeComponent(IScriptDescriptor descriptor)
at Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control)
at Telerik.Web.UI.RadWebControl.GetScriptDescriptors()
at Telerik.Web.UI.RadWebControl.System.Web.UI.IScriptControl.GetScriptDescriptors()
at System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl)
at Telerik.Web.UI.RadWebControl.RegisterScriptDescriptors()
at Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.PageRequestManager.RenderFormCallback(HtmlTextWriter writer, Control containerControl)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.HtmlFormWrapper.System.Web.UI.IHtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.PageRequestManager.RenderPageCallback(HtmlTextWriter writer, Control pageControl)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.members_framework_frameworklisting_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs\82ed21aa\e4b970d2\App_Web_mg1k0qrw.1.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I know there have been previous similar old threads to this but I still keep getting this error message
Doesn't come up all the time but stops the project from building and therefore you cant run it
it always refers to the same sub on multiple pages
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Web.UI.AjaxRequestEventArgs)
various lines of code....
End Sub
And on the pages in question, in page load I have the following:
Dim manager As RadAjaxManager = RadAjaxManager.GetCurrent(Page)
AddHandler manager.AjaxRequest, AddressOf RadAjaxManager1_AjaxRequest
The project is running the latest extensions (2020.2.617) and i have been through the upgrade wizard
ANY HELP?
really starting to be a pain in the back side!
I have a RadGrid I'm exporting to excel but for cells with zeros it's not formating cell for Decimal with two places. I'm using the below to set the cell text and it works fine for Cell values other than Zero.
cell.Text = decValue.ToString("n2")

Hi!
I want to swap a RadGridView with a RadListView Control.
One issue I have at them moment is applying a filter to the RadListView.
Before (with RadGrid) I used:
Dim filterExpression As String
filterExpression = "(ProductID = " & drp_Products.SelectedValue.ToString & ")"
RadGrid_Search.MasterTableView.FilterExpression = filterExpression
RadGrid_Search.MasterTableView.Rebind()
How can I do the same thing with RadListVIew?
Thanks, Tom
Hi!
I have a tiny rotating animation (GIF) to tell my users to wait while data is being retrieved, so I need to show or hide it depending on the situation.
I would like to know if there is an appropriated Telerik container that I could use to put my GIF inside and control its visibility from code behind I tried to use a regular DIV but it is not showing/hiding accordingly.
Thanks!