Click here to Skip to main content
15,917,329 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Ajax help is needed Pin
N a v a n e e t h31-Aug-08 18:20
N a v a n e e t h31-Aug-08 18:20 
AnswerRe: Ajax help is needed Pin
Mujahid Ullah Shaik31-Aug-08 8:30
Mujahid Ullah Shaik31-Aug-08 8:30 
AnswerRe: Ajax help is needed Pin
Abhishek Sur31-Aug-08 9:52
professionalAbhishek Sur31-Aug-08 9:52 
AnswerRe: Ajax help is needed Pin
Gayani Devapriya31-Aug-08 17:40
Gayani Devapriya31-Aug-08 17:40 
Questionupdate database from a querystring data Pin
highjo30-Aug-08 8:11
highjo30-Aug-08 8:11 
AnswerRe: update database from a querystring data Pin
Gayani Devapriya31-Aug-08 18:05
Gayani Devapriya31-Aug-08 18:05 
QuestionShared code behind class Pin
Brady Kelly30-Aug-08 5:28
Brady Kelly30-Aug-08 5:28 
Questionfirefox vs IE newline Pin
Sunday8PM30-Aug-08 0:38
Sunday8PM30-Aug-08 0:38 
I have a problem with ASP.NET and AJAX. I try to post a form in async postback but when I do this in firefox the newlines are \n and in IE they are \r\n which creates a problem when displaying it on the site. I need to replace every \n which is not preceded by \r but how do I do that? This does not happen in normal postback, then all newlines are \r\n.

command.Parameters.Add("?message", MySqlDbType.VarChar).Value = Regex.Replace(tbMessage.Text.ToString().Trim(), "\n NOT PRECEDED BY \r", "\r\n");

Is there a way to say a character should not be there in a regex pattern? how?
AnswerRe: firefox vs IE newline Pin
Sunday8PM30-Aug-08 21:43
Sunday8PM30-Aug-08 21:43 
QuestionHow Could we use Html.TextBox("Title",(string)ViewData["title"]??ViewData.Model.Category.title) under MVC framework Pin
freechoice29-Aug-08 23:32
freechoice29-Aug-08 23:32 
Questionis there any particular format to convert date selected from asp.net and store it into sql Pin
Learning IT29-Aug-08 22:48
Learning IT29-Aug-08 22:48 
AnswerRe: is there any particular format to convert date selected from asp.net and store it into sql Pin
Christian Graus30-Aug-08 14:48
protectorChristian Graus30-Aug-08 14:48 
AnswerRe: is there any particular format to convert date selected from asp.net and store it into sql Pin
Abhishek Sur31-Aug-08 9:56
professionalAbhishek Sur31-Aug-08 9:56 
GeneralRe: is there any particular format to convert date selected from asp.net and store it into sql Pin
Christian Graus31-Aug-08 13:01
protectorChristian Graus31-Aug-08 13:01 
QuestionHow my client tool will run over internet Pin
koolprasad200329-Aug-08 22:37
professionalkoolprasad200329-Aug-08 22:37 
AnswerRe: How my client tool will run over internet Pin
Christian Graus30-Aug-08 14:49
protectorChristian Graus30-Aug-08 14:49 
Questioncheckbox list changed? Pin
Member 387988129-Aug-08 21:33
Member 387988129-Aug-08 21:33 
AnswerRe: checkbox list changed? Pin
Learning IT29-Aug-08 21:57
Learning IT29-Aug-08 21:57 
AnswerRe: checkbox list changed? Pin
Manas Bhardwaj29-Aug-08 22:17
professionalManas Bhardwaj29-Aug-08 22:17 
QuestionAutoCompleteType = "Disabled" not working in firefox Pin
ashok@techxygen29-Aug-08 21:27
ashok@techxygen29-Aug-08 21:27 
Questiongibberish controls Pin
helelark12329-Aug-08 21:02
helelark12329-Aug-08 21:02 
AnswerRe: gibberish controls Pin
Mujahid Ullah Shaik31-Aug-08 8:37
Mujahid Ullah Shaik31-Aug-08 8:37 
Questionvs2008 masterpage Pin
ncsubbu29-Aug-08 20:46
professionalncsubbu29-Aug-08 20:46 
AnswerRe: vs2008 masterpage Pin
Ashfield30-Aug-08 8:24
Ashfield30-Aug-08 8:24 
QuestionDifference betwen server.transfer and response.redirect Pin
BalasubramanianK29-Aug-08 20:34
BalasubramanianK29-Aug-08 20:34 

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.