ListBox Scrolling(urgent)

Discussion in 'ASP .Net' started by arnabit@gmail.com, Sep 11, 2007.

  1. Guest

    have two listbox in a page in my website. one listbox contain report
    owner name the other one contain the report name.. both the listbox
    are databound.
    what i wanted is that when i scroll one listbox the listbox should
    also be scrolled and vice versa . please give a workaround.

    I know its a copmlex task but i need help urgently

    thanks in advance,
    Arnab
     
    , Sep 11, 2007
    #1
    1. Advertising

  2. On Sep 11, 6:54 am, "" <> wrote:
    > have two listbox in a page in my website. one listbox contain report
    > owner name the other one contain the report name.. both the listbox
    > are databound.
    > what i wanted is that when i scroll one listbox the listbox should
    > also be scrolled and vice versa . please give a workaround.
    >
    > I know its a copmlex task but i need help urgently
    >
    > thanks in advance,
    > Arnab


    pure HTML example:

    <select name="select1" size="5"
    onscroll="document.getElementById('select2').scrollTop=this.scrollTop;">
    <option value="opt1">option 1
    <option value="opt2">option 2
    <option value="opt3">option 3
    <option value="opt4">option 4
    <option value="opt5">option 5
    <option value="opt6">option 6
    <option value="opt7">option 7
    <option value="opt8">option 8
    <option value="opt9">option 9
    <option value="opt10">option 10
    </select>

    <select name="select2" size="5"
    onscroll="document.getElementById('select1').scrollTop=this.scrollTop;">
    <option value="opt1">option 1
    <option value="opt2">option 2
    <option value="opt3">option 3
    <option value="opt4">option 4
    <option value="opt5">option 5
    <option value="opt6">option 6
    <option value="opt7">option 7
    <option value="opt8">option 8
    <option value="opt9">option 9
    <option value="opt10">option 10
    </select>

    Hope this helps
     
    Alexey Smirnov, Sep 11, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. blenderdude
    Replies:
    0
    Views:
    1,127
    blenderdude
    Aug 3, 2003
  2. Tom Wild
    Replies:
    1
    Views:
    727
    Jerry III
    Aug 21, 2003
  3. headware
    Replies:
    0
    Views:
    1,036
    headware
    Oct 15, 2003
  4. =?Utf-8?B?U2NvdXRMZWU=?=

    Re: ASP.NET: Listbox scrolling

    =?Utf-8?B?U2NvdXRMZWU=?=, Sep 16, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    766
    =?Utf-8?B?U2NvdXRMZWU=?=
    Sep 16, 2004
  5. Frank Schumacher

    automated listbox-scrolling

    Frank Schumacher, Jun 19, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    388
    lee whitbeck
    Jun 19, 2007
Loading...

Share This Page