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