Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2007

Tip: Looking for answers? Try searching our database.

Textbox validation problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Durango2008 - 17 Oct 2007 07:33 GMT
Hi I have written code to validate a textbox and if that textbox is valid I
would
like to make the submit button on the page enabled otherwise leave it
disabled,
which is what its default value is.
I have tried doing this in my code however it remains disabled and I am new
to
this so I am looking for certain ideas or hints.

Excuse my ignorance and thank you for your help
Nicholas Paldino [.NET/C# MVP] - 17 Oct 2007 16:28 GMT
Well, perhaps if you show some of your code, it would help.  You say
page, which makes me inclined to think it is an ASP.NET page, but I can't
tell.  If that's the case, then I expect you would be doing something
involving javascript.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Hi I have written code to validate a textbox and if that textbox is valid
> I would
[quoted text clipped - 6 lines]
>
> Excuse my ignorance and thank you for your help
Rad [Visual C# MVP] - 18 Oct 2007 10:52 GMT
>Hi I have written code to validate a textbox and if that textbox is valid I
>would
[quoted text clipped - 6 lines]
>
>Excuse my ignorance and thank you for your help

Sounds to me like an ASP.NET problem.

What sort of validation are you doing? I suggest you take a look at
ASP.NET's validation controls ... they might be able to solve your
problem

--
http://bytes.thinkersroom.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.