Fix Scrollbar position in a checkboxList after postback

Fix Scrollbar position in a checkboxList after postback

Hi, I have a CheckBoxList in which have lot of items and i set AutoPostBack="True".I am using Scrollbar on this list.Now when I am checking any item then after postback scroll position is going to top.I want to focus that checkbox which i have choosen last.How is it possible?I am using javascript,but CheckBoxList has autopostback true,that's why it is not working.Please help me... ................................

function GetCheckBoxListValues() { var chkBox = document.getElementById('<%= myCheckBoxListID.ClientID %>'); var options = chkBox.getElementsByTagName('input'); var listOfSpans = chkBox.getElementsByTagName('span'); for (var i = 0; i < options.length; i++) { if(options[i].checked) { options[i].focus(); } } }

View Answers









Related Tutorials/Questions & Answers:
Fix Scrollbar position in a checkboxList after postback
Fix Scrollbar position in a checkboxList after postback  Hi, I have a CheckBoxList in which have lot of items and i set AutoPostBack="True".I am using Scrollbar on this list.Now when I am checking any item then after postback
scrollbar
scrollbar  I add a scrollbar to my Frame and its not working
Advertisements
Java Scrollbar
Java Scrollbar   What is the difference between a Scrollbar and a ScrollPane
vertical scrollbar but without a horizontal scrollbar
vertical scrollbar but without a horizontal scrollbar  How do I make a frame with a vertical scrollbar but without a horizontal scrollbar
Horizontal Scrollbar
Horizontal Scrollbar  How can I implement a horizontal scrollbar
Scrollbar
Scrollbar       A scrollbar is represented by a "slider" widget. The characteristics of it are specified by integer values which are being set at the time of scrollbar
frame with a vertical scrollbar but without a horizontal scrollbar.
frame with a vertical scrollbar but without a horizontal scrollbar.  How do I make a frame with a vertical scrollbar but without a horizontal scrollbar
Horizontal Scrollbar
Horizontal Scrollbar  I am creating a JSF project that has a print("<af:table/>"); the table is too wide to display in the browser. I was wondering if there was anyway to implement a horizontal scrollbar in this table so
scrollbar in JPanel
scrollbar in JPanel  Scroll bar is not working when i am using the panel layout is null. If i change the panel layout to flow or grid its working. I..., JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);f.add(s
ModuleNotFoundError: No module named 'fix'
fix After the installation of fix python library, ModuleNotFoundError...ModuleNotFoundError: No module named 'fix'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'fix
struts2.2.1 checkboxlist tag example.
struts2.2.1 checkboxlist tag example. In this turtorial, you will see the use of  checkboxlist tag example of struts2.2.1.The checkboxlist tag is a UI... of CheckBoxList tag example.  1- index.html <html>ADS_TO_REPLACE_1
menu with scrollbar
menu with scrollbar  I want to use MenuBar with Scrollbar. I tried it. I dont know how to do it. so please help me. The program should be.... 1.add JScrollPane into the panel. 2.Panel layout should be null. 3.Use menubar 4.Each
Checkboxlist Tag (Form Tag) Example
Checkboxlist Tag (Form Tag) Example       In this section, we are going to describe the checkboxlist tag. The checkboxlist tag is a UI tag that creates a series of checkboxes from a list. Setup is like <
java program:scrollbar
java program:scrollbar  my program logic is that when i scrolling scrollbar according to that the oval shap is changed by fetching the value of scrollbar the oval is drawn please give me a proper code of this logic
CSS ScrollBar Properties
CSS ScrollBar Properties  How can i set ScrollBar properties in CSS? I am using HTML, CSS and Div in my code. Thanks!!   overflow: scroll; overflow-y: scroll; overflow-x: scroll; overflow:-moz-scrollbars-vertical
scrollbar - applet - Applet
scrollbar - applet  Hi!! It is the program for a vertical scroll bar and the output is (small vertical scrollbar). Suppose if I want a lengthy... ScrollbarDemo extends Applet { public void init() { Scrollbar sb = new
Scrollbar problem with struts <layout:collection>
Scrollbar problem with struts   How activate the vertical scrollbar in struts in mozilla firefox
div to scrollbar - Java Beginners
vertical scrollbar. for this i am using a css for that div in which i tried to add... who replied my answer.  hi, div and scrollbar html...; } // Position an object at a specific pixel coordinate function shiftTo
ModuleNotFoundError: No module named 'colout-fix'
with following command: pip install colout-fix After the installation of colout...ModuleNotFoundError: No module named 'colout-fix'  Hi, My Python... 'colout-fix' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'colout-fix'
with following command: pip install colout-fix After the installation of colout...ModuleNotFoundError: No module named 'colout-fix'  Hi, My Python... 'colout-fix' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'cpca-fix'
command: pip install cpca-fix After the installation of cpca-fix python...ModuleNotFoundError: No module named 'cpca-fix'  Hi, My Python... 'cpca-fix' How to remove the ModuleNotFoundError: No module named 'cpca-fix
ModuleNotFoundError: No module named 'cpca-fix'
command: pip install cpca-fix After the installation of cpca-fix python...ModuleNotFoundError: No module named 'cpca-fix'  Hi, My Python... 'cpca-fix' How to remove the ModuleNotFoundError: No module named 'cpca-fix
ModuleNotFoundError: No module named 'django-tables2-wsgi-fix'
django-tables2-wsgi-fix After the installation of django-tables2-wsgi-fix...ModuleNotFoundError: No module named 'django-tables2-wsgi-fix'  Hi...: No module named 'django-tables2-wsgi-fix' How to remove the ModuleNotFoundError
ModuleNotFoundError: No module named 'fakeredis-fix'
with following command: pip install fakeredis-fix After...ModuleNotFoundError: No module named 'fakeredis-fix'  Hi, My... 'fakeredis-fix' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'mailcap-fix'
with following command: pip install mailcap-fix After the installation...ModuleNotFoundError: No module named 'mailcap-fix'  Hi, My Python... 'mailcap-fix' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'pcap-fix'
command: pip install pcap-fix After the installation of pcap-fix python...ModuleNotFoundError: No module named 'pcap-fix'  Hi, My Python... 'pcap-fix' How to remove the ModuleNotFoundError: No module named 'pcap-fix
ModuleNotFoundError: No module named 'pycocotools-fix'
python with following command: pip install pycocotools-fix After...ModuleNotFoundError: No module named 'pycocotools-fix'  Hi, My... named 'pycocotools-fix' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'pycocotools-fix'
python with following command: pip install pycocotools-fix After...ModuleNotFoundError: No module named 'pycocotools-fix'  Hi, My... named 'pycocotools-fix' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'pyhocon-fix'
with following command: pip install pyhocon-fix After the installation...ModuleNotFoundError: No module named 'pyhocon-fix'  Hi, My Python... 'pyhocon-fix' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'pyrrd-fix'
command: pip install pyrrd-fix After the installation of pyrrd-fix...ModuleNotFoundError: No module named 'pyrrd-fix'  Hi, My Python... 'pyrrd-fix' How to remove the ModuleNotFoundError: No module named 'pyrrd
ModuleNotFoundError: No module named 'xlwt-fix'
command: pip install xlwt-fix After the installation of xlwt-fix python...ModuleNotFoundError: No module named 'xlwt-fix'  Hi, My Python... 'xlwt-fix' How to remove the ModuleNotFoundError: No module named 'xlwt-fix
ModuleNotFoundError: No module named 'xlwt-fix'
command: pip install xlwt-fix After the installation of xlwt-fix python...ModuleNotFoundError: No module named 'xlwt-fix'  Hi, My Python... 'xlwt-fix' How to remove the ModuleNotFoundError: No module named 'xlwt-fix
ModuleNotFoundError: No module named 'xlwt-fix'
command: pip install xlwt-fix After the installation of xlwt-fix python...ModuleNotFoundError: No module named 'xlwt-fix'  Hi, My Python... 'xlwt-fix' How to remove the ModuleNotFoundError: No module named 'xlwt-fix
ModuleNotFoundError: No module named 'bayo-fix'
command: pip install bayo-fix After the installation of bayo-fix python...ModuleNotFoundError: No module named 'bayo-fix'  Hi, My Python... 'bayo-fix' How to remove the ModuleNotFoundError: No module named 'bayo-fix
ModuleNotFoundError: No module named 'censor-fix'
with following command: pip install censor-fix After the installation of censor...ModuleNotFoundError: No module named 'censor-fix'  Hi, My Python... 'censor-fix' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'colout-fix'
with following command: pip install colout-fix After the installation of colout...ModuleNotFoundError: No module named 'colout-fix'  Hi, My Python... 'colout-fix' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'cpca-fix'
command: pip install cpca-fix After the installation of cpca-fix python...ModuleNotFoundError: No module named 'cpca-fix'  Hi, My Python... 'cpca-fix' How to remove the ModuleNotFoundError: No module named 'cpca-fix
ModuleNotFoundError: No module named 'django-tables2-wsgi-fix'
django-tables2-wsgi-fix After the installation of django-tables2-wsgi-fix...ModuleNotFoundError: No module named 'django-tables2-wsgi-fix'  Hi...: No module named 'django-tables2-wsgi-fix' How to remove the ModuleNotFoundError
ModuleNotFoundError: No module named 'dpkt-fix'
command: pip install dpkt-fix After the installation of dpkt-fix python...ModuleNotFoundError: No module named 'dpkt-fix'  Hi, My Python... 'dpkt-fix' How to remove the ModuleNotFoundError: No module named 'dpkt-fix
ModuleNotFoundError: No module named 'dxf-fix'
: pip install dxf-fix After the installation of dxf-fix python library...ModuleNotFoundError: No module named 'dxf-fix'  Hi, My Python...-fix' How to remove the ModuleNotFoundError: No module named 'dxf-fix
ModuleNotFoundError: No module named 'fakeredis-fix'
with following command: pip install fakeredis-fix After...ModuleNotFoundError: No module named 'fakeredis-fix'  Hi, My... 'fakeredis-fix' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'fix-author'
with following command: pip install fix-author After the installation of fix...ModuleNotFoundError: No module named 'fix-author'  Hi, My Python... 'fix-author' How to remove the ModuleNotFoundError: No module named 'fix
ModuleNotFoundError: No module named 'fix_chitown'
with following command: pip install fix_chitown After the installation of fix...ModuleNotFoundError: No module named 'fix_chitown'  Hi, My Python... 'fix_chitown' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'fix-includes'
with following command: pip install fix-includes After the installation...ModuleNotFoundError: No module named 'fix-includes'  Hi, My Python... 'fix-includes' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'fix-utcnow'
with following command: pip install fix-utcnow After the installation of fix...ModuleNotFoundError: No module named 'fix-utcnow'  Hi, My Python... 'fix-utcnow' How to remove the ModuleNotFoundError: No module named 'fix
ModuleNotFoundError: No module named 'fix-winpath'
with following command: pip install fix-winpath After the installation of fix...ModuleNotFoundError: No module named 'fix-winpath'  Hi, My Python... 'fix-winpath' How to remove the ModuleNotFoundError: No module named '
Scrollbar click in safari browser not Collapsing opened dropdowns
Scrollbar click in safari browser not Collapsing opened dropdowns  When im clicking on the scrollbar in safari browser the click not collapsing the opened dropdowns....i mean if iam scrolling the scrollbars after content is being
position of a link
position of a link  I have 10 links which links to a table if i click... position of a link the table appears at the bottom i want it to be display at the top pls help me.Each link if i click it should display in the same position
infix to post fix convertion
infix to post fix convertion  a+(bc-(d/e^f))*h
Flex scrollbar control
minScroll Position that define the minimum value for the scrollbar and set...Flex ScrollBar Control:- If the user handles data that are displayed but data is too much and not fit in the display area then the user use ScrollBar

Ads