473,395 Members | 2,006 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,395 software developers and data experts.

Postback and Back Button

Hi,

I have a page with 3 options, when a user select one, he's redirected to
a page with several option (checkbox) each of them with autopostback set to
true.

My problem is :

If the user click on the back button to go back to the page with the
3 main option, the browser only go back to the previous Postback, so if the
user as selected 15 checkbox, he will have to click the back button 15 time
to go back to the main page.

Is there any solution to this ?

Thank you.
Nov 18 '05 #1
3 1756
Are you sure you need the autopostback in true... Set to false and resolve
the problem

This approach will comsume too much resources (time, server, bandwidth... )

"Andre" <lo*****@cablevision.qc.ca> wrote in message
news:eV*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a page with 3 options, when a user select one, he's redirected to a page with several option (checkbox) each of them with autopostback set to true.

My problem is :

If the user click on the back button to go back to the page with the 3 main option, the browser only go back to the previous Postback, so if the user as selected 15 checkbox, he will have to click the back button 15 time to go back to the main page.

Is there any solution to this ?

Thank you.

Nov 18 '05 #2
The problem is that i need to manage the checkbox in my datagrid.
The first time the user access the page, only the first checkbox is
enabled=true, when the first one is clicked all the other are enabled.
After that, when the user have selected 3 checkbox another Table is set to
visible=true.

So i need to do some postback to count the number of checked checkbox..

Or maybe there's another way to do it ?
"Carlos Campos" <carlos@(NoSpam)costarricense.cr> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
Are you sure you need the autopostback in true... Set to false and resolve
the problem

This approach will comsume too much resources (time, server, bandwidth... )
"Andre" <lo*****@cablevision.qc.ca> wrote in message
news:eV*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a page with 3 options, when a user select one, he's
redirected to
a page with several option (checkbox) each of them with autopostback set

to
true.

My problem is :

If the user click on the back button to go back to the page with

the
3 main option, the browser only go back to the previous Postback, so if

the
user as selected 15 checkbox, he will have to click the back button 15

time
to go back to the main page.

Is there any solution to this ?

Thank you.


Nov 18 '05 #3
Well, I had a problem like that, and I used javascript, just to count the
checked ones and show the count in a span tag. You can do the same and when
you have checked x checkboxes submit the page.

"Andre" <lo*****@cablevision.qc.ca> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
The problem is that i need to manage the checkbox in my datagrid.
The first time the user access the page, only the first checkbox is
enabled=true, when the first one is clicked all the other are enabled.
After that, when the user have selected 3 checkbox another Table is set to
visible=true.

So i need to do some postback to count the number of checked checkbox..

Or maybe there's another way to do it ?
"Carlos Campos" <carlos@(NoSpam)costarricense.cr> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
Are you sure you need the autopostback in true... Set to false and resolve the problem

This approach will comsume too much resources (time, server,

bandwidth... )

"Andre" <lo*****@cablevision.qc.ca> wrote in message
news:eV*************@TK2MSFTNGP10.phx.gbl...
Hi,

I have a page with 3 options, when a user select one, he's redirected
to
a page with several option (checkbox) each of them with autopostback

set to
true.

My problem is :

If the user click on the back button to go back to the page
with the
3 main option, the browser only go back to the previous Postback, so
if the
user as selected 15 checkbox, he will have to click the back button 15

time
to go back to the main page.

Is there any solution to this ?

Thank you.



Nov 18 '05 #4

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

Similar topics

4
by: Chris Lane | last post by:
Hi, I have an HTML RESET button and Web Control Button that posts back to the server. Problem is the reset button doesn't work after the postback occurs. Any ideas or suggestions as to why this...
1
by: Roz Lee | last post by:
I have a page with two textboxes and two buttons which post back to the server. I want to detect which button has been clicked for testing purposes preferably clientside, but otherwise serverside....
4
by: Jeremy | last post by:
I have an ASPX page with a bunch of System.Web.UI.WebControls.Button controls on it. By default, clicking on any of these causes a Postback. I'd like to have it so that for a couple of these...
10
by: Krista Lemieux | last post by:
I'm new to ASP.NET and I'm not use to the way things are handled with this technology. I've been told that when I have a control, I should only bind the data to it once, and not on each post back...
11
by: CW | last post by:
I have message entry screen that's causing me a bit of an issue. At the moment, there are 2 buttons, one is used to send message to another user (btnSend) and another is used to send messages to...
10
by: Adam Clauss | last post by:
I have a page containing a list box. This list may contain duplicate items - in which the ORDER is important. ex: a b b a is significant as compared to: b
11
by: antonyliu2002 | last post by:
I know that this has been asked and answered thousands of times. As a matter of fact, I know that I need to say If Not Page.IsPostBack Then 'Do something End If for things that needs to be...
1
by: Evan M. | last post by:
Here's my GridView and my SqlDataSource <asp:GridView ID="ContactHistoryGrid" runat="server" AutoGenerateColumns="False" DataSourceID="ContactHistoryDS" DataKeyNames="JobHistoryID"...
4
by: Dan | last post by:
Hi, i'm not sure to understand the difference between refreshing the pagina by clicking on 'refresh' in the browser and a postback. What i think it is: Suppose a page with a form containing a...
0
by: Lance Wynn | last post by:
I recently had a problem where an ASP:Button on a webform was initiating an unwanted postback (I had onClientClick set to a function, and assumed that would override the postback.). I solved this...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.