Click here to Skip to main content
15,921,276 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: I want to change the ASP.NET version in IIS Pin
khuzwayom5-Nov-08 19:58
khuzwayom5-Nov-08 19:58 
QuestionSharePoint List and Data Columns [modified] Pin
Not Active4-Nov-08 19:38
mentorNot Active4-Nov-08 19:38 
Questionwhy use our own email software Pin
razikang4-Nov-08 10:23
razikang4-Nov-08 10:23 
AnswerCP Ignore - spamming the site Pin
Dave Kreskowiak4-Nov-08 10:35
mveDave Kreskowiak4-Nov-08 10:35 
AnswerREPORTED AS ABUSE Pin
leckey4-Nov-08 14:25
leckey4-Nov-08 14:25 
AnswerRe: why use our own email software Pin
Paul Conrad5-Nov-08 4:46
professionalPaul Conrad5-Nov-08 4:46 
QuestionHTA Resource Compiling Pin
Saul Johnson4-Nov-08 6:21
Saul Johnson4-Nov-08 6:21 
QuestionASP DropDownList boxes' list not remaining open after css background color set. [modified] Pin
Steve Holdorf4-Nov-08 5:33
Steve Holdorf4-Nov-08 5:33 
I have an ASP gridview with a dropdownlist box as an embeded cell's control. Now, when a row of the gridview is selected I use the following javascript to highlite the backcolor of each control that row's cells contain, and the dropdownlist box's backcolor:


getGridViewCMControl();

// This section highlites the selected row of the DADSInformation gridview.
var currentColumn;
var currentRow;

for (currentRow = 1; currentRow < 6; currentRow++)
{
for (currentColumn = 0; currentColumn < 5; currentColumn++)
{
gridViewCtlCM.rows[currentRow].cells[currentColumn].childNodes[0].className = 'DefaultBackGroundColor';
}
}

var selectedRowIndex = parseInt(objField.value, 10);

selectedRowIndex = selectedRowIndex + 1;

for (currentColumn = 0; currentColumn < 5; currentColumn++)
{
gridViewCtlCM.rows[selectedRowIndex].cells[currentColumn].childNodes[0].className = 'HighLightBackColor';
}



Now, when I select the row all works fine as far as the control's backcolor being set using the css. The problem is that once the dropdownlist box has the css background style set when I select the down arrow of the dropdownlist box the list does not remain open it automatically pops back up. Does anyone have any idea why this is.

Note: If you double click on the dropdownlist box then the dropdown list remains open.

Thanks,


Steve

modified on Tuesday, November 4, 2008 12:05 PM

GeneralRe: ASP DropDownList boxes' list not remaining open after css background color set. [modified] Pin
Steve Holdorf4-Nov-08 7:55
Steve Holdorf4-Nov-08 7:55 
AnswerRe: ASP DropDownList boxes' list not remaining open after css background color set. Pin
Steve Holdorf4-Nov-08 9:13
Steve Holdorf4-Nov-08 9:13 
Question[Message Deleted] Pin
johnt20084-Nov-08 0:35
johnt20084-Nov-08 0:35 
GeneralRe: PLEASE HELP!!! I am a student and I need your help about classes Pin
cyber-drugs4-Nov-08 1:06
cyber-drugs4-Nov-08 1:06 
AnswerRe: PLEASE HELP!!! I am a student and I need your help about classes Pin
Shog94-Nov-08 5:31
sitebuilderShog94-Nov-08 5:31 
JokeRe: PLEASE HELP!!! I am a student and I need your help about classes Pin
Guffa4-Nov-08 15:20
Guffa4-Nov-08 15:20 
AnswerRe: PLEASE HELP!!! I am a student and I need your help about classes Pin
Paddy Boyd6-Nov-08 0:46
Paddy Boyd6-Nov-08 0:46 
QuestionHow can I display image in IE(Web Browser) title bar? Pin
Aman Bhullar3-Nov-08 23:26
Aman Bhullar3-Nov-08 23:26 
AnswerRe: How can I display image in IE(Web Browser) title bar? Pin
markymark823-Nov-08 23:45
markymark823-Nov-08 23:45 
GeneralRe: How can I display image in IE(Web Browser) title bar? Pin
Aman Bhullar4-Nov-08 5:29
Aman Bhullar4-Nov-08 5:29 
GeneralRe: How can I display image in IE(Web Browser) title bar? Pin
sph3rex9-Nov-08 1:16
sph3rex9-Nov-08 1:16 
QuestionDatalist Control alternative layout... Pin
markymark823-Nov-08 23:19
markymark823-Nov-08 23:19 
AnswerRe: Datalist Control alternative layout... Pin
NeverHeardOfMe4-Nov-08 3:31
NeverHeardOfMe4-Nov-08 3:31 
GeneralRe: Datalist Control alternative layout... Pin
markymark824-Nov-08 3:43
markymark824-Nov-08 3:43 
GeneralRe: Datalist Control alternative layout... Pin
NeverHeardOfMe4-Nov-08 4:00
NeverHeardOfMe4-Nov-08 4:00 
GeneralRe: Datalist Control alternative layout... Pin
markymark824-Nov-08 4:23
markymark824-Nov-08 4:23 
Questionphp sprintf Pin
William Engberts3-Nov-08 22:52
William Engberts3-Nov-08 22:52 

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.