bindingnavigator

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GS

    bindingnavigator

    I see in the design view of the binding navigator that the items like next
    Item, prev item... are enabled but when I run, the form, somehow they got
    disabled. I can still scroll thru the gridview by clicking on a row in the
    gridview, and use up/down cursor.key

    It seems to me some generated code turn of the scroll items etc in the
    binding navigator. and I have to explicitly in the form load event to enable
    each one.


    is there another way? I don't recall having to do that for a c# project

    the gridview is bound to a table in a sql dataset


  • =?Utf-8?B?VGVycnk=?=

    #2
    RE: bindingnavigato r

    Have you set the BindingNavigato r's BindingSource in the new or load
    routines?
    --
    Terry


    "GS" wrote:
    I see in the design view of the binding navigator that the items like next
    Item, prev item... are enabled but when I run, the form, somehow they got
    disabled. I can still scroll thru the gridview by clicking on a row in the
    gridview, and use up/down cursor.key
    >
    It seems to me some generated code turn of the scroll items etc in the
    binding navigator. and I have to explicitly in the form load event to enable
    each one.
    >
    >
    is there another way? I don't recall having to do that for a c# project
    >
    the gridview is bound to a table in a sql dataset
    >
    >
    >

    Comment

    • GS

      #3
      Re: bindingnavigato r

      Wonderful tip, thank you.

      I forgot to set the binding source in the property of the bindingNavigato r
      in designer
      .. all it takes is a couple clicks instead of explicitly enabling on each
      item in the form load event.

      "Terry" <TerryL@nospam. nospamwrote in message
      news:33BFA025-79C1-4E66-BBD3-7C1E9922F021@mi crosoft.com...
      Have you set the BindingNavigato r's BindingSource in the new or load
      routines?
      --
      Terry
      >
      >
      "GS" wrote:
      >
      I see in the design view of the binding navigator that the items like
      next
      Item, prev item... are enabled but when I run, the form, somehow they
      got
      disabled. I can still scroll thru the gridview by clicking on a row in
      the
      gridview, and use up/down cursor.key

      It seems to me some generated code turn of the scroll items etc in the
      binding navigator. and I have to explicitly in the form load event to
      enable
      each one.


      is there another way? I don't recall having to do that for a c# project

      the gridview is bound to a table in a sql dataset


      Comment

      Working...