Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
677 views

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.

Doncho
Telerik team
 answered on 22 Jun 2021
0 answers
177 views

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?

Sachita
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 21 Jun 2021
1 answer
122 views

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

 

Vessy
Telerik team
 answered on 21 Jun 2021
1 answer
562 views

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

 

Attila Antal
Telerik team
 updated answer on 21 Jun 2021
4 answers
277 views

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?

maral
Top achievements
Rank 1
Iron
 answered on 21 Jun 2021
2 answers
115 views

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.

 

Jason
Top achievements
Rank 1
Iron
 updated answer on 18 Jun 2021
1 answer
112 views
I am assuming this area is part of the vertical scrolling if needed (see grid1.png).  If I resize or re-render the grid after the first load it goes away.  How can I not have this part not showing when the grid first loads (see grid2.png)?  Can I turn off just the vertical scrolling?
Jerry
Top achievements
Rank 2
Iron
Iron
 answered on 18 Jun 2021
1 answer
110 views

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

 

Vessy
Telerik team
 answered on 18 Jun 2021
1 answer
359 views

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.

 

 

Doncho
Telerik team
 answered on 18 Jun 2021
0 answers
500 views

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?

Gregory
Top achievements
Rank 1
 asked on 16 Jun 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?