Repeatable Control Area using Ajax RadControls?

3 posts, 0 answers
  1. Christopher
    Christopher avatar
    17 posts
    Member since:
    Feb 2008

    Posted 20 Sep 2011 Link to this post

    Greetings,

    I have a requirement for an application where there are several controls (dropdown, textbox, etc..) and when the user clicks "+Add" another line of the same controls is supposed to be added to the page without a post (ajax). Can I use any of the Ajax RadControls to accomplish this?

    Thanks for suggestions.
  2. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 20 Sep 2011 Link to this post

    Yessir, quite easily

    Have a look at the RadListView

    It is kind of like an asp:repeater on steroids

    For the Ajax part, just wrap it in a RadAjaxPanel or use the RadAjaxManager. 

    Good luck, should be easy

    STeve
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christopher
    Christopher avatar
    17 posts
    Member since:
    Feb 2008

    Posted 21 Sep 2011 Link to this post

    Oh okay great, I'll give this a try. Thanks!!


    Update:
    I gave it a try, (assume below all things are closed correctly). In my codebehind in PageLoad I'm getting that the ddlRadComboBox isn't in context when it is placed within the RadListView. It might be me just not understanding the details of the RadListView.
    <telerik:RadAjaxPanel ID="RadAdvancedSearchPanel" runat="server" Height="200px" Width="300px">
        <telerik:RadListView ID="RadListView" runat="server">
            <ItemTemplate>
            <div>
                <div> 
                    <telerik:RadComboBox ID="ddlRadComboBox" Runat="server" />
Back to Top