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

Ajaxified Postaback on List Box and Move Up/Down text

2 Answers 45 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 23 Nov 2009, 03:20 PM
Hi,

I would like to use Telerik List Box.  From demo what i can get is we can Move items up and down using javascript and pistback.

But I would like to know whether Ajaxified Posbacks are allowed while Move Up and Move down button in page? If yes how can i achieve it?

Also, i would liek to have text "Move Up" and Move Down" in place of Up/Down arrows.

Request you to please suggest on this.

Thanks and regards,
Manish Patel

2 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 23 Nov 2009, 10:27 PM
You can see a few different approaches to the re-ordering in this demo. If you un-check the postback on reorder option you can see that there are no calls made back  to the server, however if you are trying to do anything server-side certain events won't be fired. If you take use of the RadAjaxmanager you should be able to have an Ajaxified version of the ListBox which will just do partial postbacks when you re-order.

As for having custom buttons (or anything custom really) you can look into this example posted by a Telerik Team member.
0
Veselin Vasilev
Telerik team
answered on 25 Nov 2009, 02:41 PM
Hi Manish,

In addition to what Schlurk said: you can use the RenderButtonText property of the ButtonSettings property to show the text of the buttons instead of the arrows. In addition you can utilize the Localization property to change the text if you wish.

Best wishes,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ListBox
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Veselin Vasilev
Telerik team
Share this question
or