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

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

0 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Computer Surgeon
Top achievements
Rank 1
Computer Surgeon asked on 22 Jul 2009, 05:45 AM

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...

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Computer Surgeon
Top achievements
Rank 1
Share this question
or