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.
I know the following code is wrong, but help me to correct it
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
>
<
telerik:RadMultiPage
ID
=
"RadMultiPage1"
runat
=
"server"
>
<
telerik:RadPageView
ID
=
"<%#Eval("
title") %>" runat="server">
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>