Add item manually via button

3 posts, 0 answers
  1. Brock
    Brock avatar
    22 posts
    Member since:
    Mar 2011

    Posted 31 Dec 2012 Link to this post

    Hello, I'm using the following example in the demos (Specifically the server side automatic one using VB code):

    I would like to be able to display/enable a button that is triggered when no match is found for what you have entered, that button would allow you to insert a new row into my table of items bound to the combobox using the text currently typed in the entry section of the combobox.

    Are there any examples you can provide of how to do this?

  2. Nencho
    Nencho avatar
    1890 posts

    Posted 03 Jan 2013 Link to this post

    Hello Brock,

    I can suggest you to use the ClientItemsRequested event handler, in order to determine if there is a match with the currently typed text and enable/disable the button. In addition, you could perform the insert operation in the OnClick event handler of the button. I have prepared a sample project for you demonstrating the suggested implementation. Please find the sample attached.

    Kind regards,
    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.
  3. Brock
    Brock avatar
    22 posts
    Member since:
    Mar 2011

    Posted 07 Jan 2013 Link to this post

    This is perfect. Thank you!
Back to Top