Click here to Skip to main content
15,899,754 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to Secure my default.aspx page Pin
kubben9-Mar-07 10:21
kubben9-Mar-07 10:21 
QuestionRe: How to Secure my default.aspx page Pin
Eyungwah9-Mar-07 12:23
Eyungwah9-Mar-07 12:23 
AnswerRe: How to Secure my default.aspx page Pin
kubben9-Mar-07 13:31
kubben9-Mar-07 13:31 
Questionusing Template columns Pin
Mr.Sam9-Mar-07 4:23
Mr.Sam9-Mar-07 4:23 
AnswerRe: using Template columns Pin
Parwej Ahamad9-Mar-07 6:18
professionalParwej Ahamad9-Mar-07 6:18 
GeneralRe: using Template columns Pin
Mr.Sam9-Mar-07 6:52
Mr.Sam9-Mar-07 6:52 
AnswerRe: using Template columns Pin
postmaster@programmingknowledge.com9-Mar-07 6:57
postmaster@programmingknowledge.com9-Mar-07 6:57 
QuestionError! Pin
nclauder9-Mar-07 4:21
nclauder9-Mar-07 4:21 
Hi everyone,
I'm having trouble with a datagrid that is supposed to insert data. But one row has to insert data in the data base using Radio button. So I created two buttons one of Bad Mood then the other one is Good mood. when one is selected, the data is to be inserted into the database. this is working well. But the problem comes when it comes to images, thes images are smilies. When good mood is selected I want a smiley to be inserted into the database too. So I created the smilies but when and made them invisible so I wrote this code to be able save them in the database but I'm getting two errors. Where could I be wrong?

document.getElementById("imggm").style.visibility = "hidden";
function ChangeSmile()
{
if (document.getElementById("rblmood_0"))
{
document.getElementById("imggm").style.visibility = "none";
document.getElementById("imggm").src = "laughing.gif";
}
else
{
document.getElementById("imgbm").style.visibility = "visible";
document.getElementById("imgbm").src = "sad.gif";
}
}

The errors are:

Invalid token '(' in class, struct, or interface member declaration
Invalid token '=' in class, struct, or interface member declaration
(This error appears on the line: document.getElementById("imggm").style.visibility = "hidden";)

Thanks.



AnswerRe: Error! Pin
Marcus J. Smith9-Mar-07 4:46
professionalMarcus J. Smith9-Mar-07 4:46 
AnswerRe: Error! Pin
badgrs9-Mar-07 5:09
badgrs9-Mar-07 5:09 
QuestionClient Authentication Pin
Rohan Gupta9-Mar-07 3:26
Rohan Gupta9-Mar-07 3:26 
AnswerRe: Client Authentication Pin
Dmitry Khudorozhkov9-Mar-07 10:37
Dmitry Khudorozhkov9-Mar-07 10:37 
Question"Invalid Postback error" Pin
Jeeva Mary Varghese9-Mar-07 3:03
Jeeva Mary Varghese9-Mar-07 3:03 
AnswerRe: "Invalid Postback error" Pin
ToddHileHoffer9-Mar-07 3:21
ToddHileHoffer9-Mar-07 3:21 
QuestionDsipose Method Pin
vijay_839-Mar-07 2:34
vijay_839-Mar-07 2:34 
AnswerRe: Dsipose Method Pin
ToddHileHoffer9-Mar-07 2:37
ToddHileHoffer9-Mar-07 2:37 
AnswerRe: Dsipose Method Pin
Marcus J. Smith9-Mar-07 2:40
professionalMarcus J. Smith9-Mar-07 2:40 
Questionvalidation summary MessageBox with Fire Fox Pin
_tasleem9-Mar-07 2:14
_tasleem9-Mar-07 2:14 
AnswerRe: validation summary MessageBox with Fire Fox Pin
ToddHileHoffer9-Mar-07 2:42
ToddHileHoffer9-Mar-07 2:42 
GeneralRe: validation summary MessageBox with Fire Fox Pin
_tasleem9-Mar-07 3:13
_tasleem9-Mar-07 3:13 
GeneralRe: validation summary MessageBox with Fire Fox Pin
Marcus J. Smith9-Mar-07 4:07
professionalMarcus J. Smith9-Mar-07 4:07 
QuestionResponse.redirect Pin
Icarus1239-Mar-07 1:51
Icarus1239-Mar-07 1:51 
AnswerRe: Response.redirect Pin
szukuro9-Mar-07 2:19
szukuro9-Mar-07 2:19 
GeneralRe: Response.redirect Pin
Icarus1239-Mar-07 2:21
Icarus1239-Mar-07 2:21 
GeneralRe: Response.redirect Pin
Marcus J. Smith9-Mar-07 2:41
professionalMarcus J. Smith9-Mar-07 2:41 

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.