473,385 Members | 1,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

weird browser crash with viewstates

hard to explain this but ill try

basically ive two buttons that are disabled and are only enabled when
certain criteria is met
i have 2 drop downs and 1 text box - once data has been entered (set to
autopostback) - a var is set to true
and once all three are true - the buttons are enabled - this works kind of.

(code for dropdown changed etc is like this :-)
Private Sub dropdown1_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles dropdown1.SelectedIndexChanged
ViewState.Add("one", True)
If ViewState.Item("one") = True And ViewState.Item("two") = True And
ViewState.Item("three") = True Then
Button6.Enabled = True : Button7.Enabled = True
End If
End Sub

text is the same just its a text box - the variables are declared on page
load

now the page is set in frames - top frame, left frame, mainframe - with
navigation buttons in the top and left
now if the condition is met that the buttons are enabled after entering the
data and you DONT save and click another
navigation button - then go back to the page with the disabled buttons - it
works well - however - you attempt to enable the buttons by reentering
data - the browser kindve crashes - everybutton / link is disabled on the
top frame and left frame - and the default main page is nulled (no page) and
nothing works - you have to shutdown the browser

any ideas ? if this makes sense!

mark


Nov 18 '05 #1
0 971

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gabriel Afana | last post by:
I have a simple php script to just send email.....When I first load the script in a browser...it sends 2 emails. Why?? The weird thing is then when I refresh the page, it send only one email...I...
11
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom,...
14
by: nickdevx | last post by:
Without knowing "html before" and "html after" can anyone fathom any reason why the following code crashes IE but if I add <br/> after ANY <input> tags it doesn't? ...
4
by: Champika Nirosh | last post by:
Hi All, I have a asp .net app and it is a online test application so tracking the user behaviour is very important. The problem is in what way I can identify the user logoff time if it happens...
3
by: Bruce W.1 | last post by:
I need to do a post on the client side (with an html button) to another aspx URL, while keeping the viewstates. So I made an html button with onClick="location.href='whatever.aspx?state=true'" ...
1
by: hecsan07 | last post by:
I am trying to perform site login using values from a cookie, but for some weird reason the cookie is being destroyed after the browser window is closed. I checked the browser settings for the...
1
by: spilo101 | last post by:
I am experiencing a weird problem with my .aspx pages. I have just got stated with asp.NET and have installed everything. when I call the webpage (.aspx) at first time, it works fine, if I refresh...
2
by: Stick | last post by:
Some of my users are reporting a startup crash with this error: EventType : clr20r3 P1 : gaugeglow.exe P2 : 1.5.0.0 P3 : 44dda1df P4 : gaugeglow P5 : 1.5.0.0 P6 : 44dda1df P7 : 27 P8 : 0 P9 :...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.