Click here to Skip to main content
15,917,645 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Web server Pin
Not Active9-Jan-07 15:57
mentorNot Active9-Jan-07 15:57 
AnswerRe: Web server Pin
vurugonda9-Jan-07 16:18
vurugonda9-Jan-07 16:18 
GeneralRe: Web server Pin
Not Active9-Jan-07 16:23
mentorNot Active9-Jan-07 16:23 
GeneralRe: Web server Pin
dhulipudi10-Jan-07 16:07
dhulipudi10-Jan-07 16:07 
Questionaccessing dbf file Pin
Harikrk9-Jan-07 14:10
Harikrk9-Jan-07 14:10 
AnswerRe: accessing dbf file Pin
Venkatesh Mookkan9-Jan-07 15:38
Venkatesh Mookkan9-Jan-07 15:38 
QuestionProblem with page's button click event handler Pin
Tina P9-Jan-07 13:05
Tina P9-Jan-07 13:05 
AnswerRe: Problem with page's button click event handler Pin
Venkatesh Mookkan9-Jan-07 15:44
Venkatesh Mookkan9-Jan-07 15:44 
Tina P wrote:
if ( cookie != null )
{
BackColor.SelectedItem.Value = (string)cookie.Values["BackColor"];
ForeColor.SelectedItem.Value = (string)cookie.Values["ForeColor"];
FontSize.SelectedItem.Value = (string)cookie.Values["FontSize"];
FontName.SelectedItem.Value = (string)cookie.Values["FontName"];
NavControl.SelectedItem.Value = (string)cookie.Values["NavControl"];
}


Write the above code in a separate function and call it in Button_Click Event.

The problem is because,
The Page_Load Event is called first than the Button_Click Event eventhough you clicked the button.

I am sure your problem will be solved.. Have a great day...


Regards,
Venkatesh Mookkan.
Software Engineer, India
My: Website | Yahoo Group

GeneralRe: Problem with page's button click event handler Pin
Tina P9-Jan-07 16:10
Tina P9-Jan-07 16:10 
GeneralRe: Problem with page's button click event handler Pin
Not Active9-Jan-07 16:31
mentorNot Active9-Jan-07 16:31 
QuestionRe: Problem with page's button click event handler Pin
Venkatesh Mookkan9-Jan-07 17:30
Venkatesh Mookkan9-Jan-07 17:30 
AnswerRe: Problem with page's button click event handler Pin
Not Active10-Jan-07 2:18
mentorNot Active10-Jan-07 2:18 
GeneralRe: Problem with page's button click event handler Pin
Not Active9-Jan-07 16:20
mentorNot Active9-Jan-07 16:20 
AnswerRe: Problem with page's button click event handler Pin
Not Active9-Jan-07 16:29
mentorNot Active9-Jan-07 16:29 
GeneralRe: Problem with page's button click event handler Pin
Tina P9-Jan-07 16:40
Tina P9-Jan-07 16:40 
GeneralRe: Problem with page's button click event handler Pin
Not Active9-Jan-07 16:54
mentorNot Active9-Jan-07 16:54 
GeneralRe: Problem with page's button click event handler Pin
Tina P9-Jan-07 17:07
Tina P9-Jan-07 17:07 
GeneralRe: Problem with page's button click event handler Pin
Not Active9-Jan-07 17:24
mentorNot Active9-Jan-07 17:24 
GeneralRe: Problem with page's button click event handler Pin
Tina P9-Jan-07 18:10
Tina P9-Jan-07 18:10 
GeneralRe: Problem with page's button click event handler Pin
Not Active9-Jan-07 19:09
mentorNot Active9-Jan-07 19:09 
GeneralRe: Problem with page's button click event handler Pin
Tina P10-Jan-07 5:40
Tina P10-Jan-07 5:40 
GeneralRe: Problem with page's button click event handler Pin
Tina P11-Jan-07 13:09
Tina P11-Jan-07 13:09 
Questionimage casting in .NET Pin
Member 9571479-Jan-07 12:40
Member 9571479-Jan-07 12:40 
QuestionDisable a button Pin
ssircar19719-Jan-07 11:01
ssircar19719-Jan-07 11:01 
AnswerRe: Disable a button Pin
Jon Sagara9-Jan-07 11:32
Jon Sagara9-Jan-07 11:32 

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.