Page view counter

Menu Control

Last post 11-30-2006 3:42 PM by pushp_aspnet. 1 replies.

Sort Posts:

  • Menu Control

    11-30-2006, 11:20 AM
    • Loading...
    • TonyR
    • Joined on 11-28-2006, 11:01 PM
    • Arizona
    • Posts 3
    • Points 10

    I am having a problem figuring out how to handle the OnMenuItemClick event.  I understand that it only fires if the navigationurl is not set, so I removed the links for that property so now my dynamic menu items, when clicked, fire the event but how do I now direct the website to the url that I'll like it to navigate to?  I can not use the Response.Redirect because I am working within frames so I need to set the frame source property to the correct url.

     

    please assist.

     

    thanks

    Tony  Redmond

  • Re: Menu Control

    11-30-2006, 3:42 PM
    Answer
    • Loading...
    • pushp_aspnet
    • Joined on 10-19-2006, 9:27 AM
    • Hyderabad,India
    • Posts 447
    • Points 2,209

    In the handler for OnMenuItemClick event you can register the javascript that sets the frame source property.

    for registering script you may use  Page.ClientScript.RegisterClientScriptBlock method.

    Hope this helps. 

    Home Is Where the Wind Blows
    http://pushpontech.blogspot.com
Page 1 of 1 (2 items)