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

Menu in Masterpage strange behaviour

3 Answers 45 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 27 Apr 2012, 09:36 AM

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

3 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 01 May 2012, 03:08 PM
Hi Andy,

I tested the url that you provided but I am not able to get the behavior that you describe. When I initially click on a MenuItem from the left hand side its corresponding content on the right side seems to load correctly. Can you please elaborate more on the issue that you get since I am not sure that I completely understand it?

Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Andy Green
Top achievements
Rank 2
answered on 02 May 2012, 10:32 AM
Hi Kate

Thank you for taking the time to look.
I agree it now seems OK, I have updated to the latest version of the controls, but I dont think that was it.

I'll keep an eye on it for the next few days tosee if it repeats.

Andy
0
Kate
Telerik team
answered on 03 May 2012, 10:22 AM
Hi Andy,

Let me know if encounter any issue that I can assist you further with.

Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Kate
Telerik team
Andy Green
Top achievements
Rank 2
Share this question
or