How to bind combobox control in DataForm?
i noticed one excellent article manish(http://weblogs.asp.net/manishdalal/archive/2009/07/03/silverlight-3-combobox-control.aspx) . unfortunitely, works in datagrid, there better way in dataform?
thanks in advance!!
to access datafield-wrapped control name, use dataform.findnameincontent() method. caveat: method should called after dataform's "contentloaded" event has fired (or else control may not have been loaded yet).
example:
dataform.contentloaded += (sender, args) => { textbox mytextbox = (textbox)dataform.findnameincontent("mytextbox"); // textbox... };
Silverlight > WCF RIA Services with Silverlight
Comments
Post a Comment