Click here to Skip to main content
15,903,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: user/role management with atlas Pin
minhpc_bk2-May-06 15:53
minhpc_bk2-May-06 15:53 
Questiondelete row in dataset Pin
janetb992-May-06 11:37
janetb992-May-06 11:37 
Questionsession variable... Pin
jung19752-May-06 9:49
jung19752-May-06 9:49 
AnswerRe: session variable... Pin
CWIZO2-May-06 19:15
CWIZO2-May-06 19:15 
GeneralRe: session variable... Pin
Paddy Boyd2-May-06 23:52
Paddy Boyd2-May-06 23:52 
GeneralRe: session variable... Pin
jung19753-May-06 2:27
jung19753-May-06 2:27 
GeneralRe: session variable... Pin
jung19753-May-06 2:26
jung19753-May-06 2:26 
QuestionDataGrid cell color problem Pin
alexfromto2-May-06 9:37
alexfromto2-May-06 9:37 
Hi.

I have DataGrid that has 11 columns. Some of the columns are white and some are gray. How can I change row color onmouseover and when put the original color back? I've tried to use in the
ItemDataBound the following
e.Item.Attributes.Add("onmouseover", "changeMouseOverandOut(this, false)")

and in the JavaScript


var lastColorUsed;
function changeMouseOverandOut(row, highlight){
if(!highlight) {
lastColorUsed = row.style.backgroundColor;
row.style.backgroundColor = '#FFFF66';
}
else
row.style.backgroundColor = lastColorUsed;
}


It does work but only for white background. My gray background color doesn't change. Setting background color from ItemDataBound gives the same result so that's why I used JavaScript function (it is nice to try new things).

Please hlep. Frown | :(
AnswerRe: DataGrid cell color problem Pin
Jakob Farian Krarup2-May-06 21:19
Jakob Farian Krarup2-May-06 21:19 
GeneralRe: DataGrid cell color problem Pin
alexfromto3-May-06 2:16
alexfromto3-May-06 2:16 
Questionclient ip address...Help? Pin
haneen19842-May-06 8:54
haneen19842-May-06 8:54 
AnswerRe: client ip address...Help? Pin
Dinuj Nath2-May-06 20:15
Dinuj Nath2-May-06 20:15 
GeneralRe: client ip address...Help? Pin
haneen19842-May-06 23:02
haneen19842-May-06 23:02 
Questioni changed my email Pin
waleed992-May-06 7:47
waleed992-May-06 7:47 
Questionserver free Pin
waleed992-May-06 7:46
waleed992-May-06 7:46 
Questionusing payment methods in a website Pin
steve_rm2-May-06 7:03
steve_rm2-May-06 7:03 
AnswerRe: using payment methods in a website Pin
HimaBindu Vejella2-May-06 19:09
HimaBindu Vejella2-May-06 19:09 
QuestionHow to make child links to my "Admin" link on the Master Page? Pin
Slow Learner2-May-06 6:43
Slow Learner2-May-06 6:43 
QuestionExporting a .net page with grid views and graphs into pdf.. Pin
esesem2-May-06 6:24
esesem2-May-06 6:24 
QuestionDetermining i a file is an image Pin
Ista2-May-06 5:09
Ista2-May-06 5:09 
AnswerRe: Determining i a file is an image Pin
Paddy Boyd2-May-06 6:24
Paddy Boyd2-May-06 6:24 
GeneralRe: Determining i a file is an image Pin
Ista2-May-06 9:56
Ista2-May-06 9:56 
AnswerRe: Determining i a file is an image Pin
Guffa2-May-06 7:19
Guffa2-May-06 7:19 
GeneralRe: Determining i a file is an image Pin
Ista2-May-06 9:57
Ista2-May-06 9:57 
AnswerRe: Determining i a file is an image Pin
Josh Smith2-May-06 9:13
Josh Smith2-May-06 9:13 

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.