473,414 Members | 1,677 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,414 software developers and data experts.

AutoPostBack CheckBoxList

tma
I'm using the CheckBoxList for customers to choose optional features and a
label control to update the price as the user selects options. What I'm
wondering is how, after the postback and the new calculation, I can get the
browser to scroll down to the CheckBoxList instead of return to the top of
the page after the postback and re-calculation. There is no .Focus per se in
..NET that I am aware of and users are forced to scroll down to the box
again.

Any help is greatly appreciated.


Nov 18 '05 #1
2 2170
On Wed, 28 Jul 2004 13:44:25 -0500, "tma" <tm*@allisconfusing.net> wrote:
I'm using the CheckBoxList for customers to choose optional features and a
label control to update the price as the user selects options. What I'm
wondering is how, after the postback and the new calculation, I can get the
browser to scroll down to the CheckBoxList instead of return to the top of
the page after the postback and re-calculation. There is no .Focus per se in
.NET that I am aware of and users are forced to scroll down to the box
again.

Any help is greatly appreciated.


Smart Navigation
http://msdn.microsoft.com/library/de...ationTopic.asp
Bobby Ryzhy
bobby @ domain below
http://weekendtech.net
Nov 18 '05 #2
Smart Navigation is good solutions for simple pages but can cause problems
if you use CSS. Check out the comments to this blog entry for a javascript
alternative and a description of Smart Navigation pitfalls:

http://weblogs.asp.net/donxml/archiv...4/14/5595.aspx

--
Hope this helps,
Bryant Hankins
Numinet Systems Inc.
http://www.numinet.com

"Bobby Ryzhy" <bo***@weekendtech.net> wrote in message
news:3d********************************@4ax.com...
On Wed, 28 Jul 2004 13:44:25 -0500, "tma" <tm*@allisconfusing.net> wrote:
I'm using the CheckBoxList for customers to choose optional features and alabel control to update the price as the user selects options. What I'm
wondering is how, after the postback and the new calculation, I can get thebrowser to scroll down to the CheckBoxList instead of return to the top ofthe page after the postback and re-calculation. There is no .Focus per se in.NET that I am aware of and users are forced to scroll down to the box
again.

Any help is greatly appreciated.

Smart Navigation

http://msdn.microsoft.com/library/de...ationTopic.asp

Bobby Ryzhy
bobby @ domain below
http://weekendtech.net

Nov 18 '05 #3

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

Similar topics

0
by: Bryce Budd | last post by:
Hello All, I've been a taker of information from newsgroups for a long time and thought I'd finally make a contribution back to the community whose supported me when I've needed it. After all...
4
by: dm_dal | last post by:
Is there a know issue surrounding the CheckBoxList control and it's viewstate? When my control is created, it's ListItems are checked as needed, but on a postback, they loose their Selected...
4
by: Shaul Feldman | last post by:
Hello, I have something really awkward at work - fighting with CheckBoxList... How can I define CSS for ListItem in CheckBoxList programmatically. I add CheckBoxList's Items on the fly, something...
5
by: Eirik Eldorsen | last post by:
I'm trying to code a reapter that for each listelement show a checkboxlist. I'm almost there. The only thing I can't figure out is how to set the ID of the checkboxlists. This is my code:...
2
by: Patrick.O.Ige | last post by:
I have some boolean value(1 or 0 ) in a table and i want a databinded CheckBoxList to present the selected values on the page.. With CheckBox i know i can se the Checked property like so :-...
2
by: Sean Chapman | last post by:
I've got a simple page I've made with a few controls (Treeview, Dropdownlist, ..). I'm running into an issue with autopostback. If I set it to AutoPostBack = "True", when the event should fire I...
1
by: Sean Chapman | last post by:
I've got a simple page I've made with a few controls (Treeview, Dropdownlist, ..). I'm running into an issue with autopostback. If I set it to AutoPostBack = "True", when the event should fire I...
1
by: opelit | last post by:
Hi! I have one CheckBoxList on a web page with some values (say "one","two","three") Now if i select "one" I want to show some controls on the same web page. If i select "one" and "two" then...
27
by: user1980 | last post by:
hello, i am trying to create a request form using asp.net where when a user selects a checkbox, a dropdown should appear dynamically. I have seen few java-scripts in web, but I was wondering if I...
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?
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...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.