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

expand 1st item on page load

1 Answer 56 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Teoman
Top achievements
Rank 1
Teoman asked on 03 Mar 2010, 01:03 PM
Hi,
I am binding radpanel with linq datasource.How can i expand 1st rad panel item on page load?

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 04 Mar 2010, 12:22 PM

Hello,

Give atry with following code snippet in order to expand the first item when page loads.

C#:

 

protected

 

void RadPanelBar1_DataBound(object sender, EventArgs e)

 

{

RadPanelBar1.Items[0].Expanded =

true;

 

}

 

Thanks,
Princy.

Tags
PanelBar
Asked by
Teoman
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or