Ticket DQ23797
Visible to All Users

lookupedit databindings

created 19 years ago

Windows Forms Components example
example is
rtLookUpEdit.DataBindings.Add("EditValue", DvMain, "ProductID")
My code is
           RepositoryItemLookUpEdit3.DataBindings.Add("EditValue", MapDs1, "Table_Id")
Error is
Error     7     'DataBindings' is not a member of 'DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit'.
WHy does ecample indicate databindings support but my code gives me an error.

Comments (1)
Stan (DevExpress Support) 19 years ago

    Hi Dean,
    I'm sorry, but your code isn't correct. The repositoryItem cannot be bound in such a way. If you wish to bind some VGridRow to a specific field, you should adjust its Properties.FieldName property
    Please try this solution and inform us of your results.
    Thanks,
    Stan.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.