changing the buttonsettings using client side code

2 posts, 1 answers
  1. Daniel Elliott
    Daniel Elliott avatar
    4 posts
    Member since:
    Jul 2009

    Posted 14 Oct 2011 Link to this post

    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
            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?
  2. Answer
    Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 19 Oct 2011 Link to this post

    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.

    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
Back to Top