<?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="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Event ValueChanged not raised when edit item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Event ValueChanged not raised when edit item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 12:12:31 +0000</pubDate>
  <lastBuildDate>Fri, 20 Feb 2009 07:18:31 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=13458</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Event ValueChanged not raised when edit item : Hi Aaron,ok, it was a long week...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45680&amp;title=event-valuechanged-not-raised-when-edit-item#45680</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3156">Peter59</a><br /><strong>Subject:</strong> 13458<br /><strong>Posted:</strong> 20 February 2009 at 7:18am<br /><br />Hi Aaron,<br><br>ok, it was a long week for all of us, we are awaiting the weekend and sometimes things are difficult to understand <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><br><br>Did you read carefully my above example? <font size="2"><b>Item.Value is -1</b></font>, entered string is 0. I expected the ValueChanged event raised. <br><br>I try to ask my question in another way (in awaiting an answer from support team)<br><br><b>When Edit mode is entered, what do I change: the value or the caption of the item?</b> <br><br>Thanks for dicussing my problem,<br>Peter<br>]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 07:18:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45680&amp;title=event-valuechanged-not-raised-when-edit-item#45680</guid>
  </item> 
  <item>
   <title><![CDATA[Event ValueChanged not raised when edit item : Hi Peter,  When you edit item...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45679&amp;title=event-valuechanged-not-raised-when-edit-item#45679</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 13458<br /><strong>Posted:</strong> 20 February 2009 at 6:59am<br /><br />Hi Peter,<DIV>&nbsp;</DIV><DIV>When you edit item and value is the same, why fire ValueChanged event? It works like&nbsp;it should. </DIV><DIV>&nbsp;</DIV><DIV>What are you trying to accomplish anyway? Maybe there is another way&nbsp;<img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 06:59:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45679&amp;title=event-valuechanged-not-raised-when-edit-item#45679</guid>
  </item> 
  <item>
   <title><![CDATA[Event ValueChanged not raised when edit item : Hi Aaron, thanks for spending...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45674&amp;title=event-valuechanged-not-raised-when-edit-item#45674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3156">Peter59</a><br /><strong>Subject:</strong> 13458<br /><strong>Posted:</strong> 20 February 2009 at 4:34am<br /><br />Hi Aaron, <br><br>thanks for spending your time with my problem. <br><br>Yes of course (and I noticed it already), ValueChanged is raised, <b>when I enter a different value than the one displayed!</b><br><br>But did you try to enter the same value? In detail: <br><ul><li>Item.Value = -1</li><li>Item.Caption = 0 <br></li><li>Enter EditMode</li><li>Press 0<br></li><li>Hit the Enter-key</li></ul><b>No event ValueChanged is raised!</b> <br><br>]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 04:34:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45674&amp;title=event-valuechanged-not-raised-when-edit-item#45674</guid>
  </item> 
  <item>
   <title><![CDATA[Event ValueChanged not raised when edit item : Hi Peter,   If you look into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45673&amp;title=event-valuechanged-not-raised-when-edit-item#45673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 13458<br /><strong>Posted:</strong> 20 February 2009 at 4:08am<br /><br />Hi Peter, <DIV>&nbsp;</DIV><DIV>If you look into ValueChanged event you will see that Item.Value is indeed the value you entered in ReportItem.</DIV><DIV>&nbsp;</DIV><DIV>If you would add: MsgBox Item.Value &amp; " - " &amp; Item.Caption (in ValueChanged event) and you will see that Item.Value contains value you entered and if you close msgbox the value will be the same as before. So it looks like the value is lost or doesn't update Caption ???</DIV><DIV>&nbsp;</DIV><DIV>You could add in ValueChanged event: <strong>Item.Caption = Item.Value</strong> and now you see the value gets updated.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 04:08:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45673&amp;title=event-valuechanged-not-raised-when-edit-item#45673</guid>
  </item> 
  <item>
   <title><![CDATA[Event ValueChanged not raised when edit item : Hello, I try to give my users...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45663&amp;title=event-valuechanged-not-raised-when-edit-item#45663</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3156">Peter59</a><br /><strong>Subject:</strong> 13458<br /><strong>Posted:</strong> 20 February 2009 at 12:55am<br /><br />Hello, <br><br>I try to give my users the opportunity to edit a large quantity of values - in the attached example the actual stock after an inventory. Every value has to be confirmed wether it is equal to the nominal stock or not to get a feedback, what is booked (value entered) already. <br><br>My idea was to set the <b>item.value</b> in column "actual stock" to <b>-1</b>, but <b>item.caption</b> to <b>0</b> and update the according database record in the ValueChanged event. <br><br>But ValueChanged is not raised, when the user enters the same "value" (item.caption) as displayed, although item.value is different. <br><br>Is ValueChanged event in real a "CaptionChanged" event? &nbsp; <br><a href="uploads/20090220_005405_Test_ItemEdit.zip" target="_blank">uploads/20090220_005405_Test_ItemEdit.zip</a><br>See attached example. <br><br>]]>
   </description>
   <pubDate>Fri, 20 Feb 2009 00:55:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13458&amp;PID=45663&amp;title=event-valuechanged-not-raised-when-edit-item#45663</guid>
  </item> 
 </channel>
</rss>