Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Find control inside cellvaluepresenter
posted

I've radiobutton inside a cellvalue presenter. I need to make the radibutton as checked when the record is activated. Kindly suggest me how to find the radiobutton inside the active record.

  • 69686
    posted

    To find this radio button, you can use the GetDescendant|GetAncestor methods of the Infragistics.Windows.Utilities class. This however is not necessary. In the template of the CellValuePresenter, you can bind the Radio Button's IsChecked property to the DataRecordPresenter's Record.IsActive property.

    I think I created a sample project for this, which you can find in this forum thread:

    http://blogs.infragistics.com/forums/p/27105/99605.aspx