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

changing the buttonsettings using client side code

1 Answer 50 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Daniel Elliott
Top achievements
Rank 1
Daniel Elliott asked on 14 Oct 2011, 03:03 PM
I have a server-side event:
Protected Sub RadListBoxSource_Transferred(ByVal sender As Object, ByVal e As RadListBoxTransferredEventArgs) Handles RadListBoxSource.Transferred
    If RadListBoxDestination.Items.Count > 0 AndAlso Not ("8".Equals(rblAwardType.SelectedValue)) Then
        RadListBoxSource.ButtonSettings.TransferButtons = ListBoxTransferButtons.TransferTo
    Else
        RadListBoxSource.ButtonSettings.TransferButtons = ListBoxTransferButtons.TransferFrom
    End If
End Sub
that I'd like to perform using the client instead. Is it possible to change the ButtonSettings for a RadListBox using client-side code?

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 19 Oct 2011, 08:49 AM
Hi Daniel,

RadListBox doesn't provide client-side rendering and therefore the desired functionality to change the rendered buttons on the client is not supported.

Greetings,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
ListBox
Asked by
Daniel Elliott
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or