Click here to Skip to main content
15,896,118 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How do i create dynamic menus in Visual Web Developer Pin
mitchel31617-Oct-07 2:43
mitchel31617-Oct-07 2:43 
GeneralRe: How do i create dynamic menus in Visual Web Developer Pin
Christian Graus17-Oct-07 9:52
protectorChristian Graus17-Oct-07 9:52 
Questionrecord sound on client and transfer to server Pin
Roland Bär16-Oct-07 22:02
Roland Bär16-Oct-07 22:02 
AnswerRe: record sound on client and transfer to server Pin
Christian Graus17-Oct-07 1:38
protectorChristian Graus17-Oct-07 1:38 
QuestionBandwidth speed text component/script? Pin
PSU Steve16-Oct-07 5:24
professionalPSU Steve16-Oct-07 5:24 
AnswerRe: Bandwidth speed text component/script? Pin
Paul Conrad25-Nov-07 9:46
professionalPaul Conrad25-Nov-07 9:46 
QuestionAdding a JS function to a dynamically created table cell in C# [modified] Pin
But_Im_a_Lady16-Oct-07 4:33
But_Im_a_Lady16-Oct-07 4:33 
AnswerRe: Adding a JS function to a dynamically created table cell in C# Pin
pmarfleet16-Oct-07 11:58
pmarfleet16-Oct-07 11:58 
It looks like there are 2 problems with your code.

But_Im_a_Lady wrote:
checkBox.Attributes.Add("onClick", "HighLightCell();");


Your call to HighLightCell should pass a single argument representing a reference to the cell to update. This should read something like

checkBox.Attributes.Add("onClick", String.Format("HighLightCell({0});", ProductCell.ClientID));

But_Im_a_Lady wrote:
function HighlightCell(cell)
{
Cell.style.backgroundColor = "#E0E0E0";
}


JavaScript is case-sensitive. You should change Cell to cell otherwise the interpreter won't know what is being referred to here.


Paul Marfleet

QuestionFrom UTF-8" to "ISO-8859-1 Pin
hifiger200416-Oct-07 1:29
hifiger200416-Oct-07 1:29 
AnswerRe: From UTF-8" to "ISO-8859-1 [modified] Pin
kubben16-Oct-07 3:42
kubben16-Oct-07 3:42 
GeneralRe: From UTF-8" to "ISO-8859-1 Pin
hifiger200416-Oct-07 5:20
hifiger200416-Oct-07 5:20 
GeneralRe: From UTF-8" to "ISO-8859-1 Pin
kubben16-Oct-07 5:38
kubben16-Oct-07 5:38 
AnswerRe: From UTF-8" to "ISO-8859-1 Pin
hifiger200416-Oct-07 5:50
hifiger200416-Oct-07 5:50 
GeneralRe: From UTF-8" to "ISO-8859-1 Pin
kubben16-Oct-07 5:53
kubben16-Oct-07 5:53 
QuestionSession variable expires Pin
hifiger200415-Oct-07 23:24
hifiger200415-Oct-07 23:24 
AnswerRe: Session variable expires Pin
Elizma16-Oct-07 2:08
Elizma16-Oct-07 2:08 
GeneralRe: Session variable expires Pin
hifiger200416-Oct-07 5:06
hifiger200416-Oct-07 5:06 
GeneralRe: Session variable expires Pin
hifiger200416-Oct-07 5:23
hifiger200416-Oct-07 5:23 
AnswerRe: Session variable expires Pin
kubben16-Oct-07 2:37
kubben16-Oct-07 2:37 
GeneralRe: Session variable expires Pin
hifiger200416-Oct-07 5:06
hifiger200416-Oct-07 5:06 
GeneralRe: Session variable expires Pin
kubben16-Oct-07 5:35
kubben16-Oct-07 5:35 
GeneralRe: Session variable expires Pin
hifiger200417-Oct-07 1:16
hifiger200417-Oct-07 1:16 
GeneralRe: Session variable expires Pin
kubben17-Oct-07 1:33
kubben17-Oct-07 1:33 
GeneralRe: Session variable expires Pin
hifiger200417-Oct-07 2:30
hifiger200417-Oct-07 2:30 
GeneralRe: Session variable expires Pin
kubben17-Oct-07 2:45
kubben17-Oct-07 2:45 

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.