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

Getting Script error on dragging data

1 Answer 34 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Urwi
Top achievements
Rank 1
Urwi asked on 30 Oct 2013, 12:18 PM
Hello,

I have used the Listbox with Drag and Drop functionality. 

My problem is that listbox contains the lots of data and when I drag data from one listbox to another it gives an error like:
"A script on this page is causing your web browser to run slowly.  If it continues to run, your computer might become unresponsive."

I have attached the screen shot of the Error.

I am using telerik version 2012, 2, 710, 40

I have more than 248 records in the listbox 

Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 31 Oct 2013, 04:21 AM
Hi Urwi,

Unfortunately I couldn't replicate the issue at my end. Please have a look into the following code snippet.

ASPX:
<telerik:RadListBox ID="RadListBox1" runat="server" Width="200px" Height="200px"
    AllowTransfer="true" TransferToID="RadListBox2" AutoPostBackOnTransfer="true"
    EnableDragAndDrop="true" DataSourceID="SqlDataSource1" DataTextField="OrderID"
    SelectionMode="Multiple">
</telerik:RadListBox>
<telerik:RadListBox ID="RadListBox2" runat="server" Width="200px" Height="200px"
    EnableDragAndDrop="true">
    <Items>
        <telerik:RadListBoxItem Text="Item1"></telerik:RadListBoxItem>
    </Items>
</telerik:RadListBox>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Northwind_newConnectionString %>"
    SelectCommand="SELECT [OrderID] FROM [Orders]">
</asp:SqlDataSource>

Please Provide your code if it doesn't help.
Thanks,
Shinu.
Tags
ListBox
Asked by
Urwi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or