Click here to Skip to main content
15,917,968 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Records do not show Pin
Peace ON16-Jul-10 3:16
Peace ON16-Jul-10 3:16 
QuestionMultiple web site hosting in IIS having multiple domain names with static ip Pin
Vinay Varghese11-Jul-10 0:05
Vinay Varghese11-Jul-10 0:05 
AnswerRe: Multiple web site hosting in IIS having multiple domain names with static ip Pin
T M Gray13-Jul-10 8:43
T M Gray13-Jul-10 8:43 
GeneralRe: Multiple web site hosting in IIS having multiple domain names with static ip Pin
Vinay Varghese13-Jul-10 12:36
Vinay Varghese13-Jul-10 12:36 
GeneralRe: Multiple web site hosting in IIS having multiple domain names with static ip Pin
T M Gray14-Jul-10 9:37
T M Gray14-Jul-10 9:37 
GeneralRe: Multiple web site hosting in IIS having multiple domain names with static ip Pin
Vinay Varghese21-Jul-10 19:24
Vinay Varghese21-Jul-10 19:24 
Questionproblem in implementing validations in dynamically generated textboxes in Desktop vb.net application Pin
Amit Spadez9-Jul-10 2:04
professionalAmit Spadez9-Jul-10 2:04 
AnswerRe: problem in implementing validations in dynamically generated textboxes in Desktop vb.net application Pin
Eddy Vluggen10-Jul-10 23:55
professionalEddy Vluggen10-Jul-10 23:55 
Hi,

You'd need to hook up the Validating[^] event.

Below is an example on validating a control from that event;
C#
void onValidating(object sender, CancelEventArgs e)
{
	TextBox senderBox = sender as TextBox;
				
	if (senderBox.Text.Length == 0)
	{
		e.Cancel = true;
		System.Media.SystemSounds.Beep.Play();
	}
}


..and this is the code to hook up the event. You'd need something similar to this in your For-loop.
C#
myTextBox.Validating += new CancelEventHandler(onValidating);


Good luck Smile | :)
I are Troll Suspicious | :suss:

QuestionCreating Triggers Using Managed Code in SQL Server 2005 Pin
brian0048-Jul-10 23:11
brian0048-Jul-10 23:11 
QuestionDecompression is not producing actual data Pin
ameem858-Jul-10 20:30
ameem858-Jul-10 20:30 
AnswerRe: Decompression is not producing actual data Pin
Luc Pattyn8-Jul-10 23:44
sitebuilderLuc Pattyn8-Jul-10 23:44 
QuestionHow to deliver our Core class library Pin
cullyk7-Jul-10 21:17
cullyk7-Jul-10 21:17 
AnswerRe: How to deliver our Core class library Pin
Ennis Ray Lynch, Jr.8-Jul-10 6:53
Ennis Ray Lynch, Jr.8-Jul-10 6:53 
GeneralRe: How to deliver our Core class library Pin
Luc Pattyn8-Jul-10 8:09
sitebuilderLuc Pattyn8-Jul-10 8:09 
AnswerRe: How to deliver our Core class library Pin
The Man from U.N.C.L.E.8-Jul-10 8:06
The Man from U.N.C.L.E.8-Jul-10 8:06 
GeneralRe: How to deliver our Core class library Pin
cullyk8-Jul-10 14:15
cullyk8-Jul-10 14:15 
GeneralRe: How to deliver our Core class library Pin
The Man from U.N.C.L.E.8-Jul-10 22:24
The Man from U.N.C.L.E.8-Jul-10 22:24 
GeneralRe: How to deliver our Core class library Pin
cullyk8-Jul-10 23:49
cullyk8-Jul-10 23:49 
AnswerRe: How to deliver our Core class library Pin
Eddy Vluggen9-Jul-10 5:25
professionalEddy Vluggen9-Jul-10 5:25 
GeneralRe: How to deliver our Core class library Pin
cullyk11-Jul-10 16:57
cullyk11-Jul-10 16:57 
GeneralRe: How to deliver our Core class library Pin
Eddy Vluggen11-Jul-10 21:29
professionalEddy Vluggen11-Jul-10 21:29 
Questiondependency (injection?) question Pin
Super Lloyd7-Jul-10 14:22
Super Lloyd7-Jul-10 14:22 
QuestionRequest format is unrecognized for URL unexpectedly ending in web method name Pin
phoopwint7-Jul-10 11:34
phoopwint7-Jul-10 11:34 
AnswerRe: Request format is unrecognized for URL unexpectedly ending in web method name Pin
Richard MacCutchan7-Jul-10 11:51
mveRichard MacCutchan7-Jul-10 11:51 
GeneralRe: Request format is unrecognized for URL unexpectedly ending in web method name Pin
phoopwint7-Jul-10 11:58
phoopwint7-Jul-10 11:58 

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.