﻿<?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 - Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</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>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Mon, 03 May 2010 23:33:56 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p /&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Hi Huzefa,&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    I have tried your sample, and the result was
fine in my end. I attached you my sample which basically almost same like yours but the different is, I summoned them from server side. As well as the image of
screenshot of the result which has no JavaScript error persisted is included.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    I hope it helps. Thank you.&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Mon, 03 May 2010 12:11:48 GMT</pubDate><dc:creator>huzzy143</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;But why do i need to deploy it on IIS to solve this javascript error.&lt;/p&gt;
&lt;p&gt;I think there is some small thing that we are over looking. All this things won't be required.&lt;/p&gt;
&lt;p&gt;I checked this error is only on IE, Firefox working good.&lt;/p&gt;
&lt;p&gt;Is my sample application giving error on IE at your side?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Yes, I have all the latest components.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Mon, 03 May 2010 11:31:03 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;If you would like to try CommonLibrary deployment, open your IIS Manager, add you project as an application (right click Default Web Site -&amp;gt; Add Application). You will also need to add the Intersoft common library folder (default location in C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\CommonLibrary ) as CommonLibrary virtual directory.&lt;/p&gt;&lt;p&gt;Have you used all the latest WebInput 4 and WebUI Framework 3 build? It is build 3 and build 752 respectively.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Mon, 03 May 2010 09:06:48 GMT</pubDate><dc:creator>huzzy143</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;My project is running on Asp.Net development environment so naturally it is on localhost. I have not hosted my application on IIS yet.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I don't know why i am facing this strange problem. Can you please help me in solving this problem.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Mon, 03 May 2010 02:26:02 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Huzefa,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; To use common Library, you will need to ensure that your project is run on localhost, not in File System. If you are in localhost, then you can simply include the ISNet.dll, ISNet.WebUI.dll, ISNet.WebUI.WebInput.dll and ensure that the common library is set as a virtual directory in your IIS.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Sat, 01 May 2010 01:39:42 GMT</pubDate><dc:creator>huzzy143</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;After few tests i found that this javascript error comes only in IE. On FireFox its works fine.&lt;/p&gt;
&lt;p&gt;On Google Chrome i don't get anythin render onto the Page(don't know why).&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The error that comes up is this "Member not found":&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;function anonymous(){&lt;br /&gt;//At this line i am getting 'Member not found' error&lt;br /&gt;event=event||window.event;&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;I don't know why is it so. Even after this javascript error everything works good but i don't even want this error. As i dont wanna leave any errors onto the form, as you never know what may be become a bigger problem&lt;/p&gt;
&lt;p&gt;How to use CommonLibarary instead of SmartWebResources and what is the difference. I am using your latest controls.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Fri, 30 Apr 2010 09:15:40 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;I have no issue on my end using the attached sample code. What is the javascript error you encounter? Have you tried using CommonLibrary instead of SmartWebResources to try to solve the issue? Which WebInput 4 and WebUIFramework 3 build are you using?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Fri, 30 Apr 2010 04:23:00 GMT</pubDate><dc:creator>huzzy143</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Thanx for the reply.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am attaching a sample where in i have used your way of making the control and then used the control onto the page.&lt;/p&gt;
&lt;p&gt;But this still throws the same javascript error.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Thu, 29 Apr 2010 12:01:11 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;My test show creating NumericInput derived from WebInput using the class below will not result in any javascript error:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;public class NumericInput: WebInput&lt;br /&gt;{&lt;br /&gt;    public NumericInput(): base()&lt;br /&gt;    {&lt;br /&gt;        CultureInfo.CultureName = "en-US";&lt;br /&gt;        DisplayFormat.IsEnabled = true;&lt;br /&gt;        DisplayFormat.Format = "n";&lt;br /&gt;        DisplayFormat.Type = FormatType.Number;&lt;br /&gt;        CalculatorEditor.IsEnabled = true;&lt;br /&gt;&lt;br /&gt;        NumericInput = true;&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;&lt;p&gt;My colleague method using template will also works without any issue. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Thu, 29 Apr 2010 05:58:23 GMT</pubDate><dc:creator>huzzy143</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am not getting one thing, Why have you treated 'NumericInput' as a Template.&lt;/p&gt;
&lt;p&gt;Can't i just derive this 'NumericInput' class from WebInput and override my settings on events like OnInit and OnLoad?&lt;/p&gt;
&lt;p&gt;I want my base to be Web Input only just few default setting i wan't to set in this numricInput class. So that my fellow developers don't have to understand this settings and are released from the burden of writing it again and again when ever they want to use this control.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The user who drags and drops this NumericInput control on to the form should get all the events and properties of WebInput control too.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in creating custom control from WebInput</title><link>http://www.intersoftsolutions.com/Community/WebInput/Problem-in-creating-custom-control-from-WebInput/</link><pubDate>Wed, 28 Apr 2010 09:07:46 GMT</pubDate><dc:creator>huzzy143</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am creating my own control library(to be used in my web App) deriving from WebInput but i am facing lots of problem to do that. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I face lots of issue in javascript.&lt;/p&gt;
&lt;p&gt;One of the thing is that, I want to create a NumericInput control to be used in App. Therefore i create my own "NumericInput" control deriving from WebInput.&lt;/p&gt;
&lt;p&gt;Here is a sample code &lt;br /&gt;&lt;/p&gt;&lt;pre&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;using ISNet.WebUI.WebControls;&lt;br /&gt;using System.Drawing;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;&lt;br /&gt;namespace dummyproj&lt;br /&gt;{&lt;br /&gt;    public class NumericInput : WebInput&lt;br /&gt;    {&lt;br /&gt;         CultureInfo.CultureName = "en-US";&lt;br /&gt;            DisplayFormat.IsEnabled = true;&lt;br /&gt;            DisplayFormat.Format = "n";&lt;br /&gt;            DisplayFormat.Type = FormatType.Number;&lt;br /&gt;            CalculatorEditor.IsEnabled = true;&lt;br /&gt;            //NumericInput = true;&lt;br /&gt;            base.OnLoad(e);&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;But when i use this control on my Web Application and try to type in any numeric keys i get some javascript error and doesn't allow me to type anything into textbox.&lt;/p&gt;
&lt;p&gt;The only way i can type in is by using the Calculator editor of it.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Can you please provide the best way or any sample, which can show how to create your own control deriving from Intersoft components.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Huzefa&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>