﻿<?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 - WebInput - SetValueData on WebInput Numeric problem</title><link>http://www.intersoftsolutions.com/Community/WebInput/SetValueData-on-WebInput-Numeric-problem/</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>SetValueData on WebInput Numeric problem</title><link>http://www.intersoftsolutions.com/Community/WebInput/SetValueData-on-WebInput-Numeric-problem/</link><pubDate>Fri, 20 Nov 2009 04:08:50 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Yes it seems this is an issue with the WebInput. A bug report has been submitted, I will inform you if there is any progress or update regarding this issue.&lt;/p&gt;&lt;p&gt;In the mean time, you will need to set the value manually.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>SetValueData on WebInput Numeric problem</title><link>http://www.intersoftsolutions.com/Community/WebInput/SetValueData-on-WebInput-Numeric-problem/</link><pubDate>Fri, 20 Nov 2009 02:57:06 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;of course you're right, but it's a little bug in SetValueData function.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;Andrzej&lt;/p&gt;</description></item><item><title>SetValueData on WebInput Numeric problem</title><link>http://www.intersoftsolutions.com/Community/WebInput/SetValueData-on-WebInput-Numeric-problem/</link><pubDate>Fri, 20 Nov 2009 02:17:40 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Since the value expect the value of "123" instead of 123, we could set the value of the WebInput manually in the button onclick event handler. Here is the snippet:&lt;/p&gt;&lt;pre&gt;function WebButton1_onClick() {&lt;br /&gt;    var sVal = "123";&lt;br /&gt;    var input = ISGetObject("WebInput1");&lt;br /&gt;    &lt;br /&gt;    input.SetValueData(sVal);&lt;br /&gt;    input.Value = sVal;&lt;br /&gt;}   &lt;/pre&gt;&lt;p&gt;Setting the value manually resolve the issue in my environment.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>SetValueData on WebInput Numeric problem</title><link>http://www.intersoftsolutions.com/Community/WebInput/SetValueData-on-WebInput-Numeric-problem/</link><pubDate>Thu, 19 Nov 2009 06:57:16 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Scenario:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I set WebInput (with parameter NumericInput="true") to any numeric value from Javascript, ex: &lt;/p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;span style="font-size: 13px"&gt;WebButton1_onClick&lt;/span&gt;() { &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; sVal = &lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"123"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;; ISGetObject(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"WebInput1"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).SetValueData(sVal); &lt;p&gt;} &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I click on WebInput and next clik outside of Webinput, then error occure at:&lt;/p&gt;&lt;span style="font-size: 13px"&gt;
&lt;p&gt;&lt;strong&gt;vcfa96.Value =vcfa96.Value.replace(&lt;/strong&gt;&lt;strong&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; RegExp(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"\\&amp;#43;"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;,&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"img"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;),&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"&amp;amp;#43;"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; RegExp(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"\\&amp;#43;"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;,&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"img"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;),&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"&amp;amp;#43;"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;)&lt;/span&gt;&lt;/strong&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;The problem is in Value parameter which is number type : 123 not "123"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;My version: WebInput: 3.0.7200.213, and .Net Frm  3.0.5000.702 (is it question of old ver)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;Regards&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 13px"&gt;Andrzej&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>