Hi All
Strange one this, if you goto www.weddingdazedirectory.co.uk I'll do my best to explain.
The left hand menu is a user control in a Masterpage
If you make a selection form the left hand menu, the page posts back, but nothing happens.
Now select Advice - Advertorials (I know some in=mages are missing) and make a selection from the left hand menu, you get some results.
Now go back to the home page and make a selection, it now works!
Does anyone have any idea as to what is going on?
The menu is dynamically generated, and I'm using the Item click to redirect to a landing page.
Protected Sub CategoryTree()
'CategoryList
Dim cl As New CoreData
Dim cl_ds As Data.DataTable = cl.CategoryByCounty(0)
With mnuCategory
.Items.Clear()
.DataSource = cl_ds
.DataFieldID = "Category_ID"
.DataFieldParentID = "ParentCategory_ID"
.DataTextField = "Category"
.DataValueField = "Category_ID"
'.DataNavigateUrlField = "Link"
.DataBind()
End With
End Sub
Protected Sub mnuCategory_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs) Handles mnuCategory.ItemClick
Dim Category_ID As Int32 = e.Item.Value
Page.Response.Redirect("~/Display/County.aspx?Cat=" & Category_ID)
End Sub