Click here to Skip to main content
15,902,299 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiontree view select all child nodes when to click parent nodes Pin
T_Teef22-Apr-09 9:54
T_Teef22-Apr-09 9:54 
AnswerRe: tree view select all child nodes when to click parent nodes Pin
ToddHileHoffer22-Apr-09 10:03
ToddHileHoffer22-Apr-09 10:03 
QuestionRe: tree view select all child nodes when to click parent nodes Pin
T_Teef22-Apr-09 10:06
T_Teef22-Apr-09 10:06 
AnswerRe: tree view select all child nodes when to click parent nodes Pin
Fayu22-Apr-09 10:10
Fayu22-Apr-09 10:10 
QuestionRe: tree view select all child nodes when to click parent nodes Pin
T_Teef22-Apr-09 10:18
T_Teef22-Apr-09 10:18 
AnswerRe: tree view select all child nodes when to click parent nodes Pin
ToddHileHoffer22-Apr-09 10:21
ToddHileHoffer22-Apr-09 10:21 
GeneralRe: tree view select all child nodes when to click parent nodes Pin
T_Teef22-Apr-09 10:44
T_Teef22-Apr-09 10:44 
QuestionUsing Master Page as the DB reader which implements the reading on all child pages [modified] Pin
shabya22-Apr-09 8:20
shabya22-Apr-09 8:20 
hello,
i want to add a "hello ___" to all my pages.
now , in order not to duplicate code , i can put it in the master page.
in the master page i go and look for the user entered from the query string at the DB and put the name after the hello or Guest if i get null.
this works fine.
now, in the child pages i also want to use this DB output , so i use session to store the DB entry for later use by the child.

my problem is that the child page's On_Load is performed prior to the Master page's On_Load and this causes the DB entry to be null before it was read by the Master page.

does anyone have any idea how to solve this problem ?
can i use the Page_Init in the master page for this ? is it acceptable and stable ?

tnx,

avi

modified on Wednesday, April 22, 2009 3:54 PM

AnswerRe: Using Master Page as the DB reader which implements the reading on all child pages Pin
ToddHileHoffer22-Apr-09 9:59
ToddHileHoffer22-Apr-09 9:59 
GeneralRe: Using Master Page as the DB reader which implements the reading on all child pages Pin
shabya23-Apr-09 7:07
shabya23-Apr-09 7:07 
QuestionViewState storing custom class Pin
Fayu22-Apr-09 8:14
Fayu22-Apr-09 8:14 
AnswerRe: ViewState storing custom class Pin
ToddHileHoffer22-Apr-09 9:58
ToddHileHoffer22-Apr-09 9:58 
GeneralRe: ViewState storing custom class Pin
Fayu22-Apr-09 10:08
Fayu22-Apr-09 10:08 
GeneralRe: ViewState storing custom class Pin
ToddHileHoffer22-Apr-09 10:19
ToddHileHoffer22-Apr-09 10:19 
GeneralRe: ViewState storing custom class Pin
Fayu22-Apr-09 14:20
Fayu22-Apr-09 14:20 
GeneralRe: ViewState storing custom class Pin
ToddHileHoffer22-Apr-09 15:16
ToddHileHoffer22-Apr-09 15:16 
GeneralRe: ViewState storing custom class Pin
DoctorMick22-Apr-09 21:51
DoctorMick22-Apr-09 21:51 
GeneralRe: ViewState storing custom class Pin
ToddHileHoffer23-Apr-09 2:13
ToddHileHoffer23-Apr-09 2:13 
GeneralRe: ViewState storing custom class Pin
DoctorMick23-Apr-09 2:30
DoctorMick23-Apr-09 2:30 
GeneralRe: ViewState storing custom class Pin
Fayu23-Apr-09 6:18
Fayu23-Apr-09 6:18 
GeneralRe: ViewState storing custom class Pin
ToddHileHoffer23-Apr-09 7:09
ToddHileHoffer23-Apr-09 7:09 
QuestionAutomated Emails and SMS Pin
yogesh_kumar_agarwal22-Apr-09 7:51
yogesh_kumar_agarwal22-Apr-09 7:51 
AnswerRe: Automated Emails and SMS Pin
David Mujica22-Apr-09 8:42
David Mujica22-Apr-09 8:42 
GeneralRe: Automated Emails and SMS Pin
yogesh_kumar_agarwal22-Apr-09 9:07
yogesh_kumar_agarwal22-Apr-09 9:07 
GeneralRe: Automated Emails and SMS Pin
David Mujica22-Apr-09 10:19
David Mujica22-Apr-09 10:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.