Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: std::map in C# Pin
Laxman Auti1-Jul-10 1:06
Laxman Auti1-Jul-10 1:06 
GeneralRe: std::map in C# Pin
raju_shiva1-Jul-10 1:46
raju_shiva1-Jul-10 1:46 
AnswerRe: std::map in C# [modified] Pin
Laxman Auti5-Jul-10 8:39
Laxman Auti5-Jul-10 8:39 
AnswerRe: std::map in C# [modified] Pin
Dave Doknjas30-Jun-10 11:30
Dave Doknjas30-Jun-10 11:30 
GeneralRe: std::map in C# Pin
Laxman Auti30-Jun-10 19:44
Laxman Auti30-Jun-10 19:44 
QuestionC#/OpenXML to manipulate Word files. Pin
Wolfram Steinke30-Jun-10 1:11
Wolfram Steinke30-Jun-10 1:11 
Questioncan you help me Pin
sweet_memory30-Jun-10 1:01
sweet_memory30-Jun-10 1:01 
AnswerRe: can you help me PinPopular
OriginalGriff30-Jun-10 1:14
mveOriginalGriff30-Jun-10 1:14 
AnswerRe: can you help me Pin
sweet_memory30-Jun-10 11:23
sweet_memory30-Jun-10 11:23 
GeneralRe: can you help me Pin
OriginalGriff1-Jul-10 0:53
mveOriginalGriff1-Jul-10 0:53 
AnswerRe: can you help me Pin
I Believe In GOD30-Jun-10 8:52
I Believe In GOD30-Jun-10 8:52 
AnswerRe: can you help me Pin
yu-jian30-Jun-10 18:23
yu-jian30-Jun-10 18:23 
QuestionHow to convert DataTable to MSDATASRC? Pin
vineesh v30-Jun-10 0:29
vineesh v30-Jun-10 0:29 
QuestionHow to invoke native MyFunction(MyStruct* myStructs, unsigned int nMyStructs) from C#? Pin
Chesnokov Yuriy29-Jun-10 22:39
professionalChesnokov Yuriy29-Jun-10 22:39 
AnswerRe: How to invoke native MyFunction(MyStruct* myStructs, unsigned int nMyStructs) from C#? Pin
freakyit1-Jul-10 4:50
freakyit1-Jul-10 4:50 
AnswerRe: How to invoke native MyFunction(MyStruct* myStructs, unsigned int nMyStructs) from C#? Pin
Daniel Grunwald2-Jul-10 0:24
Daniel Grunwald2-Jul-10 0:24 
Questionbluetooth transfer issue Pin
Sajjad Izadi29-Jun-10 21:23
Sajjad Izadi29-Jun-10 21:23 
AnswerRe: bluetooth transfer issue Pin
Giorgi Dalakishvili30-Jun-10 2:57
mentorGiorgi Dalakishvili30-Jun-10 2:57 
Questionpicture box in win forms Pin
vamsi.ramesh00729-Jun-10 20:13
vamsi.ramesh00729-Jun-10 20:13 
AnswerRe: picture box in win forms Pin
Abhinav S29-Jun-10 20:56
Abhinav S29-Jun-10 20:56 
QuestionChanging control rectangle color? Pin
Megidolaon29-Jun-10 13:22
Megidolaon29-Jun-10 13:22 
AnswerRe: Changing control rectangle color? Pin
Adam R Harris29-Jun-10 13:48
Adam R Harris29-Jun-10 13:48 
AnswerRe: Changing control rectangle color? Pin
Ravi Bhavnani29-Jun-10 13:59
professionalRavi Bhavnani29-Jun-10 13:59 
AnswerRe: Changing control rectangle color? Pin
Dr.Walt Fair, PE29-Jun-10 14:07
professionalDr.Walt Fair, PE29-Jun-10 14:07 
AnswerRe: Changing control rectangle color? Pin
V.29-Jun-10 21:15
professionalV.29-Jun-10 21:15 
if it is a website, I would do this in client side code instead of server code. (saves a round trip to the server)

Add a validation function that is called on the onchange event for that control that will do some basic checking (empty fields, phone number formatting, etc...) and color the control accordingly. Alternatively you can skip the onchange event and put the validation when the form is submitted.
V.

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.