Bind database to TabStrip and MultiPage

1 posts, 0 answers
  1. Benglish
    Benglish avatar
    1 posts
    Member since:
    Dec 2011

    Posted 23 Aug 2013 Link to this post

    Hi pals,

         I have a database with these fields: id, title, description, date. This table is named "project". I want to display the details of each project in a separate tab. I bound the table to the TabStrip via SqlDataSource and it creates a new tab for each project (the "title" of project is the title of each tab). Now I want to show the fields "description" and "date" of every project in MultiPage, but I don't know how to do so. I was wondering if you'd mind helping me with this problem.

    <telerik:RadTabStrip ID="RadTabStrip1" runat="server"
                MultiPageID="RadMultiPage1" SelectedIndex="1" Skin="BlackMetroTouch"
                DataSourceID="SqlDataSource1" DataFieldID="id" DataTextField="title">
    I know the following code is wrong, but help me to correct it
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
                <telerik:RadPageView ID="<%#Eval("title") %>" runat="server">
Back to Top