Hey all,
I have a ASP .NET webpage which contains several panels. When I click a
button on the first "panel" page, it postsback to the same page, and I
switch the visibility of the panels accordingly. BUT, when I click the back
button, the same panel shows up, not the "previous" panel. I need to fix
this ASAP! I have tried expiring the page, but then I seem to lose
viewstate on the previous page (panel). How can I do this, I see a lot of
sites saying to use panels, but this is a major problem!
Thanks for any help!
Chad 2 1589
I have a simular thing, but no problems.
sub Button1(....) handles button1.click
'this button is on panel2
panel2.visible=false
panel1.visible = true
end sub
sub Button2(...) handles button2.click
'this button is on panel1
panel1.visible=false
panel2.visible=true
end sub
rg,
Eric
"Chad A. Beckner" <Ch*********@ProspectiveLink.com> schreef in bericht
news:%2****************@TK2MSFTNGP12.phx.gbl... Hey all,
I have a ASP .NET webpage which contains several panels. When I click a button on the first "panel" page, it postsback to the same page, and I switch the visibility of the panels accordingly. BUT, when I click the
back button, the same panel shows up, not the "previous" panel. I need to fix this ASAP! I have tried expiring the page, but then I seem to lose viewstate on the previous page (panel). How can I do this, I see a lot of sites saying to use panels, but this is a major problem!
Thanks for any help!
Chad
But what happens when user clicks the "Back" button of the browser? Does
the correct panels show up? Is there anything special that I need in the
Page_Load event (or other event?)
Chad
"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl... I have a simular thing, but no problems.
sub Button1(....) handles button1.click 'this button is on panel2 panel2.visible=false panel1.visible = true
end sub
sub Button2(...) handles button2.click 'this button is on panel1
panel1.visible=false panel2.visible=true end sub
rg, Eric
"Chad A. Beckner" <Ch*********@ProspectiveLink.com> schreef in bericht news:%2****************@TK2MSFTNGP12.phx.gbl... Hey all,
I have a ASP .NET webpage which contains several panels. When I click
a button on the first "panel" page, it postsback to the same page, and I switch the visibility of the panels accordingly. BUT, when I click the back button, the same panel shows up, not the "previous" panel. I need to
fix this ASAP! I have tried expiring the page, but then I seem to lose viewstate on the previous page (panel). How can I do this, I see a lot
of sites saying to use panels, but this is a major problem!
Thanks for any help!
Chad
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: JJ |
last post by:
Hi All,
I have 2 panels that have controls on them in a win
form. On Init of app I hide panel2 and show panel1, no
problem. On button Click I hide panel 1 and show panel 2,
panel 1 disappears...
|
by: BBM |
last post by:
I'm trying to set up a form with two panels divided by a Splitter control.
I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to...
|
by: Chris Ruegsegger |
last post by:
I have a registration type page that asks a series of
questions but does so using Panels to display only a
couple at a time. I have a Next and Back button on each
panel for navigation purposes. ...
|
by: Lerp |
last post by:
Hi all,
I was just playing around with some code to hide/show panels and I
discovered that I am losing a variable's value when my sub is called from a
button in paneltwo. Why is this?
Cheers...
|
by: Miguel Dias Moura |
last post by:
Hello,
i have 5 panels in an ASP.net / VB page.
The panel 1 is visible the other 4 are NOT visible.
I also have 5 images: image 1, image 2, ..., image5.
When i click one of the images,...
|
by: JJ |
last post by:
Hi,
How can I lay one panel over the other? I want to switch back and forth
between panels that overlap. If I do this and make one invisible can I still
load controls with data if that...
|
by: Jonas |
last post by:
Hi!
I have aspx-page where I use multiple panels to make room for more controls
than would otherwise fit onto one page. On submit, the controls on all
panels, visible or not, should be validated...
|
by: Demetri |
last post by:
I'm trying to determine if we want to use panels or user controls for our
pages. Our primary concern is performance, page loading and posting speed.
To illustrate my question, lets use the...
|
by: randy1200 |
last post by:
I'm working in Visual Studio 2005 and C#.
I have a WinForms application with two panels (left panel and right panel).
I have a textbox on the left panel, and a button on the right panel. I'd like...
|
by: aarepasky |
last post by:
I am using ASP.NET 2.0 and C#. I am creating a page with multiple
panels on it. In the panels are user controls that have the screen
layout to input data. I only show one panel at a time by...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |