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

[Solved] panal bar does not collapse

0 Answers 34 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Manasa
Top achievements
Rank 1
Manasa asked on 18 Jul 2012, 12:16 PM

@{ Html.Telerik().PanelBar()

.Name(

 

"pnlContactReportContacted3")

 

.ExpandMode(

 

PanelBarExpandMode.Single)

 

.HtmlAttributes(

 

new { style = "width: 100%; float: left;" })

 

 

.SelectedIndex(0)

.Items(t =>

{

t.Add().Text(

 

"DESCRIPTION OF CONTACT :")

 

.Content(@<text>

 

@Html.TextAreaFor(p => p.ContactDescription, !isEnabled ? (

 

object)new { style = "width:99%; height:1px; ", @readonly = "readonly" } : new { style = "width:99%;height:1px;" })

 

</text>).Enabled(

 

true);

 

 

}).Render();}


This is my Code. the panal bar does not collapse. Please help

Tags
PanelBar
Asked by
Manasa
Top achievements
Rank 1
Share this question
or