How do you disable the vertical scroll bar in a Data Repeater?

已锁定 How do you disable the vertical scroll bar in a Data Repeater?

  • 2012年2月8日 10:47
     
     
    I have a Data Repeater on a form that displays a set of records.  I also have a navigation bar at the top of this repeater that I want users to use for navigation between the records as opposed to the vertical scroll bar..  Is there anyway to disable the vertocal scroll bar?  I have tried <name of repeater>.VerticalScroll.Visible = false as well as <name of repeater>.VerticalScroll.Endabled = False both of which seem to have no effect... My Data Repeater is set to virtual mode so am I not sure if I need to handle this in item needed event or elsewhere or if it is even possible....  Thanks in advance for any advise here...

全部回复

  • 2012年2月10日 6:17
    版主
     
     

    Hi,

    Welcome to the MSDN Forum.

    This is just a quick note to let you know I am performing research on this issue and will get back to you as soon as possible. I appreciate your patience.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • 2012年2月10日 6:32
    版主
     
     已答复 包含代码

    Hi,

    Please try set the AutoScroll property to false.

    Me.DataRepeater1.AutoScroll = False

    I hope this will be helpful.

    Best regards,


    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.