Fix Scrollbar position in a checkboxList after postback

Ads
 

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

Ads









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
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
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
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> <head><
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 problem with struts <layout:collection>
Scrollbar problem with struts   How activate the vertical scrollbar in struts in mozilla firefox
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
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
how to add scrollbar to JFrame
how to add scrollbar to JFrame  hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when... it shows the scrollbar but do not show the scrolling tabs here is my code pls do help
how to add scrollbar to JFrame
how to add scrollbar to JFrame  hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when... it shows the scrollbar but do not show the scrolling tabs here is my code pls do help
how to add scrollbar to JFrame
how to add scrollbar to JFrame  hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when... it shows the scrollbar but do not show the scrolling tabs here is my code pls do help
how to add scrollbar to JFrame
how to add scrollbar to JFrame  hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when... it shows the scrollbar but do not show the scrolling tabs here is my code pls do help
how to add scrollbar to JFrame
how to add scrollbar to JFrame  hello friends i am making a java application in which i have a frame to which i wanted to add scrollbars but when... it shows the scrollbar but do not show the scrolling tabs here is my code pls do help
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 '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 '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 '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 '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

Ads