Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ComboBox > serverside Button Events from within the ComboBox

Not answered serverside Button Events from within the ComboBox

Feed from this thread
  • Robert avatar

    Posted on Feb 8, 2012 (permalink)

    How to catch an asp:Button Click event from the <FooterTemplate> of a RadComboBox ,on the server side,
    RabComboBox has Checkboxes in it... and on click of that Asp:Button(which is inside FooterTemplate) i need to catch all the chcked Items from the ComboBox
    Thanks

    Environment:- ASP.Net Ajax 3.5, C#

    Reply

  • Posted on Feb 8, 2012 (permalink)

    Hello,

    Try the following code snippet.
    C#:
    protected void Button1_Click(object sender, EventArgs e)
       {
           string checkedText = " ";
           var collection = RadComboBox1.CheckedItems;
           foreach (var item in collection)
            {
                checkedText += item.Text + "<br />";
            }
            Response.Write(checkedText);
       }

    Thanks,
    Princy.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ComboBox > serverside Button Events from within the ComboBox
Related resources for "serverside Button Events from within the ComboBox"

ASP.NET ComboBox Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]