Click here to Skip to main content
15,898,744 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow prevent post back in dropdown list for a particular item selection Pin
amit sahu2026-Jul-09 18:51
amit sahu2026-Jul-09 18:51 
AnswerRe: how prevent post back in dropdown list for a particular item selection Pin
r a m e s h26-Jul-09 19:11
r a m e s h26-Jul-09 19:11 
Questionhow to work with asp.net along silver light.? Pin
joshsmith26-Jul-09 16:31
joshsmith26-Jul-09 16:31 
AnswerRe: how to work with asp.net along silver light.? Pin
Abhijit Jana26-Jul-09 17:42
professionalAbhijit Jana26-Jul-09 17:42 
QuestionCSS menu change in Asp.net Pin
mark_me26-Jul-09 14:47
mark_me26-Jul-09 14:47 
AnswerRe: CSS menu change in Asp.net Pin
Christian Graus26-Jul-09 15:13
protectorChristian Graus26-Jul-09 15:13 
GeneralRe: CSS menu change in Asp.net Pin
mark_me26-Jul-09 16:55
mark_me26-Jul-09 16:55 
GeneralRe: CSS menu change in Asp.net Pin
Christian Graus26-Jul-09 20:07
protectorChristian Graus26-Jul-09 20:07 
mark_me wrote:
Will i have to use page.Load.


Well, plainly not. You can use the prerender event, and that's often a better idea, because it fires after events.

What you would do, is write code to change the classes of your menu items, based on what page is selected. The way I'd do this, is write a menu class that uses a session variable to know which item to show as selected, then each page sets the right value. Another reason to use prerender, so you have time to set that value first.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

GeneralRe: CSS menu change in Asp.net Pin
mark_me27-Jul-09 6:06
mark_me27-Jul-09 6:06 
Questionbest way to update an xml file once per day on web application? Pin
dd31415926-Jul-09 7:02
dd31415926-Jul-09 7:02 
AnswerRe: best way to update an xml file once per day on web application? Pin
Abhishek Sur26-Jul-09 9:44
professionalAbhishek Sur26-Jul-09 9:44 
GeneralRe: best way to update an xml file once per day on web application? Pin
dd31415926-Jul-09 11:21
dd31415926-Jul-09 11:21 
AnswerRe: best way to update an xml file once per day on web application? Pin
Mike Ellison26-Jul-09 13:38
Mike Ellison26-Jul-09 13:38 
Questionasp.net display data in gridview [modified] Pin
solo_gaurav26-Jul-09 5:18
solo_gaurav26-Jul-09 5:18 
AnswerRe: asp.net display data in gridview Pin
Abhijit Jana26-Jul-09 6:58
professionalAbhijit Jana26-Jul-09 6:58 
GeneralRe: asp.net display data in gridview Pin
solo_gaurav26-Jul-09 7:36
solo_gaurav26-Jul-09 7:36 
GeneralRe: asp.net display data in gridview Pin
Abhijit Jana26-Jul-09 8:40
professionalAbhijit Jana26-Jul-09 8:40 
GeneralRe: asp.net display data in gridview Pin
solo_gaurav26-Jul-09 10:28
solo_gaurav26-Jul-09 10:28 
GeneralRe: asp.net display data in gridview Pin
Abhijit Jana26-Jul-09 11:11
professionalAbhijit Jana26-Jul-09 11:11 
AnswerRe: asp.net display data in gridview Pin
Paul Conrad26-Jul-09 10:57
professionalPaul Conrad26-Jul-09 10:57 
Questionin my system mechine.config is not there in the bellow path.why ? how to create Pin
Ramesh Reddy1111126-Jul-09 3:37
Ramesh Reddy1111126-Jul-09 3:37 
AnswerRe: in my system mechine.config is not there in the bellow path.why ? how to create Pin
Manas Bhardwaj26-Jul-09 3:59
professionalManas Bhardwaj26-Jul-09 3:59 
QuestionRetaining the string entered in File Upload Control Pin
meeram39526-Jul-09 3:22
meeram39526-Jul-09 3:22 
AnswerRe: Retaining the string entered in File Upload Control Pin
Abhishek Sur26-Jul-09 10:39
professionalAbhishek Sur26-Jul-09 10:39 
GeneralRe: Retaining the string entered in File Upload Control Pin
meeram39526-Jul-09 21:23
meeram39526-Jul-09 21:23 

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.