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

Repeatable Control Area using Ajax RadControls?

2 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 21 Sep 2011, 01:26 AM
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 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 21 Sep 2011, 03:52 AM
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
0
Christopher
Top achievements
Rank 1
answered on 21 Sep 2011, 03:41 PM
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" />
Tags
General Discussions
Asked by
Christopher
Top achievements
Rank 1
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Christopher
Top achievements
Rank 1
Share this question
or