> I would like to add a password and user name to my website. If the
> username and password is correct than activate the hyperlinks and
[quoted text clipped - 5 lines]
>
> Using ASP.NET with Visual Studio 2005.
> > I would like to add a password and user name to my website. If the
> > username and password is correct than activate the hyperlinks and
[quoted text clipped - 20 lines]
>
> - Show quoted text -
Is there a way to disable all the website links until (isValidUser).
(I am using VB.NET)
gnewsgroup - 12 Oct 2007 17:15 GMT
> > > I would like to add a password and user name to my website. If the
> > > username and password is correct than activate the hyperlinks and
[quoted text clipped - 23 lines]
> Is there a way to disable all the website links until (isValidUser).
> (I am using VB.NET)
Yes, you can. If you don't wanna manually disable each link through
hard-code, you will have to recursively iterate through all controls
in your page, and disable your links.
Search recursive find controls, and you'll get a bunch.
gnewsgroup - 12 Oct 2007 17:19 GMT
> > > I would like to add a password and user name to my website. If the
> > > username and password is correct than activate the hyperlinks and
[quoted text clipped - 23 lines]
> Is there a way to disable all the website links until (isValidUser).
> (I am using VB.NET)
By the way, I just notice that you want to disable all website
(instead of a single page) links until authentication passes. I
understand that each application is different from the other, but why
do you need to do so?