<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>UsernameAvailability Forum Rss Feed</title><link>http://www.codeplex.com/UsernameAvailability/Thread/List.aspx</link><description>UsernameAvailability Forum Rss Description</description><item><title>New Post: Javascript error on page load</title><link>http://usernameavailability.codeplex.com/discussions/263154</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'm not able to reproduce that issue when running the included sample site in FireFox 4.&lt;/p&gt;
&lt;p&gt;Can you provide a sample page/project that reproduces the error you're seeing and let me know which specific version of FireFox?&lt;/p&gt;&lt;/div&gt;</description><author>Encosia</author><pubDate>Sat, 02 Jul 2011 02:01:55 GMT</pubDate><guid isPermaLink="false">New Post: Javascript error on page load 20110702020155A</guid></item><item><title>New Post: Javascript error on page load</title><link>http://usernameavailability.codeplex.com/discussions/263154</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;when I add the Username availability control to my web page, and refresh in FireFox, I get an error in firebug&lt;/p&gt;
&lt;p&gt;a._events is null&lt;/p&gt;
&lt;p&gt;tahnks for your help&lt;/p&gt;
&lt;/div&gt;</description><author>yzidell</author><pubDate>Tue, 28 Jun 2011 21:07:32 GMT</pubDate><guid isPermaLink="false">New Post: Javascript error on page load 20110628090732P</guid></item><item><title>New Post: Could not load file or assembly 'UAV' or one of its dependencies</title><link>http://usernameavailability.codeplex.com/Thread/View.aspx?ThreadId=71335</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;
&lt;h1&gt;Server Error in '/' Application. 
&lt;hr size=1&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;em&gt;Could not load file or assembly 'UAV' or one of its dependencies. The system cannot find the file specified.&lt;/em&gt;&lt;/h2&gt;
&lt;/span&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;strong&gt;Description: &lt;/strong&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br&gt;&lt;br&gt;&lt;strong&gt;Exception Details: &lt;/strong&gt;System.IO.FileNotFoundException: Could not load file or assembly 'UAV' or one of its dependencies. The system cannot find the file specified.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Source Error:&lt;/strong&gt; &lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border=0 width="100%" bgcolor="#ffffcc"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;br&gt;&lt;strong&gt;Assembly Load Trace:&lt;/strong&gt; The following information can be helpful to determine why the assembly 'UAV' could not be loaded.&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border=0 width="100%" bgcolor="#ffffcc"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;
&lt;pre&gt;WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
&lt;/pre&gt;
&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;br&gt;&lt;strong&gt;Stack Trace:&lt;/strong&gt; &lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border=0 width="100%" bgcolor="#ffffcc"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;
&lt;pre&gt;[FileNotFoundException: Could not load file or assembly 'UAV' or one of its dependencies. The system cannot find the file specified.]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp;amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp;amp; stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.UI.AssemblyCache.Load(String assemblyName) +79
   System.Web.UI.ScriptReference.GetAssembly() +63
   System.Web.UI.ScriptManager.RemoveDuplicates(List`1 scripts) +1097
   System.Web.UI.ScriptManager.RegisterScripts() +376
   System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +113
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8699826
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029
&lt;/pre&gt;
&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;</description><author>macupryk</author><pubDate>Thu, 08 Oct 2009 07:43:14 GMT</pubDate><guid isPermaLink="false">New Post: Could not load file or assembly 'UAV' or one of its dependencies 20091008074314A</guid></item><item><title>New Post: Validate for Empty String with different error message!</title><link>http://usernameavailability.codeplex.com/Thread/View.aspx?ThreadId=35976</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for the control..&lt;/p&gt;
&lt;p&gt;Did you able to add the Empty string validation??&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>anzer</author><pubDate>Tue, 14 Jul 2009 07:55:54 GMT</pubDate><guid isPermaLink="false">New Post: Validate for Empty String with different error message! 20090714075554A</guid></item><item><title>New Post: Disabling WebService documentation causes UAV errors.</title><link>http://usernameavailability.codeplex.com/Thread/View.aspx?ThreadId=39173</link><description>&lt;div style="line-height: normal;"&gt;When you perform a postback the server-side validation method is called which relies on the WSDL information being exposed by a Web service to generate a WS proxy on the fly. By disabling documentation on your WS you have prevented the validator from calling the WS hense the error.&lt;br&gt;
&lt;br&gt;
If you disable the WSDL on your WS you can only use the client-side functionality of the UAV.&lt;br&gt;
&lt;/div&gt;</description><author>aturlov</author><pubDate>Thu, 12 Mar 2009 14:52:08 GMT</pubDate><guid isPermaLink="false">New Post: Disabling WebService documentation causes UAV errors. 20090312025208P</guid></item><item><title>New Post: Disabling WebService documentation causes UAV errors.</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=39173</link><description>&lt;div style="line-height: normal;"&gt;Hello!&lt;br&gt;
&lt;br&gt;
I've disabled documentation in web.config by using:&lt;br&gt;
&lt;blockquote&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;webServices&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;protocols&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;remove name=&amp;quot;Documentation&amp;quot;/&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/protocols&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/webServices&amp;gt;&lt;/blockquote&gt;and UAV started to crash during postback. Can You check this?&lt;br&gt;
&lt;br&gt;
Thanks in advance&lt;br&gt;
&lt;br&gt;
P.S. Errors was in line 104 (return IsUsernameAvailable(controlValidationValue);) and 117 (Stream stream = client.OpenRead(uri);); 
&lt;/div&gt;</description><author>GrZeCh</author><pubDate>Tue, 04 Nov 2008 15:01:15 GMT</pubDate><guid isPermaLink="false">New Post: Disabling WebService documentation causes UAV errors. 20081104030115P</guid></item><item><title>New Post: Regarding Samples</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36597</link><description>&lt;div style="line-height: normal;"&gt;I'd definitely like to see an example that uses the MembershipProvider and one that shows an example of looking up the username in an arbitrary &amp;quot;users&amp;quot; table, so that the flexibility of the control is clear. Using the MembershipProvider is ideal, but the proprietary use case will probably be most common.&lt;br&gt;
&lt;/div&gt;</description><author>Encosia</author><pubDate>Sun, 28 Sep 2008 16:17:01 GMT</pubDate><guid isPermaLink="false">New Post: Regarding Samples 20080928041701P</guid></item><item><title>New Post: Regarding Samples</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36597</link><description>&lt;div style="line-height: normal;"&gt;Shall we provide different sample scenarios?! Like for example using PageMethods. Also providing sample Database that is based on ASP.NET Membership and to provide some practical demo just like the one I presented in my post &lt;a href="http://mosesofegypt.net/post/Username-Availability-Validator-almost-ready-the-early-demo.aspx"&gt;Username Availability Validator almost ready, the early demo&lt;/a&gt;&lt;br&gt;
I should mention that the design presented in the current sample was taken from &lt;a href="http://mattberseth.com/"&gt;Matt Berseth&lt;/a&gt; post &lt;a href="http://mattberseth.com/blog/2007/12/surrounding_your_data_table_an.html"&gt;Surrounding your Data Table and Dialog Controls with ComponentArt Styled Panels&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>mosessaur</author><pubDate>Sun, 28 Sep 2008 01:08:48 GMT</pubDate><guid isPermaLink="false">New Post: Regarding Samples 20080928010848A</guid></item><item><title>New Post: Building Futures Road Map Features Draft</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36586</link><description>&lt;div style="line-height: normal;"&gt;What about building future road map features draft for UAV?&lt;br&gt;
In fact I don't think this would be huge list, The control is specific and serving very specific area! but at least we can come up with few ideas to be scheduled for upcoming releases.&lt;br&gt;
What are supposed to be mentioned in this discussion is just a brain storming and draft, no promises or commitments :o)&amp;nbsp; &lt;br&gt;
&lt;/div&gt;</description><author>mosessaur</author><pubDate>Sat, 27 Sep 2008 14:17:15 GMT</pubDate><guid isPermaLink="false">New Post: Building Futures Road Map Features Draft 20080927021715P</guid></item><item><title>New Post: Communication Method</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=35298</link><description>&lt;div style="line-height: normal;"&gt;Couldn't we instead create an interface that the IsUsernameAvailable web service AND page.validate call, rather than using reflection to invoke a web service?&amp;nbsp; I feel like the web service should not have any code besides creating an instance of a class and invoking a method.&amp;nbsp; Any thoughts?&lt;br&gt;
&lt;/div&gt;</description><author>impostal22</author><pubDate>Wed, 24 Sep 2008 22:47:39 GMT</pubDate><guid isPermaLink="false">New Post: Communication Method 20080924104739P</guid></item><item><title>New Post: JavaScript Compression</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36227</link><description>&lt;div style="line-height: normal;"&gt;We can create an issue targeted at release &amp;quot;1.0&amp;quot; for this.&lt;br&gt;
&lt;/div&gt;</description><author>Encosia</author><pubDate>Wed, 24 Sep 2008 06:16:08 GMT</pubDate><guid isPermaLink="false">New Post: JavaScript Compression 20080924061608A</guid></item><item><title>New Post: JavaScript Compression</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36227</link><description>&lt;div style="line-height: normal;"&gt;Can we create an issue that won't be resolved until we're all done?? &lt;br&gt;
&lt;/div&gt;</description><author>JRumerman</author><pubDate>Tue, 23 Sep 2008 18:46:31 GMT</pubDate><guid isPermaLink="false">New Post: JavaScript Compression 20080923064631P</guid></item><item><title>New Post: JavaScript Compression</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36227</link><description>&lt;div style="line-height: normal;"&gt;For one-off minification, I often find myself at this page: &lt;a href="http://fmarcia.info/jsmin/test.html"&gt;http://fmarcia.info/jsmin/test.html&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;</description><author>Encosia</author><pubDate>Tue, 23 Sep 2008 04:01:02 GMT</pubDate><guid isPermaLink="false">New Post: JavaScript Compression 20080923040102A</guid></item><item><title>New Post: JavaScript Compression</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36227</link><description>&lt;div style="line-height: normal;"&gt;So assuming we supply the two scripts, the ASP.NET AJAX framework can handle switching between a release and debug version of the scripts automatically. &lt;br&gt;
&lt;br&gt;
Using a ScriptReference, we supply the name of the release version of the script. Using MSFT naming conventions, it would be UsernameAvailabilityValidator.js. Then we also provide a debug version of the script, UsernameAvailabilityValidator.&lt;strong&gt;debug.&lt;/strong&gt;js. The ScriptReference points to the release version of the script.&lt;br&gt;
&lt;br&gt;
Then, when the ScriptManager's ScriptMode is set to auto, which it is by default, it will use the IsDebuggingEnabled flag, which is populated by the web.config compilation node, to determine which file to load from the assembly. We can force the ScriptManager to use a particular ScriptMode by setting the property to release, debug, or inherit or by setting the ScriptMode property on the ScriptReference. &lt;br&gt;
&lt;br&gt;
This is how MSFT automatically switches between the release and debug version of their AJAX Library.&lt;br&gt;
&lt;br&gt;
More information about this capability can be found here: &lt;a href="http://www.asp.net/AJAX/Documentation/Live/tutorials/assignScriptReferences.aspx"&gt;ScriptMode&lt;/a&gt;. &lt;br&gt;
&lt;br&gt;
I totally agree with this step as it makes the control look like a professional product. It would be nice if MSFT provided some automatic build step to minify and create the release version, but I don't think they're quite there yet. I would recommend doing this as a final build step as modifying the minified file as you go can be a real pain in the ass.&lt;br&gt;
&lt;/div&gt;</description><author>JRumerman</author><pubDate>Tue, 23 Sep 2008 03:45:14 GMT</pubDate><guid isPermaLink="false">New Post: JavaScript Compression 20080923034514A</guid></item><item><title>New Post: Validate for Empty String with different error message!</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=35976</link><description>&lt;div style="line-height: normal;"&gt;Assuming we're in agreement about validating for minimum length, what should be property name be for its validation message?&amp;nbsp; &lt;br&gt;
&lt;br&gt;
MinimumLengthErrorMessage?&amp;nbsp; That's kind of long.&lt;br&gt;
&lt;br&gt;
UsernameLengthErrorMessage?&amp;nbsp; Ugh, getting longer...&lt;br&gt;
&lt;br&gt;
Any ideas that will be discoverable, but aren't ridiculously long?&lt;br&gt;
&lt;/div&gt;</description><author>Encosia</author><pubDate>Tue, 23 Sep 2008 00:18:14 GMT</pubDate><guid isPermaLink="false">New Post: Validate for Empty String with different error message! 20080923121814A</guid></item><item><title>New Post: How should we CSS style the messages?</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36212</link><description>&lt;div style="line-height: normal;"&gt;I think we should have just a CssClass property that would apply to everything and then a SuccessCssClass/FailureCssClass for custom styling when success/failure needs to be different (the first way). CssClass is pretty standard property on .NET controls, so we should follow the naming conventions.&lt;/div&gt;</description><author>vbtwo31984</author><pubDate>Mon, 22 Sep 2008 22:54:51 GMT</pubDate><guid isPermaLink="false">New Post: How should we CSS style the messages? 20080922105451P</guid></item><item><title>New Post: Client-side caching?</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36230</link><description>&lt;div style="line-height: normal;"&gt;I think it could be beneficial.&amp;nbsp; It came up a bit near the end of &lt;a href="http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=35312"&gt;this thread&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
Like Joel mentioned, an important concern would be avoiding cached false positives due to a period of user inactivity.&amp;nbsp; Maybe if we included a lookup timestamp with the cached username, and only reused cached lookups within a ~60 second window?&lt;br&gt;
&lt;/div&gt;</description><author>Encosia</author><pubDate>Mon, 22 Sep 2008 22:54:19 GMT</pubDate><guid isPermaLink="false">New Post: Client-side caching? 20080922105419P</guid></item><item><title>New Post: How should we CSS style the messages?</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36212</link><description>&lt;div style="line-height: normal;"&gt;Yes, it should definitely allow the developer to specify the class if desired.&amp;nbsp; &lt;br&gt;
&lt;br&gt;
I'd like to also aim for some useful defaults too, so configuration is as optional as possible.&lt;br&gt;
&lt;/div&gt;</description><author>Encosia</author><pubDate>Mon, 22 Sep 2008 22:48:03 GMT</pubDate><guid isPermaLink="false">New Post: How should we CSS style the messages? 20080922104803P</guid></item><item><title>New Post: Client-side caching?</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36230</link><description>&lt;div style="line-height: normal;"&gt;What is your opinion about implementing&amp;nbsp; client-side cache, something like that AutoComplete control uses?&lt;br&gt;
In some cases using client-side cache we can avoid multiple validation of same username. &lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>jnagy</author><pubDate>Mon, 22 Sep 2008 22:43:13 GMT</pubDate><guid isPermaLink="false">New Post: Client-side caching? 20080922104313P</guid></item><item><title>New Post: JavaScript Compression</title><link>http://www.codeplex.com/UsernameAvailability/Thread/View.aspx?ThreadId=36227</link><description>&lt;div style="line-height: normal;"&gt;That's definitely a good idea.&lt;br&gt;
&lt;br&gt;
In &lt;a href="http://encosia.com/downloads/postback-ritalin/"&gt;one of my controls&lt;/a&gt;, I use this code to conditionally output the correct script:&lt;br&gt;
&lt;br&gt;
// Register the JavaScript class include.&lt;br&gt;
if (HttpContext.Current.IsDebuggingEnabled)&lt;br&gt;
&amp;nbsp; Page.ClientScript.RegisterClientScriptResource(GetType(), &amp;quot;PostBackRitalin.PostBackRitalin.js&amp;quot;);&lt;br&gt;
else&lt;br&gt;
&amp;nbsp; Page.ClientScript.RegisterClientScriptResource(GetType(), &amp;quot;PostBackRitalin.PostBackRitalin.min.js&amp;quot;);&lt;br&gt;
&lt;br&gt;
I haven't tested it extensively, but it appeared to work as intended without requiring any configuration on the user's end.&amp;nbsp; Maybe it would work for us as well.&lt;br&gt;
&lt;/div&gt;</description><author>Encosia</author><pubDate>Mon, 22 Sep 2008 22:40:30 GMT</pubDate><guid isPermaLink="false">New Post: JavaScript Compression 20080922104030P</guid></item></channel></rss>