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

RadPanelBar child's NavigationUrl from dateset

1 Answer 69 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Mike asked on 19 May 2010, 05:14 AM

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");







1 Answer, 1 is accepted

Sort by
Nikolay Tsenkov
Telerik team
answered on 20 May 2010, 02:01 PM
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.
Asked by
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Share this question