Click here to Skip to main content
15,905,614 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionLoading an Image from Database to ImageBox Pin
bharanidharanit12-Dec-09 10:34
bharanidharanit12-Dec-09 10:34 
AnswerRe: Loading an Image from Database to ImageBox Pin
Abhishek Sur13-Dec-09 11:18
professionalAbhishek Sur13-Dec-09 11:18 
AnswerRe: Loading an Image from Database to ImageBox Pin
Nerv1017-Dec-10 21:26
Nerv1017-Dec-10 21:26 
QuestionEncrypting & Decrypting a text Pin
bharanidharanit12-Dec-09 10:32
bharanidharanit12-Dec-09 10:32 
AnswerRe: Encrypting & Decrypting a text Pin
Abhishek Sur13-Dec-09 10:13
professionalAbhishek Sur13-Dec-09 10:13 
QuestionHow do i make the menu selected item have a different color? tabbed menu ASP.NET MVC Pin
basilmir12-Dec-09 7:51
basilmir12-Dec-09 7:51 
AnswerRe: How do i make the menu selected item have a different color? tabbed menu ASP.NET MVC Pin
m-khansari12-Dec-09 22:05
m-khansari12-Dec-09 22:05 
AnswerRe: How do i make the menu selected item have a different color? tabbed menu ASP.NET MVC Pin
Jim G6-Apr-10 15:13
Jim G6-Apr-10 15:13 
I stumbled over this too. In order to use the "selected" style for the tab in the standard MVC site.css file, you need to have the selected class be assigned to the <li> rather than the <a> tag.

ul#menu li.selected a
{
  background-color: #fff;
  color: #000000;
}


So to show the About item selected, for your menu use:

<ul id="menu">
  <li><%= Html.ActionLink("Home", "Index", "Home")%></li>
  <li><%= Html.ActionLink("Sites", "Index", "Sites")%></li>
  <li class="selected"><%= Html.ActionLink("About", "About", "Home")%></li>
</ul>

QuestionAzure and Web Controls Pin
#realJSOP12-Dec-09 4:15
professional#realJSOP12-Dec-09 4:15 
AnswerRe: Azure and Web Controls Pin
Oakman12-Dec-09 8:49
Oakman12-Dec-09 8:49 
AnswerRe: Azure and Web Controls Pin
Abhishek Sur12-Dec-09 9:57
professionalAbhishek Sur12-Dec-09 9:57 
QuestionPrinting in ASP.NET Pin
tunsten12-Dec-09 2:33
tunsten12-Dec-09 2:33 
AnswerRe: Printing in ASP.NET Pin
m-khansari12-Dec-09 3:40
m-khansari12-Dec-09 3:40 
GeneralRe: Printing in ASP.NET Pin
tunsten15-Dec-09 5:13
tunsten15-Dec-09 5:13 
GeneralRe: Printing in ASP.NET Pin
m-khansari15-Dec-09 23:02
m-khansari15-Dec-09 23:02 
QuestionGetting Server control Id with JavaScript code... Pin
tunsten12-Dec-09 2:03
tunsten12-Dec-09 2:03 
AnswerRe: Getting Server control Id with JavaScript code... Pin
Abhijit Jana12-Dec-09 2:13
professionalAbhijit Jana12-Dec-09 2:13 
GeneralRe: Getting Server control Id with JavaScript code... Pin
tunsten12-Dec-09 2:25
tunsten12-Dec-09 2:25 
AnswerRe: Getting Server control Id with JavaScript code... Pin
Iman Ebadi12-Dec-09 2:45
Iman Ebadi12-Dec-09 2:45 
GeneralRe: Getting Server control Id with JavaScript code... Pin
tunsten12-Dec-09 2:58
tunsten12-Dec-09 2:58 
AnswerRe: Getting Server control Id with JavaScript code... Pin
Abhishek Sur12-Dec-09 10:02
professionalAbhishek Sur12-Dec-09 10:02 
GeneralRe: Getting Server control Id with JavaScript code... Pin
tunsten15-Dec-09 5:07
tunsten15-Dec-09 5:07 
AnswerRe: Getting Server control Id with JavaScript code... Pin
m-khansari12-Dec-09 3:30
m-khansari12-Dec-09 3:30 
GeneralRe: Getting Server control Id with JavaScript code... Pin
tunsten15-Dec-09 5:05
tunsten15-Dec-09 5:05 
QuestionPopup from a GridView control... Pin
tunsten12-Dec-09 1:51
tunsten12-Dec-09 1:51 

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.