expand 1st item on page load

2 posts, 1 answers
  1. Teoman
    Teoman avatar
    69 posts
    Member since:
    Jan 2009

    Posted 03 Mar 2010 Link to this post

    Hi,
    I am binding radpanel with linq datasource.How can i expand 1st rad panel item on page load?
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 04 Mar 2010 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top