<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : How to set DataSourceUpdateMode on ViewDescriptor</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : How to set DataSourceUpdateMode on ViewDescriptor</description>
  <pubDate>Fri, 10 Apr 2026 19:42:10 -700</pubDate>
  <lastBuildDate>Thu, 12 Jul 2007 10:37:51 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=134</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>How to set DataSourceUpdateMode on ViewDescriptor : Since Descriptors.AddGroup() doesn&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=134&amp;PID=291#291</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 134<br /><strong>Posted:</strong> 12-Jul-2007 at 10:37am<br /><br /><P>Since Descriptors.AddGroup() doesn't return the descriptors you have to get a little creative.&nbsp; You can do a Get for each radio button, and then set the DataSourceUpdateMode.&nbsp; Something like this:</P><FONT size=2><P>PatientCBM.Descriptors.Get(rbAgriWorkNo).DataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged; <BR>PatientCBM.Descriptors.Get(rbAgriWorkYes).DataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged; </P></FONT>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 10:37:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=134&amp;PID=291#291</guid>
  </item> 
  <item>
   <title>How to set DataSourceUpdateMode on ViewDescriptor : How would I go about changing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=134&amp;PID=290#290</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 134<br /><strong>Posted:</strong> 12-Jul-2007 at 10:36am<br /><br />How would I go about changing the DataSourceUpdateMode when I use AddGroup with a ViewDescriptor.&nbsp; I want the DataSourceUpdateMode to be<BR>OnPropertyChanged.<BR><BR>I have a panel control housing two radio buttons&nbsp; I am binding a value to see if a Patient has done agricultralwork (for government reporting)<BR>With a ControlBindingDescriptor I would just set the UpdateMode in the CBD's definition.&nbsp; Here's my code below.&nbsp; Any thoughts?<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rbAgriWorkNo.Tag = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rbAgriWorkYes.Tag = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim AgriWorkVD As ViewDescriptor = New ViewDescriptor(EntityPropertyDescriptors.Patient.UDSAgriWork)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PatientCBM.Descriptors.AddGroup(Me.pnlAgriWork, AgriWorkVD)<BR>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 10:36:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=134&amp;PID=290#290</guid>
  </item> 
 </channel>
</rss>