Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
296 views
Hello,

I am trying to use a RadListBox to display items that a user has selected on a RadGrid.

There is an instance where, on a button click, I am attempting to add 2000+ items to the radlistbox.  This is all being done in JavaScript.

When adding this many items, the browers (IE 8) displays a message stating that there is script being run on the page that is causing the page to not respond.  I believe this is being caused by having to add so many items to the RadListBox.

Is there a workaround for this, or another control that i can use to display selected items from the grid?  I need to keep this on client side in Javascript.

Here is the script that I am using to add items to the RadListBox (my radlistbox is named rlbSelectedContacts):

                            var rlbSelectedContacts = $find("<%=rlbSelectedContacts.ClientID %>");
                            if (rlbSelectedContacts)
                            {
                                    for (each item in my list of items to add) //this FOR loop could iterate thousands of times
                                    {
                                        var item = new Telerik.Web.UI.RadListBoxItem();
                                        if (item)
                                        {
                                            item.set_text(contactName);
                                            item.set_value(contactId);
                                            rlbSelectedContacts.trackChanges();
                                            rlbSelectedContacts.get_items().add(item);
                                            rlbSelectedContacts.commitChanges();
                                         }
                                    }
                             }


Yana
Telerik team
 answered on 12 Mar 2010
1 answer
112 views
I'm still trying to understand how to move things around in a Date Time picker control. I have a little date box for text input, about a 10-15 px space to the date popup button and then 100 or so pixels to the little clock. HOW do I change where these items are located in the control. Example please!

Thanks,

Joe B
Shinu
Top achievements
Rank 2
 answered on 12 Mar 2010
3 answers
128 views
I have a RadGrid with columns being added programatically in the page_load. Everything works but if I check a column the menu disappears and the column doesnt hide.
Any suggestions?
Tsvetoslav
Telerik team
 answered on 12 Mar 2010
6 answers
131 views
If I have more than one input manager on a page, how can I enable or disable them based on the selection of a dropdown box?  I want to do it client-side so there is no postback. Is that possible?

Here is my code sample: Multuiple Input Manager Sample
Yavor
Telerik team
 answered on 12 Mar 2010
1 answer
134 views
Hi,

  Is it possible to hide the grid rows when the edit form is shown to update the grid rows without using the popup style?
When the edit form opens up, the edit form is displayed just below the edit grid row but with all other grid rows. I would like to display only the edit form without showing other grid rows.

Any ideas?

Thanks,
Rita 


Shinu
Top achievements
Rank 2
 answered on 12 Mar 2010
2 answers
122 views
Hi,
In RecurrenceHourly Frequency is selected, how can i validate if there is no input in the interval?

if not,

In what EVENT will i put or add an exception, so that i could catch the error of the empty interval?
i have tried adding the event RecurrenceExceptionCreated, but when i try to debug, it doesn't go there.

and 1 more, what are the events that will be trigger if i click the save button?

TIA

 

Mark Francisco
Top achievements
Rank 1
 answered on 12 Mar 2010
4 answers
447 views
The controls are only in English, French and German, it it posible to have all grid messages in spanish, or what is the best way to do that??
Thanks in advance ...
    Martín
Diego
Top achievements
Rank 1
 answered on 12 Mar 2010
7 answers
226 views
Hi,
I have 2 drop down list.
DropDownList1 is put inside RadAjaxPanel, and i set the RadAjaxManager where DropDownList1 will update content of DropDownList2 so that the page don't post back when DropDownList1.SelectedIndexChanged is fired.
DropDownList2 is not inside RadAjaxPanel, because i want the post back to happen when DropDownList2.SelectedIndexChanged is fired. But in this case, it's not post back.
What should i do so that my DropDownList1 does not post back (and update DropDownList2 when DropDownList1.SelectedIndexChanged is fired) but my DropDownList2 is post back (when DropDownList2.SelectedIndexChanged is fired)?
Thanks!
Way Hang Wee
Top achievements
Rank 1
 answered on 12 Mar 2010
2 answers
113 views
When one clicks on the +/- button of the node, the node expands and the +/- changes to -.
When I programmatically expand the node, the node expands but the +/- remains +.

How do I address the +/- button in code to get it to behave?
Jeanne Kornkven
Top achievements
Rank 1
 answered on 12 Mar 2010
2 answers
95 views
Hi,

  I created a toolbar with items displaying image only (no texts). How can I get these items then? I know there is a function "findItemByText" but you need to have the text as a reference to the items, but as I said, I do not have it here. For some purposes, I just need to display these items as image only, so putting texts to them is not an option.

 I really appreciate your help!

Thanks,
Arthur
  
Hansik
Top achievements
Rank 1
 answered on 11 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?