By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,914 Members | 563 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,914 IT Pros & Developers. It's quick & easy.

Master Page and Content Page Load Event problem

P: 1
Hi….
I have created one website with Master and content page . I have taken TreeView Control on master page. And I wants that when I click to tree node the value of tree node is added to Session and data from database regarding to that tree node value.
Will fetch the records and load that on content page on Content Page Load event.


But the problem is that When click tree node the fallowing events occurs

1) Content Page Load Event
2) Master Page Load Event
3) Master Page TreeNode Click Event
4) Content Page Load Event

By these events it creates problem to fetch the data from database because Content Page didn’t get tree node value even if it get the value that is old one ….


So any one know how to solve this problem ………?

Thank You….In advance…
Nov 18 '08 #1
Share this Question
Share on Google+
1 Reply

Frinavale
Expert Mod 5K+
P: 9,731
Did you store the node's name in Session?
Why not fetch the data from database in the master page TreeNode click event since it's on your master page?
Dec 15 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.