Hi,
In this example below, how can we change the alternate text or tooltip for the buttons between the listboxes?
I wanted to add the tooltip as move left, move right, etc.
URL: http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/draganddrop/defaultcs.aspx
Thanks
5 Answers, 1 is accepted
0
Hi Paladin,
Please add the following javascript to your page:
All the best,
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.
Please add the following javascript to your page:
<script type=
"text/javascript"
>
function
pageLoad() {
window.$ = $telerik.$;
$(
".rlbButton"
).each(
function
(b) {
var
className =
this
.className;
if
(className.indexOf(
"TransferFrom"
) > -1) {
this
.title =
"Move right"
;
return
;
}
if
(className.indexOf(
"TransferTo"
) > -1) {
this
.title =
"Move left"
;
return
;
}
if
(className.indexOf(
"TransferAllFrom"
) > -1) {
this
.title =
"Move all right"
;
return
;
}
if
(className.indexOf(
"TransferAllTo"
) > -1) {
this
.title =
"Move all left"
;
return
;
}
});
}
</script>
All the best,
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.
0
HSLaw
Top achievements
Rank 1
answered on 15 Oct 2009, 09:04 AM
Thanks.
Is it possible to arrange the buttons? Our user will use the move left and move right more and we would like to arrange the move left move right button as the first buttons.
Is it possible to arrange the buttons? Our user will use the move left and move right more and we would like to arrange the move left move right button as the first buttons.
0
Hello Paladin,
Actually the move right and move left buttons are on the top. They cannot be rearranged.
Greetings,
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.
Actually the move right and move left buttons are on the top. They cannot be rearranged.
Greetings,
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.
0
Zeeshan Ahmed Khan
Top achievements
Rank 1
answered on 11 Jan 2010, 05:02 AM
Hi All;
I wanted to whether is it possible to hide to all listbox buttons except TransferFrom Button (Move Right Button) i do want to show TransferTo Button(move Left/Move back in List Button).
Please see attachment for more clarification;
Regards;
Zeeshan Ahmed Khan
RNA Pharmacy System.
0
Hello Paladin,
To remove TransferAll buttons please set ButtonSettings-ShowTransferAll property of the listbox to false. For the TransferTo button, add the following css styles to your page:
Kind regards,
Yana
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.
To remove TransferAll buttons please set ButtonSettings-ShowTransferAll property of the listbox to false. For the TransferTo button, add the following css styles to your page:
.RadListBox .rlbTransferTo,
.RadListBox .rlbTransferToDisabled {
display
:
none
!important
;
}
Kind regards,
Yana
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.