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

Hi,

I am using Telerik Rad controls in my asp.net web application with version 2011.3.1115.35 (Licensed). I am using Visual studio 2010, IIS 7.5 for application server.

My issue is, one particular page is taking too long time to load like 45-55 Seconds in first time, Second time on wards taking less time like 4-5 sec.

According to my observation, if i click on that page all telerik controls style sheets related to that particular page is going to load with different WebResource.axd requests. If i double click on any WebResource.axd file, it is going to open .CSS file related to Telerik control. Please can any body advice me with sample code like how to optimize this page with less numbers of requests & less time to load.

Please find the attached screen shots for your reference.

Its urgent for me .

 

Thanks n advance.

Regards

Sekhar.

Pavlina
Telerik team
 answered on 10 May 2016
6 answers
746 views
I am running 4.15.08 release of Telerik Ajax controls.
I am using Visual Studio 2008 (fully updated).

I was getting "Errors on page" in IE7. Unchecked disable script debugging. In the Tekerik.Web.UI.Common.Core.js  on this line is the error:

                 Type.registerNamespace("Telerik.Web.UI") 

I have a Telerik Tabstrip on the page. this error occurs when page loads:
              Microsoft JScript runtime error: 'Type' is undefined

Other than the Telerik.Web.UI.dll and Telerik.Web.UI.xml files in the project's bin folder there is nothing else for Telerik in my Solution.

I have no previous versions of telerik installed on this system.

Any ideas for this?

Thank you in advance!
Sagi
Top achievements
Rank 1
 answered on 10 May 2016
1 answer
106 views

Hi, i'm using a RadTreeViewContextMenu, the problem in RadMenu,When I select an option and this option open a popup, when close the popup the RadMenu disappears

aspx:

<div class="row">
                    <asp:Repeater ID="dtlProcesosValor" runat="server">
                        <ItemTemplate>
                            <div class="col-md-4">
                                <asp:HiddenField ID="IdProceso" runat="server" Value='<%# Eval("IdProceso") %>' />
                                <telerik:RadTreeView ID="rtvProcesos" runat="server" OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick" LoadingMessage="<%$ Resources:MensajeCargando %>" DataFieldID="idproceso" DataFieldParentID="procesoantecesor" DataTextField="nombre" DataValueField="idproceso">

                                    <ContextMenus>
                                        <telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server">
                                            <Items>
                                                <telerik:RadMenuItem Value="Editar" Text="Editar" runat="server" PostBack="true" Visible='<%#TienePermisoEdicion() %>'></telerik:RadMenuItem>
                                                <telerik:RadMenuItem Value="Eliminar" Text="Eliminar" runat="server" PostBack="true" Visible='<%#TienePermisoEliminacion() %>'></telerik:RadMenuItem>
                                                <telerik:RadMenuItem Value="Detalle" Text="Detalle" runat="server" PostBack="true" Visible='<%#TienePermisoConsulta() %>'></telerik:RadMenuItem>
                                            </Items>
                                        </telerik:RadTreeViewContextMenu>
                                    </ContextMenus>
                                    <Nodes>
                                        <telerik:RadTreeNode>
                                            <NodeTemplate>
                                                <%# DataBinder.Eval(Container, "Text")%>
                                            </NodeTemplate>
                                        </telerik:RadTreeNode>
                                    </Nodes>
                                </telerik:RadTreeView>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>

 

 

