﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebCombo - NonRetrievable Attribute &amp; WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/NonRetrievable-Attribute--WebCombo/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>NonRetrievable Attribute &amp; WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/NonRetrievable-Attribute--WebCombo/</link><pubDate>Thu, 05 Nov 2009 21:01:22 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; color: rgb(63, 63, 63); line-height: 18px; "&gt;Hi Patrick,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui', arial, verdana, tahoma; font-size: 12px; color: rgb(63, 63, 63); line-height: 18px; "&gt;Please let me clear one thing about this attribute. NonRetrievable&amp;nbsp;&amp;nbsp;is only an attribute or a flag. &lt;br /&gt;Those attribute does not do any process. In WebGrid, when bind to ISDS, this attribute only a flag. &lt;br /&gt;All the process is converting a CustomObject into a datatable then bind into WebGrid. &lt;br /&gt;During the converting, if this flag is on, the current properties would not be listed into datatable. &lt;br /&gt;That's why after RetrieveStructure on WebGrid, the data which is flagged on, would not be listed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;font class="Apple-style-span" style="font-size: 15px; color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; "&gt;&lt;span style="font-size: 12px; line-height: 18px; "&gt;WebCombo is the other things. WebCombo does not need this process. It can just accept CustomObject directly. That's why when you set that attribute, nothing happen. But once again, if you don't want it to be called, you must not set the value on that properties. If you set the value, of course the data would be populated. &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font class="Apple-style-span" style="font-size: 15px; color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; "&gt;&lt;span style="font-size: 12px; line-height: 18px; "&gt;Regards,&lt;br /&gt;Handy&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font class="Apple-style-span" style="font-size: 15px; color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; "&gt;&lt;span style="font-size: 12px; line-height: 18px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font class="Apple-style-span" style="font-size: 15px; color: rgb(63, 63, 63); font-family: 'segoe ui', arial, verdana, tahoma; "&gt;&lt;span style="font-size: 12px; line-height: 18px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>NonRetrievable Attribute &amp; WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/NonRetrievable-Attribute--WebCombo/</link><pubDate>Mon, 02 Nov 2009 02:48:06 GMT</pubDate><dc:creator>pchanez</dc:creator><description>&lt;p&gt;The webcombo is bound to an ISDataSource, but I'm assigning the ID of the datasource in the InitializeDataSource event ... so I understand that in this case, it won't work, correct ? Is there any possible workarround ?&lt;/p&gt;</description></item><item><title>NonRetrievable Attribute &amp; WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/NonRetrievable-Attribute--WebCombo/</link><pubDate>Mon, 02 Nov 2009 02:38:29 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Please let me know if WebCombo is bound to ISDataSource or in InitializeDataSource.&lt;br /&gt;If the data is bound to ISDS, and the attribute is defined in the object, then it should be applicable because ISDS will read the attribute when it returns the custom obeject. But if the data is bound in InitDS, it won't take account the setting.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>NonRetrievable Attribute &amp; WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/NonRetrievable-Attribute--WebCombo/</link><pubDate>Thu, 29 Oct 2009 06:08:22 GMT</pubDate><dc:creator>pchanez</dc:creator><description>&lt;p&gt;I have the feeling that the NonRetrievable attribute is not consider by WebCombo. Typically I would like to have the list of customers within a combo. &lt;/p&gt;
&lt;p&gt;My customer class has a property Order that is going to retrieve the order from the db and I do not need to have this information in the combo. &lt;/p&gt;
&lt;p&gt;When using the WebGrid, you could flag such property with [NonRetrievable()] and the properties are not populated during the binding, but with the combo it doesn't work (ie, the property are called even if the property is flagged).&lt;/p&gt;
&lt;p&gt;I also see that the NonRetrievableAttribute is defined both in the WebGrid and the ISDatasource namespace. I tried both, but without success ...&lt;/p&gt;
&lt;p&gt;Is it possible to avoid the loading of such properties with the combo ?&lt;/p&gt;</description></item></channel></rss>