how to avoid pageload of content page when menu item clicked from master page

1 posts, 0 answers
  1. Computer Surgeon
    Computer Surgeon avatar
    41 posts
    Member since:
    Nov 2008

    Posted 22 Jul 2009 Link to this post

    I use Master Content Page relation in my application

    I have My Menus (RadPanelBar a telerik Control) in my Master Page. On Click of Menu item in master page i do couple of mandatory process that are used in the page to be navigated.

    scenario :

    1.) I'm in a page say Accounts.aspx (which is a content page inside a master)
    2.) I click on Finance menu item (Which is located in Master page)
    3.) Page Load of Accounts gets fired immediately which is unnecessary to the page i navigate.
    4.) Is there any way to avoid this Accounts.aspx page load and fire the menu item click event located in master page.

    If i come to know that which menu item i have clicked before the page load of Accounts i will be able to avoid that unnecessary method execution in that page load. So that i will be able to avoid the seconds consumed for unncessary pageload method execution. And eventually navigate to the desired page.

    This is something playing with Asp.net Lifecycle.


    If i use hyper link in RadPanelItem and use PostBackUrl Property to it . can i resolve the issue. But RadPanelItem by default does't have the PostBackUrl property .

    Kindly advice...
Back to Top