Hello,
I need some help on how to control the next button , I am having an application where I have to host a short video and until that video has finished playing I don't want to enable the next button.
I tried few ways through JS but was not able to achieve it , Please help
Hi,
Im trying to use a RadComboBox with items that are being added via JavaScript. I can get the items to add without any issue. However I've noticed that the autocomplete on the drop down doesnt work.
Is autocomplete available from items that have been added via client side methods?
Thanks,
Neil
Hi,
I am working on kendo grid sample App. Where i am getting list of records from WCF service and trying to bind to Kendo Grid. However while returning from controller ,instead of displaying grid ,i am getting download popup with json file and then program terminates.
Following is my controller:-
Function Display(<DataSourceRequest> request As DataSourceRequest) As ActionResult
Dim products As List(Of ServiceReference1.Empolyee) = New List(Of ServiceReference1.Empolyee)
Dim d As New ServiceReference1.Service1Client()
products = d.GetData()
Return Json(products.ToDataSourceResult(request), JsonRequestBehavior.AllowGet)
Vbhtml page:-
@modelType list(of Display_Data.ServiceReference1.Empolyee)
@imports Kendo.Mvc.UI
<link href="~/Content/kendo/2016.1.412/kendo.common.min.css" rel="stylesheet" />
<link href="~/Content/kendo/2016.1.412/kendo.default.min.css" rel="stylesheet" />
<script src="~/Scripts/kendo/2016.1.412/kendo.all.min.js"></script>
@Code
Html.Kendo().Grid(Of Display_Data.Empolyee)() _
.Name("Grid") _
.Columns(Sub(c)
c.Bound(Function(p) p.Name)
c.Bound(Function(p) p.Age)
End Sub) _
.Sortable() _
.Filterable() _
.Events(Function(e) e.DataBound("onDataBound")) _
.DataSource(Sub(d)
d.Ajax().Read(Function(read) read.Action("Display", "Student")).Model(Sub(m)
m.Id(Function(i) i.Name)
End Sub)
End Sub) _
.Render()
End Code
Model class: -
Imports System.ComponentModel.DataAnnotations
Public Class Empolyee
Public Property Name As String
Public Property Age As String
End Class
Can anyone please suggest me what am i missing?
Is the vbhtml page correct ?
Will the Datasource will get populated with the list?
Attached is the snapshot of file which i get as output on returning json.
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.
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;
}
What kind of value can I set for the Telerik.AsyncUpload.ConfigurationEncryptionKey. Is it a random string? If yes how long it should be.
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?