Hi,
After introducing the Telerik Library and adding Telerik grid to the existing .Net Web application, it causing to load the web page slow compared to the old application( without telerik library and telerik grid). Web page is taking almost 30s to render and the DB returning the data within 3s.
Please provide us the performance improvement steps to introduce telerik to old web application.
Thanks.
Migarted Classic RadTabstrip to Ajax Suite, after that not able to view tabstrips.Using Telerik R32020 version with .Net Framework 4.8.
<telerik:RadAjaxPanel runat="server"> <div style="float: left"> <telerik:RadTextBox runat="server" EmptyMessage="Enter Tag" ID="TagName" MaxLength="255" ClientEvents-OnKeyPress="AddTag"> </telerik:RadTextBox> </telerik:RadAjaxPanel> </div> <div class="bds_section clear"> <telerik:RadTabStrip ID="RadTabStrip1" Skin="MyCustomSkin" EnableEmbeddedSkins="False" CausesValidation="False" MultiPageID="RadMultiPage1" SelectedIndex="0" runat="server" > <Tabs> <telerik:RadTab PageViewID="SummaryPageView" meta:resourceKey="ChangeSummaryTab" runat="server"></telerik:RadTab> <telerik:RadTab PageViewID="DetailPageView" Visible="false" meta:resourceKey="CurrentRecordTab" runat="server"></telerik:RadTab> <telerik:RadTab PageViewID="DuplicatesPageView" ForeColor="Red" Visible="false" meta:resourceKey="DuplicatesTab" runat="server"></telerik:RadTab> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage id="RadMultiPage1" runat="server" SelectedIndex="0"> <telerik:RadPageView ID="SummaryPageView" runat="server"> </telerik:RadPageView> <telerik:RadPageView id="DetailPageView" runat="server"> </telerik:RadPageView> <telerik:RadPageView id="DuplicatesPageView" runat="server"> </telerik:RadPageView> </telerik:RadMultiPage>
RadTabstrip is not rendered in the Page and no data is shown related to the control .No errors in the console.
Attached screenshot(TabStrip.png) is the Expected view when using Classic RadTabstrip.
But its not working in Ajax suite Controls.
Can anyone please help what is causing issue?
Hello
I'm using a RadStrip with a Multipage that conatins two PageViews. (version 2020.1.219.45)
I'm loadig a PDF file on RadPageView2 and it works fine. However, when I switch to RadPageView1 and switch back to RadPageView2, the PDF disapears. It keeps the dark grey backcolor like an empty PDF document. If I resize the browser the PDF is visible again.
It seems this only happends with PDF Files, If I load an Internet Web Page there is no problem at all.
Not shore if you already face this issue with PDF.
Meanwhile I'm trying a workaroud for force a window resize by code.
Please let me know if you have any idea about this.
Regards
Hi Guys
I have a quick question, I have created a page with to RadTextBoxes
1 is set as a Input Field, second one is a multiline and read only. What I try is
I load some text into the readonly RadTextBox, then i search for a text I type into the first RadTextBox, I get back the index of the Textstart I was looking for. So far so good
Now I would like to place the Cursor to the text I am serching for in the readonly textBox and mark the text.
how can I go this?
Many thanks for all who van help
Hello
I've created a simple project with Telerik editor in page. I've added a dropdown that on SelectedIndexChanged would update a label's text on page through ajax.
While EnableHandlerEncryption is enabled in web.config, Editor's font dropdowns will get unresponsive after ajax update.
I've created a simple project to demonstrate the issue. since the compressed project size is 59MBs I'll post each part in separate replies.
am I missing something that causes this issue to happen?
I'm looking to see if there is a way to copy the current image that is in the RadImageEditor into clipboard, and also be able to replace it using Paste.
I need to show the handle / title bar under certain conditions, and have not showing under other conditions. Looking for a way to set the DockHandle to none using javascript.
Is there a way to do this? I tried dock.set_handle(null), and that didn't work.
Thanks,
Dave
Hi there,
I have a radtoggleButton in a grid with two states and I´m creating the new rows using a DataTable source of the Grid.
My question is how I can use the datable to set the second state of the toggle button.
This is how the grid looks like:
And this is the column template for the grid.
I´ve tried to set the value as newRow("Visibility") = "Hide" or adding the button directly to this cell of the row.
Let me know if you have some ideas, please.
Thanks,
Alvaro.
Hello,
For my RadGrid, I need 2 different ways to insert.
So, I declare I want to use User controls,
<EditFormSettings EditFormType="WebUserControl"></EditFormSettings>
and I change programmatically the form to use.
protected void rgrid_ItemCommand(object sender, GridCommandEventArgs e)
{
if (e.CommandName.Equals("AddF"))
{
e.Item.OwnerTableView.EditFormSettings.UserControlName = "../UserControl/UC_PDGInsertionF.ascx";
e.Item.OwnerTableView.InsertItem();
}
else if (e.CommandName.Equals("AddN"))
{
e.Item.OwnerTableView.EditFormSettings.UserControlName = "../UserControl/UC_PDGInsertionN.ascx";
e.Item.OwnerTableView.InsertItem();
}
}
My Command buttons that show the forms work perfectly.
However, my Command buttons don't work on my User controls (both of them).
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UC_PDGInsertionN.ascx.cs" Inherits="UC_PDGInsertionN" %>
<table>
<%-- some code --%>
<%-- Buttons --%>
<tr>
<td align="right" colspan="2">
<asp:Button ID="btnAdd" Text="Cancel" runat="server" CausesValidation="False"
CommandName="Add" Visible="True"></asp:Button>
<asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
CommandName="Cancel" Visible="True"></asp:Button>
</td>
</tr>
</table>
Whether I click on one or the other, I get this exception:
La valeur ne peut pas être null.
Nom du paramètre : virtualPath
Description : Une exception non gérée s'est produite au moment de l'exécution de la requête Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.
Détails de l'exception: System.ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : virtualPath
[ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : virtualPath]
System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +511
Telerik.Web.UI.GridEditFormItem.InitializeUserControlForm(GridColumn[] columns, ControlCollection controls, GridEditFormSettings formSettings) +92
Telerik.Web.UI.GridEditFormItem.InitializeEditForm(GridColumn[] columns) +6349
Telerik.Web.UI.GridEditFormInsertItem.InitializeEditForm(GridColumn[] columns) +37
Telerik.Web.UI.GridEditFormItem.Initialize(GridColumn[] columns) +369
Telerik.Web.UI.GridEditFormItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) +266
Telerik.Web.UI.GridTableView.CreateInsertItem(Boolean useDataSource, GridEnumerableBase resolvedDataSource, ControlCollection rows) +656
Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +3191
Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +1308
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +97
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +207
Telerik.Web.UI.GridTableView.PerformSelect() +23
Telerik.Web.UI.GridTableView.DataBind() +360
Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) +3113
Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) +150
System.Web.UI.Control.LoadRecursive() +154
System.Web.UI.Control.LoadRecursive() +251
System.Web.UI.Control.LoadRecursive() +251
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082
I had to disable AJAX in the RadAjaxManager to be able to see the exception.
Do you any idea of the source of the problem?