listbox insid listview ...can we do it ?

3 posts, 0 answers
  1. Berrabah
    Berrabah avatar
    37 posts
    Member since:
    Feb 2012

    Posted 21 May 2012 Link to this post

    Hi,
    I wanna to use 2 sqldatasource for a listview, the first for the listview and the second one for a listbox that exist insid the listview (the two sql datasource bind two tables with a Id fk)
    Thank  you
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 May 2012 Link to this post

    Hi,

    Here is the sample code that I tried to show a ListBox inside ListView.
    aspx:
    <telerik:RadListView ID="RadListView1" ItemPlaceholderID="EmployeesContainer" DataSourceID="SqlDataSource1" runat="server">
      <LayoutTemplate>
        <asp:PlaceHolder ID="EmployeesContainer" runat="server" />
      </LayoutTemplate>
      <ItemTemplate>
       <telerik:RadListBox ID="RadListBox1" runat="server" DataSourceID="SqlDataSource2" DataTextField="EmployeeID" DataValueField="EmployeeID"></telerik:RadListBox>
      </ItemTemplate>
    </telerik:RadListView>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Berrabah
    Berrabah avatar
    37 posts
    Member since:
    Feb 2012

    Posted 04 Jun 2012 Link to this post

    Hi  Shinu and thank you for your poste,
    Can you please explaint that pore clearly with an example and code behind cause I dont see what are you looking to tell it please .
    Thank you again 
Back to Top