<?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 : AspDataSource reporting errors to the UI</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : AspDataSource reporting errors to the UI</description>
  <pubDate>Wed, 10 Jun 2026 20:55:38 -700</pubDate>
  <lastBuildDate>Mon, 18 Aug 2008 08:18:12 -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=916</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>AspDataSource reporting errors to the UI : Jesper,  I totally agree with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=916&amp;PID=3312#3312</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 916<br /><strong>Posted:</strong> 18-Aug-2008 at 8:18am<br /><br />Jesper,<DIV>&nbsp;</DIV><DIV>I totally agree with you that modifying the UI to perform validation is, in general. not the best way to perform verification.&nbsp; You really want the verification to happen independently of the UI.&nbsp; In Windows Forns, we are fortunate to have&nbsp;an Error provider which not only works well with .NET controls, but third party controls as well.&nbsp;&nbsp; In ASP.NET, there us no such mechanism, so there is no way for IdeaBlade Verification to&nbsp;send error messages to an error provider.&nbsp; If you know of such&nbsp; an&nbsp;error&nbsp;provider, I woulde love to know about it.&nbsp; Remember also that the AspDataSource is designed to not only work with .NET Web Controls, but also thirf party Web Controls from Dev Express, Infragistics, and Telerik.</DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 08:18:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=916&amp;PID=3312#3312</guid>
  </item> 
  <item>
   <title>AspDataSource reporting errors to the UI : Hi,  I have a situation in my...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=916&amp;PID=3305#3305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=130" rel="nofollow">jcdk</a><br /><strong>Subject:</strong> 916<br /><strong>Posted:</strong> 15-Aug-2008 at 2:29am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have a situation in my ASP application, where the ASPDataSource (or rather the AdapterManager) may discover a problem with the data being inserted. I can not discover this problem with validators, because it is a rather complex calculation involving other data in the database. The checks have been build into the model.</DIV><DIV>&nbsp;</DIV><DIV>My problem is how I inform the user about the problem. Is there a way that I can have the AdapterManager tell the ASPDataSource that there is a problem, and have the datasource show a messagebox or something similar? </DIV><DIV>&nbsp;</DIV><DIV>The apllication uses an ASP FormView to hold the controls, and I have considered to have the FormViews OnItemInserting event actually copy the data to an Entity and perform the test, but I find that a very messy solution as it mixes UI with datamanipulation, so I would much rather have the ASPDataSource (or AdapterManager) report back somehow.</DIV><DIV>&nbsp;</DIV><DIV>Any help appriciated.</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV><DIV>Jesper Carstensen</DIV>]]>
   </description>
   <pubDate>Fri, 15 Aug 2008 02:29:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=916&amp;PID=3305#3305</guid>
  </item> 
 </channel>
</rss>