This is a migrated thread and some comments may be shown as answers.

TypeError When using on Radgrid Edit

2 Answers 19 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
João
Top achievements
Rank 1
João asked on 07 Aug 2014, 11:49 AM
Hello,

Even though we bought the licence recently im getting a javascript error when using a RadListbox in a a UserControl then is called on a RadGrid.

When its called in ASPX, it does not verify the same behavior, in other words all goes well.

The userControl its quite simple

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="IncidenteComentarios.ascx.cs" Inherits="CRM.Ui.Web.IncidenteComentarios" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadToolBar runat="server" ID="ToolBar" AutoPostBack="true" Skin="Windows7">
    <Items>
        <telerik:RadToolBarButton Text="Guardar" CommandName="PerformInsert" CommandArgument="" />
        <telerik:RadToolBarButton Text="Guardar / Novo" CommandName="PerformInsert" CommandArgument="New" />
        <telerik:RadToolBarButton Text="Cancelar" CommandName="Cancel" />
    </Items>
</telerik:RadToolBar>
<br />
<telerik:RadListBox ID="lstRecursos" runat="server" CheckBoxes="true" Width="350px"
    DataTextField="_Descricao" DataValueField="_Codigo" DataKeyField="_Codigo" Height="200px">
</telerik:RadListBox>

At this sample no operations are taken on server.

Thanks

2 Answers, 1 is accepted

Sort by
0
João
Top achievements
Rank 1
answered on 08 Aug 2014, 11:30 AM
After some reasearch i've updated the RadScriptManager with the enableScriptCombine = False and it works that way.



Is there any workaround for combining scripts? I had some requests on
webresources it the property turn true, now probably have doubled.



Any ideias?
0
Princy
Top achievements
Rank 1
answered on 08 Aug 2014, 12:03 PM
Hi João,

Please have a look into this help documentation which discuss about some General Exceptions.

Hope this will helps you.
Thanks,
Princy.
Tags
ListBox
Asked by
João
Top achievements
Rank 1
Answers by
João
Top achievements
Rank 1
Princy
Top achievements
Rank 1
Share this question
or