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

Tabstrip issue

0 Answers 19 Views
AJAX and Web 2.0
This is a migrated thread and some comments may be shown as answers.
Dayana Maliyakal
Top achievements
Rank 1
Dayana Maliyakal asked on 25 Feb 2014, 12:10 PM

Hi Telerik team,

I have tabstrip as follows:

<% Html.Telerik().TabStrip()
.Name("TabStrip")
.Items(tabstrip =>
tabstrip.Add()//To set Extra tab
.Text("4")
.Selected(true))//To get default selection of this tab
.HtmlAttributes(new { Style = "Width:100%;" })
.BindTo(Model.ItemType.Creates(),
(item, navigationData) =>
{
//item.Text = "&nbsp;";
item.ImageUrl = "/" + navigationData.ImageUrl + "/";
item.Text = navigationData.Value;
})
.ClientEvents(events => events
.OnSelect("TabStripSelect")
)
.Render(); %>
 

 Here Can I set 'item.value'(instead of 'item.Text')?

How to get tab selected value and tab selected text and tab selected index of tab on button click?

With regards
Dayana

No answers yet. Maybe you can help?

Tags
AJAX and Web 2.0
Asked by
Dayana Maliyakal
Top achievements
Rank 1
Share this question
or