Click here to Skip to main content
15,905,616 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionError with foreach in aspx Pin
Brendan Vogt23-Feb-09 1:22
Brendan Vogt23-Feb-09 1:22 
AnswerRe: Error with foreach in aspx Pin
Greg Chelstowski23-Feb-09 1:50
Greg Chelstowski23-Feb-09 1:50 
AnswerYummy, classic ASP Pin
Ennis Ray Lynch, Jr.23-Feb-09 4:50
Ennis Ray Lynch, Jr.23-Feb-09 4:50 
QuestionASP.NET MVC show all files not working Pin
Brendan Vogt23-Feb-09 0:44
Brendan Vogt23-Feb-09 0:44 
QuestionRe: ASP.NET MVC show all files not working Pin
Brendan Vogt23-Feb-09 19:09
Brendan Vogt23-Feb-09 19:09 
AnswerRe: ASP.NET MVC show all files not working Pin
kadaoui el mehdi23-Feb-09 21:46
kadaoui el mehdi23-Feb-09 21:46 
QuestionJavascript Replace Pin
mehrdadc4823-Feb-09 0:43
mehrdadc4823-Feb-09 0:43 
AnswerRe: Javascript Replace Pin
Ray Wampler23-Feb-09 4:42
Ray Wampler23-Feb-09 4:42 
The string object in JavaScript has a replace method, so if you need to do more than a simple replace then we'd need some details.

From http://www.w3schools.com/jsref/jsref_replace.asp[^]:

Syntax
stringObject.replace(findstring,newstring)

Parameter Description
findstring Required. Specifies a string value to find. To perform a global search add a 'g' flag to this parameter and to perform a case-insensitive search add an 'i' flag
newstring Required. Specifies the string to replace the found value from findstring

If you need to simulate the .startsWith function in JavaScript then here's an article that demonstrates how to do so using regular expressions:

http://www.tek-tips.com/faqs.cfm?fid=6620[^]

If you need to do something different then let us know.

Regards,

Ray Wampler
www.RayWampler.com

QuestionDate? [modified] Pin
Karthick_gc23-Feb-09 0:23
Karthick_gc23-Feb-09 0:23 
AnswerRe: Date? Pin
ToddHileHoffer23-Feb-09 4:19
ToddHileHoffer23-Feb-09 4:19 
GeneralRe: Date? Pin
Karthick_gc23-Feb-09 20:23
Karthick_gc23-Feb-09 20:23 
GeneralRe: Date? Pin
Karthick_gc23-Feb-09 20:27
Karthick_gc23-Feb-09 20:27 
GeneralRe: Date? Pin
ToddHileHoffer24-Feb-09 2:22
ToddHileHoffer24-Feb-09 2:22 
GeneralRe: Date? Pin
Karthick_gc24-Feb-09 20:13
Karthick_gc24-Feb-09 20:13 
GeneralRe: Date? Pin
ToddHileHoffer25-Feb-09 2:16
ToddHileHoffer25-Feb-09 2:16 
GeneralRe: Date? Pin
Karthick_gc25-Feb-09 19:38
Karthick_gc25-Feb-09 19:38 
GeneralRe: Date? Pin
ToddHileHoffer26-Feb-09 2:43
ToddHileHoffer26-Feb-09 2:43 
QuestionOne to One Chat application in Asp.Net PinPopular
SKP2423-Feb-09 0:09
SKP2423-Feb-09 0:09 
AnswerRe: One to One Chat application in Asp.Net Pin
Member 265804323-Jun-09 21:24
Member 265804323-Jun-09 21:24 
QuestionHow to implement weather API of http://www.accuweather.com Pin
trilokharry22-Feb-09 23:33
trilokharry22-Feb-09 23:33 
AnswerRe: How to implement weather API of http://www.accuweather.com Pin
ToddHileHoffer23-Feb-09 4:14
ToddHileHoffer23-Feb-09 4:14 
QuestionGetting postback in update panel Pin
Member 387988122-Feb-09 23:24
Member 387988122-Feb-09 23:24 
AnswerRe: Getting postback in update panel Pin
Abhijit Jana22-Feb-09 23:58
professionalAbhijit Jana22-Feb-09 23:58 
GeneralRe: Getting postback in update panel Pin
Member 387988123-Feb-09 0:11
Member 387988123-Feb-09 0:11 
GeneralRe: Getting postback in update panel Pin
Abhijit Jana23-Feb-09 0:16
professionalAbhijit Jana23-Feb-09 0:16 

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.