Click here to Skip to main content
15,892,161 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Regular Expression Pin
berba6-Jul-11 20:56
berba6-Jul-11 20:56 
Questionftp security issues Pin
Paul McGann5-Jul-11 8:57
professionalPaul McGann5-Jul-11 8:57 
AnswerRe: ftp security issues Pin
David Mujica5-Jul-11 9:21
David Mujica5-Jul-11 9:21 
AnswerRe: ftp security issues Pin
GenJerDan5-Jul-11 10:26
GenJerDan5-Jul-11 10:26 
GeneralRe: ftp security issues Pin
Paul McGann5-Jul-11 11:10
professionalPaul McGann5-Jul-11 11:10 
GeneralRe: ftp security issues Pin
GenJerDan5-Jul-11 11:11
GenJerDan5-Jul-11 11:11 
GeneralRe: ftp security issues Pin
Paul McGann5-Jul-11 11:35
professionalPaul McGann5-Jul-11 11:35 
Questionurgent - problem with html tags in asp.net c# (code behind) Pin
Cyberoxy5-Jul-11 4:42
Cyberoxy5-Jul-11 4:42 
Hey there!

Im developing website using asp.net and html mixed.

So I rather chose to use html select tag and checkbox tag. Contact.aspx.cs (code behind) doesn't recognise it because it is html tags. Is there a way to recognise html tags in code behind?? Look at below codes (bold):

Contact.aspx:

id="dlist1" onchange="swapImage1()">

Faith Card
Grace Card;


Blue






Card A6 (blank)


Contact.aspx.cs:

msg += "Name: " + txtName.Text; // fine
msg += "<br>Surname: " + txtSurname.Text; // fine
msg += "<br>Email: " + txtEmail.Text; // fine
msg += "<br>Order:" + HtmlTextWriterTag.Select.ToString("dlist1"); // belong to select tag

msg += "<br>Order:" + HtmlTextWriterTag..... // belong to checkbox tag - how?

mail.Body = msg;
mail.BodyEncoding = System.Text.Encoding.ASCII;

Hope you can help fix it! Your help much appreciated. It is urgent. Thank you!
AnswerRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Shameel5-Jul-11 5:08
professionalShameel5-Jul-11 5:08 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Cyberoxy5-Jul-11 5:20
Cyberoxy5-Jul-11 5:20 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Not Active5-Jul-11 6:29
mentorNot Active5-Jul-11 6:29 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Cyberoxy5-Jul-11 7:36
Cyberoxy5-Jul-11 7:36 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Not Active5-Jul-11 7:59
mentorNot Active5-Jul-11 7:59 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Shameel5-Jul-11 8:10
professionalShameel5-Jul-11 8:10 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Shameel5-Jul-11 8:15
professionalShameel5-Jul-11 8:15 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Cyberoxy5-Jul-11 8:20
Cyberoxy5-Jul-11 8:20 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Shameel5-Jul-11 8:24
professionalShameel5-Jul-11 8:24 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Cyberoxy5-Jul-11 8:35
Cyberoxy5-Jul-11 8:35 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Not Active5-Jul-11 8:45
mentorNot Active5-Jul-11 8:45 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Cyberoxy5-Jul-11 8:40
Cyberoxy5-Jul-11 8:40 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Shameel5-Jul-11 8:42
professionalShameel5-Jul-11 8:42 
GeneralRe: urgent - problem with html tags in asp.net c# (code behind) Pin
Not Active5-Jul-11 14:15
mentorNot Active5-Jul-11 14:15 
AnswerRe: urgent - problem with html tags in asp.net c# (code behind) Pin
berba6-Jul-11 20:38
berba6-Jul-11 20:38 
QuestionWebMethod called from Javascript mis-behaving Pin
markymark825-Jul-11 4:31
markymark825-Jul-11 4:31 
QuestionCannot use a leading .. to exit above the top directory. Pin
benams4-Jul-11 13:41
benams4-Jul-11 13: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.