Hello,
I lost my password and this is a "new client" which continues the Login problem under Dan Cern
1.
Regarding the login issue, the management works fine. Only specified users have access as expected. The problem is with all other users. When I do "View in Browser" from solution explorer I expect to see the Login page first but I get homepage instead.
I CAN do login if I wish but I can just view site without login. It seems to me the web.confic should direct site to Login.aspx and not to Default.aspx but I haven't found in web.config any directive to either files.
2.
Regarding the issue of making a line in Reviews/All.aspx a link. I want the text under Title to by a hyperlink. What I understood from your answer is that in the database [Reviews table,Title field] I write the link as is. For example:
http://www.google.com.
If the location is under a folder in the site itself, should do something like ~/About/AboutUs.aspx or url="~/About/AboutUs.aspx" ?
That is from the DB side.
Now for the solution side.
You wrote me:
Instead, enter
http://www.google.com in the database and bind the NavigateUrl to it, like this:
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "Eval("Title").ToString() %>'
Text='<%# Eval("Title") %>'></asp:HyperLink>
(Taken from Reviews/All.aspx and changed the NavigateUrl attribute)
1. Should I gather from here that when you write "Title" it is so because that happens to be the name for the field where I keep the actual link in DB?
2. Should I write <asp:HyperLink ID="HyperLink1" as is? What is the meaning of HyperLink1 in this context?
3. Is the location to put this <asp.. in the GridView of Reviews/All.aspx which displays the table?
I appreciate your help as I have spent a long time trying various options unsuccessfully.
Best wishes,
Dan Cern