CodeBehind: 

 switch (e.MenuItem.Value)
        {
            case "Editar":
                {
                    Response.Redirect("EdicionProcesos.aspx?Operacion=Buscar&Proceso=" + id);
                    break;
                }

            case "Detalle":
                {
                    Hashtable parametros = new Hashtable();
                    parametros[DetalleProceso.PROCESO] = procesoSeleccionado;
                    Master.AbrirPopupRadWindow(this.Page, "~/Proceso/DetalleProceso.aspx", string.Empty, Comunes.AnchoPopups, Comunes.AltoPopups, parametros);
                    break;
                }

            case "Eliminar":
                {
                    this.ProcesoBorrar = this.ProcesoController.BuscarProceso(procesoSeleccionado);
                    this.MensajeBorradoLogicoFisico.btnBorradoLogico.Enabled = this.ProcesoBorrar.Activo.HasValue && this.ProcesoBorrar.Activo.Value;
                    this.MensajeBorradoLogicoFisico.MostrarMensaje(this.GetLocalResourceObject("msjConfirmarEliminar") != null ? this.GetLocalResourceObject("msjConfirmarEliminar").ToString() : "");
                    break;
                }

When I select an option
When I select an option
Veselin Tsvetanov
Telerik team
 answered on 10 May 2016
3 answers
846 views
In the documentation (http://docs.telerik.com/devtools/aspnet-ajax/controls/asyncupload/security) you can read "In order to encrypt the configuration in a secure way, we strongly recommend to set the custom encryption key in the web config using the following app setting -Telerik.AsyncUpload.ConfigurationEncryptionKey".

 

What kind of value can I set for the Telerik.AsyncUpload.ConfigurationEncryptionKey. Is it a random string? If yes how long it should be.

Hristo Valyavicharski
Telerik team
 answered on 10 May 2016
1 answer
88 views
Hi, i am populating data using telerik radgrid in my project 
and trying to filter columns, intially i am not getting all the filter conditons[few are showing],and when i set 
datatype to system.string i got all the filter conditions but not able to get the result[i am binding numeric values] when i try to filter with 
'greaterthan' for above 2 digit values and if i take datatype as system.int32 its fine but not showing all the filter conditions
.How to get the results with all the filter conditions .thanks 
Viktor Tachev
Telerik team
 answered on 10 May 2016
1 answer
220 views

HI,

I have added a Radwindow to my aspx page as below.

 <telerik:RadWindow ID="rdWin" runat="server" Behaviors="None" AutoSize="false"
            Width="500px" Height="300px" Top="80px" Left="100px" Modal="true" OnClientShow="RadWindowAddOthers_Show" >

 

My AutoSize attribute is false. Inside my "RadWindowAddOthers_Show" method i am resetting few textboxes.

I am using ie11 in Ie9 mode.

<meta http-equiv="X-UA-Compatible" content="IE=9" />

<html class="t-ie t-ie9 _Telerik_IE9">

The above renders as below:

 

<div class="RadWindow RadWindow_Default rwNormalWindow rwTransparentWindow" id="RadWindowWrapper_ctl00_MainPageContentPlaceHolder_rdWin" style="top:770px;left: 433px; width: 500px; height: 300px; visibility: visible; position: absolute; z-index: 3002; transform: none;" unselectable="on"><table class="rwTable" style="height: 300px;" cellSpacing="0" cellPadding="0">

 

The top and left attributes are not as per the given values.

Also in the content template i have a div as follows which encloses all the content:

<div class="RadGrid RadGrid_Default" style="width: 500px;">

As an attempt to fix i have modified it to the following to make sure my content height is calculated properly:

<telerik:RadWindow ID="rdWin" runat="server" Behaviors="None" AutoSize="true"
            Width="500px" Height="300px" Top="80px" Left="100px" Modal="true" OnClientShow="RadWindowAddOthers_Show" OnClientAutoSizeEnd="OnClientAutoSizeEnd">

        function OnClientAutoSizeEnd(sender) {
            if ($telerik.isIE9) {
                setTimeout(function () {
                    sender.set_height(sender.get_height());
                }, 0);
            }
        }

I see that the radwindow is still positioned wrongly(i mean the top and left attributes are wrong). Can anyone suggest a fix to this issue?

Marin Bratanov
Telerik team
 answered on 10 May 2016
4 answers
296 views
Hi,
I am using radconfirm dialog box to show a confirmation if user wants to remove the records with OK button and cancel link.
Now I am trying to implement radconfirm dialog box to show a confirmation to user when he click on open button; then a confirmation popup should open which will say "Hey, do you want to save it". it will have 2 buttons - yes, no. here cancel link will not come.

Please suggest How I can implement 2 radconfirm on single page or I can reuse the existing radconfirm dialog box and how?

thanks
Marin Bratanov
Telerik team
 answered on 10 May 2016
6 answers
2.5K+ views
Hi all,

I'm getting this error when loading my grid. I'm using ItemDataBound to replace numbers in the grid with names. what could be the problem.

Thanks,

Hamda
Sk
Top achievements
Rank 1
 answered on 09 May 2016
3 answers
791 views

All my telerik controls are not working when deploy to server. 

the screenshot 1.jpg shows the telerik control that I deploy on Live, the screenshot 2.jpg shows the telerik control that is my development laptop and it working perfectly. 

Question

Kindly help me if I need to register the dll link in the server?  

Thanks in advance

Vessy
Telerik team
 answered on 09 May 2016
2 answers
148 views

Telerik Team,
We are using ASP.NET Telerik RadTextBox controls in our application. Lets say I entered some text of 10 characters long and click on search button.
After the page postbacks(ajax postabck) we are seeing the search text entered in the textbox getting trimmed off from the right side.
This is only happening in if I enable Enterprise Mode internet explorer Version 11. By going into Tools > Enterprise Mode
Any help would be really appreciated.

Thanks,

Nishith Ghoshal


Maria Ilieva
Telerik team
 answered on 09 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?