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

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607