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

Bind database to TabStrip and MultiPage

0 Answers 42 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Benglish
Top achievements
Rank 1
Benglish asked on 23 Aug 2013, 09:51 AM
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">
        </telerik:RadTabStrip>
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">
            </telerik:RadPageView>
        </telerik:RadMultiPage>

No answers yet. Maybe you can help?

Tags
TabStrip
Asked by
Benglish
Top achievements
Rank 1
Share this question
or