RadPanelBar child's NavigationUrl from dateset

2 posts, 0 answers
  1. Mike
    Mike avatar
    31 posts
    Member since:
    Oct 2007

    Posted 19 May 2010 Link to this post

    Hope someone can help me with this... It seems like it should be an easy thing to do but the solution evades me.

    I have a RadPanel on my aspx page that is databound from my code behind. IF I do not call a method from an event the RadPanel drops down and shows the subnavigation, however the navigationUrl does not get created. I have tried several event calls, like onItemCreated or onDateBound but nothing seems to populate the sitenavigationURL.

    Here is my codefront

    <script type="text/javascript">

    function CollapseAllItems()


    var panelbar = <%= RadPanelBar1.ClientID %>

    for (var i=0; i<panelbar.Items.length; i++)






    <radP:RadPanelbar ID="RadPanelBar1" runat="server" RadControlsDir="~/RADCONTROLS" SkinsPath="/skins/menu/"

    Skin="fnSub" ExpandMode="SingleExpandedItem" ExpandAnimation-Duration="3" ExpandAnimation-Type="OutSine" onD>





    da5 = new SqlDataAdapter(cmd5);



    DataSet ds5 = new DataSet();






    //Bind ds to Radpanelbar





    RadPanelBar1.DataTextField =



    RadPanelBar1.DataFieldID =



    RadPanelBar1.DataFieldParentID =




    //RadPanelBar1.DataNavigateUrlField = "navigationFullUrl";





    RadPanelBar1.DataSource = ds5;

    RadPanelBar1.DataMember =







    void RadPanelBar1_ItemDataBound(object sender, Telerik.WebControls.RadPanelbarEventArgs e)




    if (DataBinder.Eval(e.Item.DataItem, "navigationTarget") != DBNull.Value)



    e.Item.Target = (

    string)DataBinder.Eval(e.Item.DataItem, "navigationTarget");







  2. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 20 May 2010 Link to this post

    Hello Mike,

    The Classic RadControls are no more supported by our team.
    You should upgrade to RadControls for ASP.NET AJAX.


    Nikolay Tsenkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top