•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,519 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,815 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1170 | Replies: 7 | Solved
![]() |
I have a Navigation Menu at the top of my site that when on some pages you click a link the refreshes the page it looses all images and add one extra link
ASP.NET (VB)
View it here (Click on the reset button to cause it)
http://www.taylorsnet.co.uk/MembersArea/Join.aspx
Any Ideas
ASP.NET (VB)
View it here (Click on the reset button to cause it)
http://www.taylorsnet.co.uk/MembersArea/Join.aspx
Any Ideas
I have stepped through the code and all rows returned have the correct image path
Also this issue happens on both IE7 & Firefox 2
This issue only occures on a link that refreshes the page but does not navigate away
Here is the code that fill the Navigation Menu from SQL
And the code that postsback
Also this issue happens on both IE7 & Firefox 2
This issue only occures on a link that refreshes the page but does not navigate away
Here is the code that fill the Navigation Menu from SQL
SQLTable_L1 = Gen.GetNavigation(True, Members, "TopLeft")
For Each SQLRow_L1 In SQLTable_L1.Rows
MnuItem = New MenuItem(SQLRow_L1("Name").ToString, "", SQLRow_L1("Image").ToString, SQLRow_L1("URL").ToString, "")
mnuTopMainLeft.Items.Add(MnuItem)
NextlblJoinError.Visible = False lblLogInError.Visible = False txtJoinEMail.Text = "" txtJoinName.Text = "" txtJoinPassword.Text = "" txtJoinUsername.Text = "" txtLogInPassword.Text = "" txtLogInUsername.Text = "" chkLogInRemember.Checked = False
Last edited by ptaylor965 : Nov 8th, 2007 at 2:39 pm.
•
•
Join Date: Sep 2007
Posts: 1,058
Reputation:
Rep Power: 4
Solved Threads: 61
don't know what to tell you, but it works just fine in all of my browswers, and I test over 5 of them. However, is there some reason you cannot use validators on the page, and set the reset button to an actual reset button, or use javascript? It just seems like a waste of postbacks. If this form is runat the server, which it has gotta be if you are using those asp controls, why not use the validators and javascript? Saves much more time when submitting, and saves bandwidth and process time. Otherwise, it is on your computer, as neither of my computers with all the browsers see a problem.
I have tried it on five computers and all had the same issue but i have found the solution
i have added a to the masterpage
i have added a
If Not IsPostBack Then
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Html alignment issue (HTML and CSS)
- PHPbb - Dropdown menu Issue (PHP)
- Highlight the text menu if on current page (JavaScript / DHTML / AJAX)
- Unsolved dropdown menu (JavaScript / DHTML / AJAX)
- My Website (Website Reviews)
- navigation bar (HTML and CSS)
- navigation bar (HTML and CSS)
- Menu Fly Outs (Site Layout and Usability)
- Dialog Box alongwith Form (Visual Basic 4 / 5 / 6)
- Dynamic frame (Visual Basic 4 / 5 / 6)
Other Threads in the ASP.NET Forum
- Previous Thread: displaying image from db
- Next Thread: JOBS: ASP.net Developer with DNN Project experience



Linear Mode