Use the OnTextChanged event handler for textbox2. If there's text, disable #3 or query the data if it's not blank.
...Glenn On Mon, Oct 20, 2008 at 5:29 PM, Imstac <[EMAIL PROTECTED]> wrote: > > I have three textbox controls on a form. If textbox2 is left blank > then I want textbox3 to be populated with data that is based on what > value is keyed into textbox1. If textbox2 is not left blank then I > want textbox3 to be disabled. Is this possible to do? If so, how? > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/DotNetDevelopment You may subscribe to group Feeds using a RSS Feed Reader to stay upto date using following url <a href="http://feeds.feedburner.com/DotNetDevelopment"> http://feeds.feedburner.com/DotNetDevelopment</a> -~----------~----~----~----~------~----~------~--~---
