Two-way binding is only supported for properties

Discussion in 'ASP .Net' started by ME, Feb 21, 2006.

  1. ME

    ME Guest

    I was getting this error when trying to bind to one my control's properties:

    Error 149 Two-way binding is only supported for properties. 'PropertyName'
    is not a valid property on "filename to control" xxx

    The solution (though not very understandable from the error) was to convert
    the property type (in this case an integer) to a string. Just thought
    others would benefit by this little piece of info.

    Thanks,

    Matt
    ME, Feb 21, 2006
    #1
    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. ba
    Replies:
    0
    Views:
    2,193
  2. Jonathan Carter

    Two-way binding in code behind

    Jonathan Carter, Dec 18, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    675
    Jonathan Carter
    Dec 18, 2005
  3. AM

    Dynamic two-way data binding

    AM, Apr 21, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    534
  4. Victor Porton
    Replies:
    1
    Views:
    688
    Steven T. Hatton
    Aug 29, 2004
Loading...

Share This Page