WebUserControl's bindable properties not seen in GridView's Bindable Properties list

Discussion in 'ASP .Net Web Controls' started by Craig Buchanan, Aug 22, 2007.

  1. I created a WebUserControl with a SelectedValue property that can be data
    bound using the Bind() method. Moreover, I've marked the SelectedValue
    property with the Bindable and Browsable attributes. I can manually set the
    binding in the ASPX page using SelectValue='<%# Bind("ColumnName") #>'
    syntax. For some reason, however, the SelectedValue property isn't listed
    in the control's 'Bindable properties' list when I edit a templated column.

    What am I missing?

    Thanks,

    Craig Buchanan
     
    Craig Buchanan, Aug 22, 2007
    #1
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.