<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4916543435633213251</id><updated>2012-01-18T04:29:24.560-08:00</updated><category term='C#'/><category term='asp.net'/><category term='dynamic controls'/><category term='postback'/><title type='text'>Just Another Coder</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-4239900275222877892</id><published>2011-12-11T20:44:00.000-08:00</published><updated>2011-12-11T20:48:35.699-08:00</updated><title type='text'>Just Finished site: Bay Vue Carpet Cleaners</title><content type='html'>You would be surprised by the quality of most carpet cleaner websites.  The competition is quite stiff.  I took a look at several before implementing this design for &lt;a href="http://www.bay-vuecarpetcleaning.com/"&gt;Bay-Vue Carpet Cleaning in Morro Bay&lt;/a&gt;. It has a beautiful photo on the front... an adorable picture of a mother and baby on a white carpet... a great tag-line... &lt;br /&gt;&lt;br /&gt;I followed it up with a lengthy testimonials page ... and in several places showed before and after photos.  This really helps sell the service. This guy has been in the business for a long time and has a great reputation.  Now he has a site that reflects it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-4239900275222877892?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/4239900275222877892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2011/12/just-finished-site-bay-vue-carpet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/4239900275222877892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/4239900275222877892'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2011/12/just-finished-site-bay-vue-carpet.html' title='Just Finished site: Bay Vue Carpet Cleaners'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-8901574499212982093</id><published>2011-12-11T20:34:00.000-08:00</published><updated>2011-12-11T20:43:14.475-08:00</updated><title type='text'>Just finished site: Back Bay Pottery</title><content type='html'>I just finished a simple but elegant website for a local San Luis Obispo pottery maker - &lt;a href="http://www.BackBayPottery.com"&gt;Back Bay Pottery&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;She makes various pottery items that she sells on Etsy.com  &lt;br /&gt;&lt;br /&gt;The home page has an Etsy wigit that displays the product lists... for purchase.&lt;br /&gt;&lt;br /&gt;The Events page shows a public calendar using an iframe wigit.  Then when she updates her events through google, she makes them updated on her site.  &lt;br /&gt;&lt;br /&gt;How to Share your Google Calendar:&lt;br /&gt;&lt;a href="http://support.google.com/calendar/bin/answer.py?hl=en&amp;answer=37083"&gt;http://support.google.com/calendar/bin/answer.py?hl=en&amp;answer=37083&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How to Embed your calendar into your website:&lt;br /&gt;&lt;a href="http://support.google.com/calendar/bin/answer.py?hl=en&amp;answer=41207&amp;ctx=cb&amp;src=cb&amp;cbid=-eqyxton29qwe&amp;cbrank=3"&gt;http://support.google.com/calendar/bin/answer.py?hl=en&amp;answer=41207&amp;ctx=cb&amp;src=cb&amp;cbid=-eqyxton29qwe&amp;cbrank=3&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-8901574499212982093?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/8901574499212982093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2011/12/just-finished-site-back-bay-pottery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8901574499212982093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8901574499212982093'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2011/12/just-finished-site-back-bay-pottery.html' title='Just finished site: Back Bay Pottery'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-8957958288794063703</id><published>2011-12-08T11:36:00.000-08:00</published><updated>2011-12-09T09:47:50.878-08:00</updated><title type='text'>Google Product Data Feeds</title><content type='html'>I just finished working on a Google RSS xml data feed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;If you want to do it properly, try the following:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1) Build a RSS with the extra attributes needed for your type of business. Follow the &lt;a href="http://support.google.com/merchants/bin/answer.py?hl=en&amp;answer=188494#US"&gt;Product Feed Specification&lt;/a&gt; guidelines.&lt;br /&gt;&lt;br /&gt;2) Make sure you use the proper &lt;a href="http://support.google.com/merchants/bin/answer.py?answer=160081"&gt;Google Product Category taxonomy&lt;/a&gt; when putting in product categories - that is important.  Note that &lt;strong&gt;google_product_category &lt;/strong&gt;(google's taxonomy)  is different from &lt;strong&gt;product_type &lt;/strong&gt;whis is the category your business uses.&lt;br /&gt;&lt;br /&gt;3) Log into Google... Go to your merchant center, and submit your product feed.  You may even set up your shipping and tax rates in Google Merchant, separate from the feed if desired.&lt;br /&gt;&lt;br /&gt;4) Sign up your business in one or two &lt;a href="http://www.seomoz.org/blog/how-to-rank-well-in-google-products-search-a-big-list-of-places-to-get-reviews"&gt;product review sites&lt;/a&gt;.  Then promote at least one of them to have people review you as a vendor.  This is reflected in your 0-5 star score with these sites... and google pulls these.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-8957958288794063703?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/8957958288794063703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2011/12/google-product-data-feeds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8957958288794063703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8957958288794063703'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2011/12/google-product-data-feeds.html' title='Google Product Data Feeds'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-8987081974536337090</id><published>2011-01-20T14:58:00.000-08:00</published><updated>2011-01-20T15:07:08.079-08:00</updated><title type='text'>How to imbed YouTube videos into EBAY - Looping</title><content type='html'>I was recently contacted by a potential client... He wanted to know how to imbed YouTube videos into a his Ebay Listing.  And his video was only 15 seconds - and had the product rotating..  He wanted it to auto-start, and loop.&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/-xM_3iOOfPM?fs=1&amp;amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="321"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;br /&gt;The above video gives great easy-to-use instructions...&lt;br /&gt;&lt;br /&gt;If you want to do some of this by hand, consider the following: &lt;br /&gt;&lt;a href="http://googlesystem.blogspot.com/2008/06/play-youtube-videos-in-loop.html"&gt;YouTube Looping Tricks&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-8987081974536337090?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/8987081974536337090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2011/01/how-to-imbed-youtube-videos-into-ebay.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8987081974536337090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8987081974536337090'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2011/01/how-to-imbed-youtube-videos-into-ebay.html' title='How to imbed YouTube videos into EBAY - Looping'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-389131280388242376</id><published>2011-01-14T23:01:00.000-08:00</published><updated>2011-01-15T18:36:46.808-08:00</updated><title type='text'>DataTable from XML &amp; data chema -  Correct datatypes filling from xml</title><content type='html'>I have filled some datatables (datasets which contain 1 datatable) from xml.&lt;br /&gt;&lt;br /&gt;//read xml / api into dataset..&lt;br /&gt;&lt;br /&gt;DataSet ds = new DataSet();&lt;br /&gt;ds.ReadXml("http://www.myuapi.com?request=KeyId=" + uuid);&lt;br /&gt;MyRadGrid.DataSource = ds.Tables[0];&lt;br /&gt;&lt;br /&gt;The problem is that all the data is looked at like string... some is really integer or doubles..  When we do filtering using Telerik filters... it needs to have the right datatype to filter properly...&lt;br /&gt;&lt;br /&gt;SOLUTION: stay tuned...&lt;br /&gt;&lt;br /&gt;I put the data into a linq query...  and typed the items in the list... code to follow soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-389131280388242376?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/389131280388242376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2011/01/datatable-fillschema-correct-datatypes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/389131280388242376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/389131280388242376'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2011/01/datatable-fillschema-correct-datatypes.html' title='DataTable from XML &amp; data chema -  Correct datatypes filling from xml'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-2999475073572011492</id><published>2010-12-12T20:55:00.000-08:00</published><updated>2010-12-13T23:26:43.702-08:00</updated><title type='text'>Remove duplicate Items RadComboBox - Telerik</title><content type='html'>I had a puzzle recently with a RadComboBox...&lt;br /&gt;I have a sql query that took a long time to run... sometimes 30 seconds, due to the huge database size and the complex query...&lt;br /&gt;&lt;br /&gt;To populate a RadGrid - I bound it to a SqlDataSource.  But I also needed dropdowns to filter this grid - and this needed to be bound to unique items in a column of that grid...  I didnt want to do another db query to get a filtered version of the same info - so I bound it to the SAME SqlDataSource - and cached the datasource to minimize calls.  &lt;br /&gt;&lt;br /&gt;[asp:SqlDataSource ID="MySqlDataSource" EnableCaching="true"  CacheDuration="180" &lt;br /&gt;                       runat="server"  OnSelecting="MySqlDataSource_Selecting"&lt;br /&gt;                       ConnectionString="[%$ ConnectionStrings:mySqlConnectionString %]"&lt;br /&gt;                       SelectCommand="SELECT * FROM vwBundlesForSale "]&lt;br /&gt;[/asp:SqlDataSource]&lt;br /&gt;&lt;br /&gt;However, this made there to be &lt;strong&gt;duplicate items in my dropdown&lt;/strong&gt;... and the data was not sorted.&lt;br /&gt;&lt;br /&gt;If you want to Sort and Filter for unique items in a Telerik RadComboBox, use something like this:&lt;br /&gt;&lt;br /&gt;IN ASPX PAGE:&lt;br /&gt;&lt;br /&gt;[telerik:RadComboBox ID="CoatComboBox" &lt;br /&gt;                                                                                             runat="server"   DataSourceID="MySqlDataSource"                                DataTextField="CoatName" DataValueField="CoatName"                                   AllowCustomText="false"   EnableItemCaching="true"   Width="165px" DropDownWidth="260px" &lt;strong&gt;OnDataBound="SortAndNoDups_OnDataBound"&lt;/strong&gt;                                                 AppendDataBoundItems="true" ......&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;IN CS CODE-BEHIND&lt;br /&gt;&lt;br /&gt; protected void SortAndNoDups_OnDataBound(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        RadComboBox fixComboBox = (RadComboBox)sender;&lt;br /&gt;        string selectedText = string.Empty;&lt;br /&gt;        if (fixComboBox.SelectedIndex &gt;= 0)&lt;br /&gt;        {&lt;br /&gt;            selectedText = fixComboBox.SelectedValue;&lt;br /&gt;        }&lt;br /&gt;        fixComboBox.SelectedIndex = -1;&lt;br /&gt;        fixComboBox.Filter = RadComboBoxFilter.Contains;&lt;br /&gt;        fixComboBox.Sort = RadComboBoxSort.Ascending;&lt;br /&gt;        fixComboBox.SortItems();&lt;br /&gt;        string priorItem = "";&lt;br /&gt;        for (int i = 0; i &lt; fixComboBox.Items.Count; i++)&lt;br /&gt;        {&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                RadComboBoxItem itm = fixComboBox.Items[i];&lt;br /&gt;                if (itm.Text == priorItem)&lt;br /&gt;                {&lt;br /&gt;                    fixComboBox.Items.Remove(itm);&lt;br /&gt;                    i--;&lt;br /&gt;                }&lt;br /&gt;                else&lt;br /&gt;                {&lt;br /&gt;                    priorItem = itm.Text;&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            catch&lt;br /&gt;            {&lt;br /&gt;                break;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        if (selectedText != string.Empty)&lt;br /&gt;        {&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                fixComboBox.SelectedValue = selectedText;&lt;br /&gt;&lt;br /&gt;            }&lt;br /&gt;            catch { }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;protected void MySqlDataSource_Selecting(object sender, SqlDataSourceSelectingEventArgs e)&lt;br /&gt;    {&lt;br /&gt;        e.Command.CommandTimeout = 0; //prevents SqlDataSource timeout after 30 seconds &lt;br /&gt;&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-2999475073572011492?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/2999475073572011492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/12/remove-duplicate-items-radcombobox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/2999475073572011492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/2999475073572011492'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/12/remove-duplicate-items-radcombobox.html' title='Remove duplicate Items RadComboBox - Telerik'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-556965154317422521</id><published>2010-11-10T13:08:00.000-08:00</published><updated>2010-11-10T13:11:11.573-08:00</updated><title type='text'>C# ?? two question marks</title><content type='html'>You ever wonder what ?? means in C# language?&lt;br /&gt;&lt;br /&gt;Its a cool shortcut for checking for nulls and returning a value...&lt;br /&gt;&lt;br /&gt;I find it very useful when working with Linq queries... that may return some nullable fields..&lt;br /&gt;&lt;br /&gt;Great article:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://stackoverflow.com/questions/446835/what-do-two-question-marks-together-mean-in-c"&gt;http://stackoverflow.com/questions/446835/what-do-two-question-marks-together-mean-in-c&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-556965154317422521?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/556965154317422521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/11/c-two-question-marks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/556965154317422521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/556965154317422521'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/11/c-two-question-marks.html' title='C# ?? two question marks'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-1342495853785749655</id><published>2010-09-07T21:22:00.000-07:00</published><updated>2010-09-07T21:32:44.014-07:00</updated><title type='text'>Soap Call using Javascript</title><content type='html'>There are many times now that I need to make a soap call to an XML web service.... from the client (javascript). If, for example, you need to update the database... but want to use Javascript to do so out of process - without a postback...and with minimal data passed to the server... this is a great approach.&lt;br /&gt;&lt;br /&gt;After a lot of research and testing I have found and do recommend the following js tool for any of my colleagues:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/KB/ajax/JavaScriptSOAPClient.aspx"&gt;http://www.codeproject.com/KB/ajax/JavaScriptSOAPClient.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using this, it is a simple trick to call the database...&lt;br /&gt;&lt;br /&gt;[script]&lt;br /&gt;var url = "../../ws/MyWebService.asmx";&lt;br /&gt;&lt;br /&gt;function HelloWorld() {&lt;br /&gt;  var pl = new SOAPClientParameters();&lt;br /&gt;  pl.add("yourName", "Robert the Great");&lt;br /&gt;  SOAPClient.invoke(url, "HelloTo", pl, true, Hello_CallBack);&lt;br /&gt;}&lt;br /&gt;        &lt;br /&gt;function Hello_CallBack(resultData) {&lt;br /&gt;   alert("Hello_CallBack: " + resultData);&lt;br /&gt;}&lt;br /&gt;[/script]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-1342495853785749655?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/1342495853785749655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/09/soap-call-using-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/1342495853785749655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/1342495853785749655'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/09/soap-call-using-javascript.html' title='Soap Call using Javascript'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-6728066713452797910</id><published>2010-07-25T19:37:00.001-07:00</published><updated>2010-08-09T11:37:05.600-07:00</updated><title type='text'>Optimizing a website for Speed</title><content type='html'>There are several techniques that can be used to optimize your website for speed.  And remember, one of the things Google considers now is your website speed.  &lt;br /&gt;&lt;br /&gt;The basics include &lt;br /&gt;1) Compressing resource files (like .css and js)&lt;br /&gt;2) Minimizing the number of files linked/imbedded in a web page.&lt;br /&gt;3) Optimizing the size of images used on the web page&lt;br /&gt;&lt;br /&gt;NOTE: if a css file referenced on all pages references multiple images for backgrounds - make sure that most of them are really used on all pages.  If not - consider referencing them only on pages where needed.&lt;br /&gt;&lt;br /&gt;So for my websites, I am taking all the common css files for a page (often separated for specific wigits or sections) and compressing them into one .css file for the site.  I do the same for the javascript... Of course, this is only after the site is approved for look/feel by the client so I don't have to redo this.  And I keep the un-compressed versions available for later editing if needed... since these will have all my comments and easy-to-read formatting.&lt;br /&gt;&lt;br /&gt;If a .css or .js file is only needed on a few pages, I only include a compressed version of that file where needed.  (and I use the compressed version here too...)  But overall, this has proved to be a good strategy for minimizing website overhead - and increasing speed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TOOLS TO BOOKMARK:&lt;/b&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Speed Tests:&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://tools.pingdom.com/fpt/"&gt;http://tools.pingdom.com/fpt/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.selfseo.com/website_speed_test.php"&gt;http://www.selfseo.com/website_speed_test.php&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Compression Tools:&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://javascriptcompressor.com/"&gt;http://javascriptcompressor.com/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cssdrive.com/index.php/main/csscompressor/"&gt;http://www.cssdrive.com/index.php/main/csscompressor/&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-6728066713452797910?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/6728066713452797910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/07/optimizing-website-for-speed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6728066713452797910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6728066713452797910'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/07/optimizing-website-for-speed.html' title='Optimizing a website for Speed'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-7240393333634973562</id><published>2010-05-12T08:29:00.001-07:00</published><updated>2010-05-12T08:35:50.977-07:00</updated><title type='text'>Finishing up My Own Software</title><content type='html'>I've never done this before... but on 15 Mar I will have completed my first software for resale.&lt;br /&gt;&lt;br /&gt;I have built software for myself before... including a CMS and E-Commerce application.  But this is the first time I have completed a software package for public resale.  It is a lot of fun.&lt;br /&gt;&lt;br /&gt;This bit of software wraps a set of web services and includes data obtained from my personal research.  It allows (through IP-detection) the discovery of the visitor's location, timezone, and allows for conversion of date/time to that location's timezone - using that country's preferred date/time displays.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ip-geolocator.com/" title="ip geolocation software"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 290px; height: 320px;" src="http://4.bp.blogspot.com/_7NP9r0G9gcE/S-rKWxDQdBI/AAAAAAAAAA0/PwgcaHnf5EU/s320/box1.jpg" border="0" alt="ip geolocation software" id="BLOGGER_PHOTO_ID_5470407189867820050" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-7240393333634973562?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/7240393333634973562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/05/finishing-up-my-own-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/7240393333634973562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/7240393333634973562'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/05/finishing-up-my-own-software.html' title='Finishing up My Own Software'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_7NP9r0G9gcE/S-rKWxDQdBI/AAAAAAAAAA0/PwgcaHnf5EU/s72-c/box1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-1702271639595484019</id><published>2010-04-09T14:49:00.000-07:00</published><updated>2011-01-23T22:40:14.821-08:00</updated><title type='text'>link rel="image_src"  - whats this for?</title><content type='html'>I saw this in a page and was trying to figure out what this was used for..&lt;br /&gt;[link rel="image_src" href="linktoimage.jpg" /]&lt;br /&gt;&lt;br /&gt;Basically, when you submit/share this to Facebook , this helps Facebook determine which image to put next to the link.  If this is not present, Facebook tries to put in the first image it finds on the page, which may not be the best one to represent your site.  (NOTE: Facebook also uses your meta title and meta description tags.)&lt;br /&gt;&lt;br /&gt;I am hoping that someday that search engines will use this to put thumbnails of this image in their results display... But oh well.  Until then, it will help with social sharing.  &lt;b&gt;Since Facebook is such a large resource, this is currently an important thing to consider.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Resources:&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.insidefacebook.com/2009/04/06/increase-your-sites-traffic-through-facebook-share/"&gt;Optimizing your site for Facebook&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.niallkennedy.com/blog/2009/03/enhanced-social-share.html"&gt;Enhanced Social Share&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://wiki.developers.facebook.com/index.php/Facebook_Share/Specifying_Meta_Tags"&gt;Facebook Meta Tags&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-1702271639595484019?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/1702271639595484019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/04/link-relimagesrc-whats-this-for.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/1702271639595484019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/1702271639595484019'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/04/link-relimagesrc-whats-this-for.html' title='link rel=&quot;image_src&quot;  - whats this for?'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-5282210338499623810</id><published>2010-04-01T20:53:00.001-07:00</published><updated>2010-11-17T09:23:48.864-08:00</updated><title type='text'>Marching Ants - CSS</title><content type='html'>I just saw a really cool way to do the marching ants..  Check this out:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sunpig.com/martin/archives/2010/02/10/marching-ants-in-css.html"&gt;http://sunpig.com/martin/archives/2010/02/10/marching-ants-in-css.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thought I would pass this along... too cool.&lt;br /&gt;&lt;br /&gt;I am always looking for better ways of doing things, and I liked how he used CSS and animated gifs to get the affect...&lt;br /&gt;&lt;br /&gt;similar one (though I like the first one better):&lt;br /&gt;&lt;a href="http://www.serafinistudios.com/blog/archives/2003/10/29/how-to-add-marching-ants-photoshop-selection-style-to-your-links/"&gt;http://www.serafinistudios.com/blog/archives/2003/10/29/how-to-add-marching-ants-photoshop-selection-style-to-your-links/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I even integrated this into my CMS - so when people hover over a wigit - they can easily see what sections they can edit.&lt;br /&gt;&lt;br /&gt;I had to share&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-5282210338499623810?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/5282210338499623810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/04/marching-ants-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/5282210338499623810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/5282210338499623810'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/04/marching-ants-css.html' title='Marching Ants - CSS'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-6882237665683151066</id><published>2010-03-19T08:51:00.000-07:00</published><updated>2010-03-19T08:57:18.999-07:00</updated><title type='text'>Google Products - SEO</title><content type='html'>I have been working on the SEO for one of my clients - and have had a lot of success working on the SEO for his Google Products listing also... It is surprising how this can grab a little-tapped market.&lt;br /&gt;&lt;br /&gt;I simply have a RSS feed of my products in a manner requested by Google, and submit the feed to Google Products database.  The feed is dynamic - and changes whenever products change using ASP.Net&lt;br /&gt;&lt;br /&gt;However, lately I have enhanced it a bit with better success.  I still use the page meta-description for the Google product description, but I use a special field for the Google Product name, so we can tailor it for Google Product searches.&lt;br /&gt;&lt;br /&gt;Normally I found it to be best practice to include a good product name (with relevant keywords), followed by the package/product size or weight in parenthesis.  The product name should include the keywords AND be user-friendly to read.  The description should include keywords AND be a good sales pitch.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-6882237665683151066?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/6882237665683151066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/03/google-products-seo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6882237665683151066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6882237665683151066'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/03/google-products-seo.html' title='Google Products - SEO'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-497768457404209188</id><published>2010-02-28T17:03:00.000-08:00</published><updated>2010-02-28T17:13:26.123-08:00</updated><title type='text'>.htaccess file 301 redirect - to avoid duplicate content</title><content type='html'>Ya - I'm an ASP.net programmer, but every now and then I do a bit of php or other maitenance..&lt;br /&gt;&lt;br /&gt;The other day I had to update a website for SEO.  I noticed that this guy had two domains pointed to the same website... and that you can crawl them exactly the same.&lt;br /&gt;&lt;br /&gt;Unfortunately, this gets a duplicate content penalty so I had to update the .htaccess file to correct this and do 301 redirects.  Here are the lines of code needed to do this if you ever need it:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;RewriteCond %{HTTP_HOST} ^^(www\.)?dontneedthis\.com$ [NC]&lt;br /&gt;RewriteRule ^(.*)$ http://www.spiderweblogic.com/$1 [R=301,L]&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;Of course - change spiderweblogic to your website...&lt;br /&gt;&lt;br /&gt;TIP: don't kill any existing .htaccess file. Just append this code towards the top. (You may not see it if you use a ftp program.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-497768457404209188?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/497768457404209188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/02/htaccess-file-301-redirect-to-avoid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/497768457404209188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/497768457404209188'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/02/htaccess-file-301-redirect-to-avoid.html' title='.htaccess file 301 redirect - to avoid duplicate content'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-6184079451626174769</id><published>2010-01-15T13:23:00.000-08:00</published><updated>2010-01-15T15:10:52.230-08:00</updated><title type='text'>Pinging Blogs</title><content type='html'>For best results after posting blogs...ping them.  That way blog search sites know you have updated content.&lt;br /&gt;&lt;br /&gt;Here are some free services that ping blogs on request:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.feedping.com/"&gt;http://www.feedping.com/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://pingomatic.com/"&gt;http://pingomatic.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you roll-your-own blog, you may want to use pingomatic.com - since they are easy to integrate as a back-end service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-6184079451626174769?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/6184079451626174769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2010/01/pinging-blogs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6184079451626174769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6184079451626174769'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2010/01/pinging-blogs.html' title='Pinging Blogs'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-2182825956919094580</id><published>2009-09-28T16:29:00.000-07:00</published><updated>2009-09-28T16:33:36.215-07:00</updated><title type='text'>301 redirect windows server - for HTML pages</title><content type='html'>I was working on moving a website over... The old site was html only - the new one is ASP.net.  The puzzle was how to get the 301 redirects set up on a windows box?  I have done it in code-behind... if it is an ASP.Net page... and with classic "asp" pages.  &lt;br /&gt;&lt;br /&gt;&lt;b&gt;HERE is what I found&lt;/b&gt;&lt;br /&gt;IIS Redirect&lt;br /&gt;In internet services manager, right click on the file or folder you wish to redirect &lt;br /&gt;Select the radio titled "a redirection to a URL". &lt;br /&gt;Enter the redirection page &lt;br /&gt;Check "The exact url entered above" and the "A permanent redirection for this resource" &lt;br /&gt;Click on 'Apply' &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.webconfs.com/how-to-redirect-a-webpage.php"&gt;more on 301 redirects&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-2182825956919094580?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/2182825956919094580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/09/i-was-working-on-moving-website-over.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/2182825956919094580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/2182825956919094580'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/09/i-was-working-on-moving-website-over.html' title='301 redirect windows server - for HTML pages'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-9021601326503184487</id><published>2009-08-02T23:00:00.000-07:00</published><updated>2010-03-02T10:43:18.399-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dynamic controls'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='postback'/><title type='text'>Dynamically Loaded Controls Disappear ASP.Net C#</title><content type='html'>I have been working with dynamically loaded Web User Controls.&lt;br /&gt;&lt;br /&gt;However,I just found that they disappear after a postback... The basic solution is to reload them after postback.&lt;br /&gt;&lt;br /&gt;Oh well...&lt;br /&gt;&lt;br /&gt;Related articles (with info/tips/code):&lt;br /&gt;&lt;br /&gt;[Telerik has good tips on using viewstate to help]&lt;br /&gt;&lt;a href="http://www.telerik.com/help/aspnet/ajax/ajxloadusercontrols.html"&gt;&lt;br /&gt;http://www.telerik.com/help/aspnet/ajax/ajxloadusercontrols.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://aspnet.4guysfromrolla.com/articles/092904-1.aspx"&gt;http://aspnet.4guysfromrolla.com/articles/092904-1.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/infinitiesloop/archive/2008/04/23/truly-understanding-dynamic-controls-by-example.aspx"&gt;http://weblogs.asp.net/infinitiesloop/archive/2008/04/23/truly-understanding-dynamic-controls-by-example.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-9021601326503184487?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/9021601326503184487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/08/dynamically-loaded-controls-disappear.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/9021601326503184487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/9021601326503184487'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/08/dynamically-loaded-controls-disappear.html' title='Dynamically Loaded Controls Disappear ASP.Net C#'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-8855774080426974836</id><published>2009-08-02T20:50:00.000-07:00</published><updated>2009-08-02T21:20:52.097-07:00</updated><title type='text'>Javascript Cross Browser Back Method</title><content type='html'>I have been working on a quick CROSS browser "back" method in JavaScript.  It is really simple...  &lt;br /&gt;&lt;br /&gt;The history.go(-1) only worked well in IE.  This double method worked well in IE, Firefox and Chrome.  It checks if it knows how to do the "referrer" method.  If not... it uses the history.go&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[a href="#" onclick="if(document.referrer) {window.open(document.referrer,'_self');} else {history.go(-1);} return false;"]continue shopping[a]&lt;br /&gt;&lt;br /&gt;Of course, you should use a "&lt;" instead of "["  ... Blogger had issues when I posted the full link.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-8855774080426974836?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/8855774080426974836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/08/javascript-historygo-cross-browser-back.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8855774080426974836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8855774080426974836'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/08/javascript-historygo-cross-browser-back.html' title='Javascript Cross Browser Back Method'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-5020804830590274504</id><published>2009-06-12T22:32:00.000-07:00</published><updated>2009-06-12T22:38:46.466-07:00</updated><title type='text'>MySql Text Field - Truncating Data?</title><content type='html'>Every now and then you run an application that really tests the constraints of data types.  I just encountered this....&lt;br /&gt;&lt;br /&gt;I just found out that in MySql "&lt;em&gt;BLOB TEXT A BLOB or TEXT column have a maximum length of 65535 (2^16 - 1) characters&lt;/em&gt;".  I was encountering some data errors with large text chunks - and finally found that they were being truncated silently...  When I counted the characters - yes... that was the issue.&lt;br /&gt;&lt;br /&gt;Arggg!&lt;br /&gt;&lt;br /&gt;But there is a simple solution... LONGTEXT or LONGBLOB fields can handle the larger bits of data - if this is expected.  This gives you approx 4 Gig of space to work with.  Good to know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-5020804830590274504?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/5020804830590274504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/06/mysql-text-field-truncating-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/5020804830590274504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/5020804830590274504'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/06/mysql-text-field-truncating-data.html' title='MySql Text Field - Truncating Data?'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-6984920627150110098</id><published>2009-06-09T12:19:00.000-07:00</published><updated>2010-08-09T11:28:00.973-07:00</updated><title type='text'>Standard Web Page Width</title><content type='html'>I have been building web pages for over 6 years... and have been using a standard web page width of 778px for 800px monitors, unless the client requests otherwise.  The concept is to avoid (left/right) scrolling and make a good user experience.&lt;br /&gt;&lt;br /&gt;Most of the justification came from the analysis/tips in Jakob Nielson's book on "Homepage Usability" - dated in 2002. Most other articles I've read suggest this... but the trend is changing, as these monitors become fewer.&lt;br /&gt;&lt;br /&gt;Floating widths are cool - and useful. But they take longer to develop and I only do those on request, at an extra fee. However, since my statistics show that less than 2% use 800 px monitors, I am about to change my policy...&lt;br /&gt;&lt;br /&gt;But what width to use? Of course I will build for the 1024px monitors... the next size up. This is the largest percentage for screen resolutions now - about 34%. But I am considering only using 960px width for the regular content. That will allow for those who don't open their browser all the way. And it will allow the background colors/gradients to properly frame the page.&lt;br /&gt;&lt;br /&gt;More info:&lt;br /&gt;&lt;a href="http://webdesign.about.com/od/webdesign/a/aa080904.htm"&gt;http://webdesign.about.com/od/webdesign/a/aa080904.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://funbytebitstop.wordpress.com/2007/03/01/775-px-make-it-your-default-webpage-width/"&gt;http://funbytebitstop.wordpress.com/2007/03/01/775-px-make-it-your-default-webpage-width/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.jimdegerstrom.com/blog/2008/07/standard-web-design-page-width.html"&gt;http://www.jimdegerstrom.com/blog/2008/07/standard-web-design-page-width.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Screen Resolution Statistics&lt;/strong&gt;&lt;br /&gt;One of my websites gets 7,500 visitors per month on average...&lt;br /&gt;21% use screen resolution 1024x768 &lt;br /&gt;18% use 1280x800 &lt;br /&gt;10% use 1280x1024 &lt;br /&gt;10% use 1440x900 &lt;br /&gt;7.6% use 1366x768 &lt;br /&gt;7%   use 1680x1050 &lt;br /&gt;3.4% use 1920x1080 &lt;br /&gt;3% use 1920x1200 &lt;br /&gt;2.8% use 1600x900 &lt;br /&gt;2.25% use 1152x864 &lt;br /&gt;1.6% use 1280x768 &lt;br /&gt;1.5% use 1280x720 &lt;br /&gt;1.25% use 1360x768 &lt;br /&gt;&lt;strong&gt;0.9% use 800x600 &lt;/strong&gt;&lt;br /&gt;0.9% use 1280x960 &lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;So it seems that less than 1 in 100 use the smaller 800 X 600 monitors...&lt;br /&gt;Any thoughts?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-6984920627150110098?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/6984920627150110098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/06/standard-web-page-width.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6984920627150110098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6984920627150110098'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/06/standard-web-page-width.html' title='Standard Web Page Width'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-7713761363565097570</id><published>2009-05-06T21:38:00.000-07:00</published><updated>2009-05-07T17:17:04.905-07:00</updated><title type='text'>Google Maps - just the basics please</title><content type='html'>My &lt;a href="http://www.spiderweblogic.com/ECommerce.aspx"&gt;Spiderweb Logic CMS&lt;/a&gt; has had Google Maps integrated into it for a couple years, so I havent had to focus on this for a bit. However, someone just asked me how to integrate Google Maps into their website. This is never a 2 sentence explanation. &lt;strong&gt;Here are the basics:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;First figure out what you want.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;I want GOOGLE MAPS imbedded IN my website:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You will need to use the API to build your map. Reviewing the official documentation will help with "how do I" questions specific to your website.&lt;br /&gt;&lt;br /&gt;REF: &lt;a href="http://code.google.com/apis/maps/documentation/"&gt;http://code.google.com/apis/maps/documentation/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1) COPY/Paste code for your website&lt;br /&gt;&lt;br /&gt;This is the best method:&lt;br /&gt;&lt;a href="http://code.google.com/apis/maps/documentation/#AJAX_Loader"&gt;http://code.google.com/apis/maps/documentation/#AJAX_Loader&lt;/a&gt;&lt;br /&gt;They give you a bunch of javascript. Put it between the head tags.&lt;br /&gt;&lt;br /&gt;Don't forget to create a "div" tag in the body with the id of "map" to contain your map.&lt;br /&gt;&lt;br /&gt;2) Get a &lt;a href="http://code.google.com/apis/maps/signup.html"&gt;Google API Key &lt;/a&gt;for your website (even if it is localhost)&lt;br /&gt;&lt;br /&gt;3) Replace the &lt;strong&gt;ABCDEFG&lt;/strong&gt; in the above template with your google key.&lt;br /&gt;&lt;br /&gt;4) Find the longitude/latitude of the location you want to center on.&lt;br /&gt;&lt;a href="http://geocoder.us/"&gt;Get longitude and latitude&lt;/a&gt;. If you are doing things dynamically both Yahoo and Google provide geocoding apis. But for one-time use, that link is the best.&lt;br /&gt;&lt;br /&gt;5) Replace longitude and latitude numbers in the sample code with the actual longitude and latitude for your location.&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;ref:&lt;/span&gt; map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13); &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;It should now work.&lt;/strong&gt;&lt;br /&gt;You can alter the zoom in/out features by changing the &lt;span style="color:#ff0000;"&gt;13&lt;/span&gt; to a different number. You can alter the width and height by altering the width/height of the div tag.&lt;br /&gt;&lt;br /&gt;You might also find the tutorial helpful here:&lt;br /&gt;tutorial:  &lt;a href="http://code.google.com/support/bin/answer.py?answer=74725&amp;amp;topic=11364"&gt;http://code.google.com/support/bin/answer.py?answer=74725&amp;amp;topic=11364&lt;/a&gt;&lt;br /&gt;list of events: &lt;a href="http://econym.googlepages.com/gevent.htm"&gt;http://econym.googlepages.com/gevent.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;I want to link to a GOOGLE MAP defined with my specific location(s):&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This means that your map stays at Google. You just link to it from your website. However, you can configure a map specific to your needs - with your location preferences.&lt;br /&gt;&lt;br /&gt;STEPS:&lt;br /&gt;1) Log into your &lt;a href="https://www.google.com/accounts/Login?continue=http://www.google.com"&gt;Google account&lt;/a&gt;. (Get one if you dont already.)&lt;br /&gt;&lt;br /&gt;2) Get to the &lt;a href="http://maps.google.com/maps/mm?hl=en"&gt;Google "maps"&lt;/a&gt; product&lt;br /&gt;&lt;br /&gt;3) Create a new map and set your preferences. Put in a name and description. Dont forget to save.&lt;br /&gt;&lt;br /&gt;4) Go back in edit mode and drag markers/balloons to your locations. Save.&lt;br /&gt;NOTE: When you are editing your map you can zoom in to help put in your markers.&lt;br /&gt;&lt;br /&gt;5) Get a link to your map. (Click on the "collaborate" link on left to get the URL. Copy/paste the full URL noted to the "href" of a link.) &lt;a href="http://maps.google.com/maps/ms?ie=UTF&amp;amp;msa=0&amp;amp;msid=113299863794543800831.0004694b45ca7460d057f"&gt;example map&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-7713761363565097570?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/7713761363565097570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/05/google-maps-just-basics-please.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/7713761363565097570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/7713761363565097570'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/05/google-maps-just-basics-please.html' title='Google Maps - just the basics please'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-540435423521341575</id><published>2009-04-21T20:34:00.000-07:00</published><updated>2009-04-21T20:44:28.438-07:00</updated><title type='text'>Business Testimonial Sites</title><content type='html'>One of my clients was interested in using some testimonial sites, and wanted to know what was out there. &lt;br /&gt;&lt;br /&gt;Honestly, there are several sites that let you post a business profile and manage testimonials / business ratings.  The trick is to hit the main ones (in case someone searches for you) and to use them to build your reputation/goodwill etc - and perhaps your search ranking.&lt;br /&gt;&lt;br /&gt;TIP 1: create accounts in about 3-4 sites.  You dont need to create and manage accounts in lots of these unless you have LOTS of time.  But only let your customers know about 1 or two at a time.  That way you can have several testimonials with one site.    (Its a good idea to put links to these in your emails and in your website.)  As you grow, share the other sites to build them up also.  &lt;strong&gt;If someone asks for referrals, you can pass them a link with more than one testimonial.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;TIP 2:  If you sign up for an account with these places, take the time to &lt;strong&gt;do it right&lt;/strong&gt;.  Upload relevant pictures, including your logo.  Remember - this is part of your BRANDING/MARKETING.  Put in contact info AND your website url in the proper places.  Put in a good description of your company.  Put in a coupon - if they allow such things.&lt;br /&gt;&lt;br /&gt;1) &lt;a href="http://www.yelp.com/"&gt;http://www.yelp.com&lt;/a&gt;&lt;br /&gt;2) &lt;a href="http://local.yahoo.com/"&gt;http://local.yahoo.com&lt;/a&gt;&lt;br /&gt;3) &lt;a href="http://www.insiderpages.com/"&gt;http://www.insiderpages.com&lt;/a&gt;&lt;br /&gt;4) &lt;a href="http://centralcoast.citysearch.com/"&gt;http://centralcoast.citysearch.com&lt;/a&gt;&lt;br /&gt;5) &lt;a href="http://www.trustlink.org/"&gt;http://www.trustlink.org&lt;/a&gt; (affiliated with BBB)&lt;br /&gt;6) &lt;a href="http://www.merchantcircle.com/"&gt;http://www.merchantcircle.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you are in the &lt;em&gt;food or travel business&lt;/em&gt; there are specific referral sites related to these activities.  That way if someone is interested in traveling, he/she can do a search on what there is to do/eat and plan an iternerary - based on the reputation of the business.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-540435423521341575?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/540435423521341575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/04/business-testimonial-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/540435423521341575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/540435423521341575'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/04/business-testimonial-sites.html' title='Business Testimonial Sites'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-255365227525860388</id><published>2009-03-27T10:19:00.000-07:00</published><updated>2009-04-09T18:05:13.153-07:00</updated><title type='text'>Securing XML Web Services - SOAP</title><content type='html'>I was doing research on securing XML Web Services and came across the following:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.keithelder.net/blog/archive/2007/01/06/Securing-Web-Services-With-Username-and-Password.aspx"&gt;http://www.keithelder.net/blog/archive/2007/01/06/Securing-Web-Services-With-Username-and-Password.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I want to see if I put a XML Web service in a folder - secured with folder permissions - and use username/password to get the web service... that would be the most scalable solution for me... Since I would like to use this secure some user-specific data.&lt;br /&gt;-------------------&lt;br /&gt;&lt;br /&gt;Ok - for speed and simplicity I just did the following:&lt;br /&gt;1) Made username and password properties passed into the web service&lt;br /&gt;2) Used SSL to connect to protect the web service.&lt;br /&gt;&lt;br /&gt;It was simple and easy to use... pulled data specific to a user... from ASP.Net app into vba app.&lt;br /&gt;&lt;br /&gt;Want the code??&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-255365227525860388?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/255365227525860388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/03/securing-xml-web-services-soap.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/255365227525860388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/255365227525860388'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/03/securing-xml-web-services-soap.html' title='Securing XML Web Services - SOAP'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-8342314402154298778</id><published>2009-03-16T22:48:00.001-07:00</published><updated>2009-04-30T09:20:28.680-07:00</updated><title type='text'>ASP.Net AJAX - Update Panels</title><content type='html'>Update Panels are COOL!&lt;br /&gt;&lt;br /&gt;They have some quirks - but if used properly, they can really speed up a web app. (Had trouble using them with file uploads... but all else was fine.) I have been working on building some advanced lead-generation/management tools into my CMS - mostly using AJAX modals, tabs etc.&lt;br /&gt;&lt;br /&gt;I have found that those forms with several grids and more than 3 tabs tend to take a few seconds to redraw - using a regular postback. However, if I use an Ajax update panel - only the data in that update panel is redrawn... saving LOTS of time for the update.&lt;br /&gt;&lt;br /&gt;I still use regular postbacks - especially if if the update impacts several tabs, or if using file uploads. However, in most cases this is not needed...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;FILE upload in Update Panel?&lt;/strong&gt; &lt;br /&gt;I normally don't bother... But if needed, refer to this:&lt;br /&gt;&lt;a href="http://geekswithblogs.net/ranganh/archive/2008/04/01/file-upload-in-updatepanel-asp.net-ajax.aspx"&gt;http://geekswithblogs.net/ranganh/archive/2008/04/01/file-upload-in-updatepanel-asp.net-ajax.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;----------------------&lt;br /&gt;&lt;br /&gt;One critical thing to consider with update panels - whether to set&lt;br /&gt;&lt;em&gt;UpdateMode="conditional"&lt;/em&gt; or "always".&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Set to "conditional" if:&lt;/strong&gt;&lt;br /&gt;This update panel is not being affected by other update panels.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Set to "always" if:&lt;/strong&gt;&lt;br /&gt;This update panel data is being affected by updates in other update panels. This slows down the display/postback of all update panels with this... but can be very handy. Only do if necessary.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-8342314402154298778?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/8342314402154298778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2009/03/aspnet-ajax-update-panels.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8342314402154298778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8342314402154298778'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2009/03/aspnet-ajax-update-panels.html' title='ASP.Net AJAX - Update Panels'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-8871526789833043878</id><published>2008-12-29T13:08:00.000-08:00</published><updated>2009-03-16T23:02:18.666-07:00</updated><title type='text'>Importing Contacts from Hotmail, Gmail, Yahoo using C#</title><content type='html'>Many of the social bookmark services offer a means to import/invite people from your online email accounts... This is a great feature.... Honestly, I was a bit afraid of it at first. However, I do see the usefulness of it.&lt;br /&gt;&lt;br /&gt;I have found some help (C#) to do this... I do have some websites that this would help with... particularly those with marketing, contact lists, and newsletter features. It can be rather useful..&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.asp.net/p/1083530/2279066.aspx#2279066"&gt;http://forums.asp.net/p/1083530/2279066.aspx#2279066&lt;/a&gt;&lt;br /&gt;&lt;a href="http://forums.asp.net/p/1083530/1982614.aspx"&gt;http://forums.asp.net/p/1083530/1982614.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yahoo class:&lt;br /&gt;&lt;a href="http://gnillydev.blogspot.com/2007/10/yahoo-contact-import-class-in-c.html"&gt;http://gnillydev.blogspot.com/2007/10/yahoo-contact-import-class-in-c.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Google documentation:&lt;br /&gt;&lt;a href="http://code.google.com/apis/contacts/"&gt;http://code.google.com/apis/contacts/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/apis/contacts/docs/2.0/developers_guide_protocol.html"&gt;http://code.google.com/apis/contacts/docs/2.0/developers_guide_protocol.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Live/Hotmail documentation:&lt;br /&gt;&lt;a href="http://gnillydev.blogspot.com/2007/10/live-msn-hotmail-contacts-importing-in.html"&gt;http://gnillydev.blogspot.com/2007/10/live-msn-hotmail-contacts-importing-in.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will update this with any insights as I find it... and try it out.&lt;br /&gt;&lt;br /&gt;Where to use it:&lt;br /&gt;&lt;br /&gt;Lets say you have a "newsletter" or "prospect management" or "social" web-software. You can use such tools to import new contacts or friends and jump-start your system with your current business/family contacts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-8871526789833043878?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/8871526789833043878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/importing-contacts-from-hotmail-gmail.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8871526789833043878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8871526789833043878'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/importing-contacts-from-hotmail-gmail.html' title='Importing Contacts from Hotmail, Gmail, Yahoo using C#'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-8118245090163968627</id><published>2008-12-19T21:12:00.000-08:00</published><updated>2009-03-27T11:27:25.318-07:00</updated><title type='text'>Linking MS Access to SQL Server - labels</title><content type='html'>I had a label generator plugin for MS Word... from Avery Denison to print my labels. The data for the names/addresses resides in a SQL Server Database.&lt;br /&gt;&lt;br /&gt;Avery Dennison can import from a Word doc, a Spreadsheet, or from an Access db.&lt;br /&gt;&lt;br /&gt;I didnt want to download a spreadsheet all the time before importing, so I decided to use Access as a front end and link tables.... Theoretically it was a simple process..&lt;br /&gt;&lt;br /&gt;Here is the article I found to do this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://my.safaribooksonline.com/0596009739/integratingea-CHP-7-SECT-1?portal=informit"&gt;http://my.safaribooksonline.com/0596009739/integratingea-CHP-7-SECT-1?portal=informit&lt;/a&gt;&lt;a href="http://articles.techrepublic.com.com/5100-10878_11-1050135.html"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It worked fine - until I closed the file and tried to re-open. Then I had to enter the password again.&lt;br /&gt;&lt;br /&gt;Unfortunately, I had problems holding on the the username/password in the ODBC connection I made.... The following article explains why... The odbc connection to Sql Server connection kept defaulting to being a "trusted" connection instead of using the Sql Server username/password that I gave it.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dbforums.com/showthread.php?t=413813"&gt;http://www.dbforums.com/showthread.php?t=413813&lt;/a&gt; Thank you Bill Gates!&lt;br /&gt;&lt;br /&gt;I tried applying the latest patch - no luck. Later I will revisit this...&lt;br /&gt;&lt;br /&gt;---------------------------&lt;br /&gt;&lt;br /&gt;I just saw &lt;a href="http://www.officearticles.com/word/mail_merge_labels_in_microsoft_word.htm"&gt;http://www.officearticles.com/word/mail_merge_labels_in_microsoft_word.htm&lt;/a&gt; I knew MS Word had some sort of feature like this - just couldnt figure out where. But like a fool, I tried using Avery Dennisons software.&lt;br /&gt;&lt;br /&gt;No luck. I had problems connecting to SQL Server 2005 db. Probably the same problem as above. I am connected to it easily from my web server. Only my desktop has issues.&lt;br /&gt;&lt;br /&gt;-------------------------&lt;br /&gt;&lt;br /&gt;Ok.... Another angle:&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/301659"&gt;http://support.microsoft.com/kb/301659&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.experts-exchange.com/Programming/Misc/Q_21767403.html"&gt;http://www.experts-exchange.com/Programming/Misc/Q_21767403.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.fordevs.com/2008/08/i-was-looking-for-doing-mail-merge.html"&gt;http://www.fordevs.com/2008/08/i-was-looking-for-doing-mail-merge.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- building MS Word on web server using C# and then downloading.&lt;br /&gt;&lt;br /&gt;Looks like it may be possible to do what I want directly from the web server. I may need some sort of office components installed.. not sure.&lt;br /&gt;&lt;br /&gt;----------------------&lt;br /&gt;&lt;br /&gt;Another angle. I am going to try to get MS Access to pull data from my database.&lt;br /&gt;Then I will use MS Access to run the label writers...&lt;br /&gt;&lt;a href="http://databases.about.com/od/tutorials/ht/mailinglabels.htm"&gt;http://databases.about.com/od/tutorials/ht/mailinglabels.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;YES!! This works if you have the data in MS Access. I was able to print the labels successfully! I even got MS Access to import the data from Excel. I just had to remove all the formatting done by my Excel generation code.&lt;br /&gt;&lt;br /&gt;NEXT STEP: use vba to pull data into MS Access from my prospect management system. That would be very useful... if I had a canned tool to build mailing labels. I will need a way to pull the data from a web service or similar... I have some ideas that should work perfectly. Only constraint will be that the user has MS Access.  Using data from:&lt;br /&gt;&lt;a href="http://microsoft-soap-toolkit.software.informer.com/"&gt;http://microsoft-soap-toolkit.software.informer.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-8118245090163968627?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/8118245090163968627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/linking-ms-access-to-sql-server-labels.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8118245090163968627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/8118245090163968627'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/linking-ms-access-to-sql-server-labels.html' title='Linking MS Access to SQL Server - labels'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-3257725245847908856</id><published>2008-12-16T11:58:00.000-08:00</published><updated>2009-04-30T09:22:11.853-07:00</updated><title type='text'>System.Net.Mail.SmtpClient with login credentials (ASP.Net)</title><content type='html'>&lt;strong&gt;How to set login credentials for email ...  C#...&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;Normally when I set up a SMTP form for a client using ASP.Net I do something like the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;System.Net.Mail.&lt;span style="color:#00cccc;"&gt;MailMessage&lt;/span&gt; myMail = new System.Net.Mail.&lt;span style="color:#00cccc;"&gt;MailMessage&lt;/span&gt;();&lt;br /&gt;myMail.From = "&lt;/span&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;you@someemail.com&lt;/span&gt;&lt;span style="font-size:85%;"&gt;";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;myMail.Subject = "&lt;span style="color:#ff0000;"&gt;subject of email&lt;/span&gt;";&lt;br /&gt;myMail.To.Add(new MailAddress("&lt;/span&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;them@someemail.com&lt;/span&gt;&lt;span style="font-size:85%;"&gt;"));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;myMail.Body="&lt;span style="color:#ff0000;"&gt;This is the body of the email...&lt;/span&gt;";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;System.Net.Mail.&lt;span style="color:#00cccc;"&gt;SmtpClient&lt;/span&gt; mailClient = new System.Net.Mail.&lt;span style="color:#00cccc;"&gt;SmtpClient&lt;/span&gt;("&lt;span style="color:#ff0000;"&gt;myserver&lt;/span&gt;",25);&lt;br /&gt;mailClient.Send(myMail);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I havent had to change that process until today. Now I needed to find ways to do "credentialed" email, since his web host required it. I didn't want to purchase/install any special active X object to do this.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SOLUTION:&lt;/strong&gt;&lt;br /&gt;However, there are some new tricks with ASP.net 2.0 to handle this. Its something I didnt have to use til today.&lt;br /&gt;&lt;br /&gt;You can put some settings in the Web.config file to handle smtp when you do a .Send() call&lt;br /&gt;&lt;a href="http://aspnet.4guysfromrolla.com/articles/072606-1.aspx"&gt;http://aspnet.4guysfromrolla.com/articles/072606-1.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Or you can do code-behind method to do this...&lt;br /&gt;&lt;a href="http://www.wwwcoder.com/main/parentid/435/site/5833/68/default.aspx"&gt;http://www.wwwcoder.com/main/parentid/435/site/5833/68/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Both seem to work well, depending on your preferences.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OTHER BENEFITS:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I have noticed lately that some email servers (like hotmail) gives warning messages when I do un-credentialed emails... The email says "&lt;span style="color:#ff0000;"&gt;This message has been blocked for your safety&lt;/span&gt;." next to it... and "&lt;span style="color:#ff0000;"&gt;This message may be a phishing scam&lt;/span&gt;" or "&lt;span style="color:#ff0000;"&gt;This message may be dangerous&lt;/span&gt;". Not good. When use the email credentials I think it checks the IMX records - and sees what server the email should come from.&lt;br /&gt;&lt;br /&gt;This is the link hotmail gives it.. about Microsoft's "Sender ID" checking. &lt;a href="http://help.live.com/help.aspx?project=MailClassic&amp;amp;market=en-US&amp;amp;querytype=keyword&amp;amp;query=gnihsihp&amp;amp;tmt=&amp;amp;domain=mail.live.com&amp;amp;format=b1&amp;amp;fs=-1"&gt;http://help.live.com/help.aspx?project=MailClassic&amp;amp;market=en-US&amp;amp;querytype=keyword&amp;amp;query=gnihsihp&amp;amp;tmt=&amp;amp;domain=mail.live.com&amp;amp;format=b1&amp;amp;fs=-1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-3257725245847908856?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/3257725245847908856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/systemnetmailsmtpclient-with-login.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/3257725245847908856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/3257725245847908856'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/systemnetmailsmtpclient-with-login.html' title='System.Net.Mail.SmtpClient with login credentials (ASP.Net)'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-4550369510838145159</id><published>2008-12-14T22:44:00.000-08:00</published><updated>2008-12-16T12:17:12.659-08:00</updated><title type='text'>RSS feeds... images and html</title><content type='html'>I was building a RSS feed for a client... They have an MLM-tool site promoting some health enhancing products like &lt;a href="http://carole.mymaxteampro.com/"&gt;Max GXL &lt;/a&gt;(made by Max International) for &lt;a href="http://www.mymaxteampro.com/"&gt;Max International associates&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This site helps the different MLM associates to gain leads... &lt;em&gt;(By the way - if you have a MLM business and need some tools for your team to build their downline, send me an email.. I am happy to build one for you too. &lt;/em&gt;&lt;a href="mailto:robert@spiderweblogic.com"&gt;&lt;em&gt;robert@spiderweblogic.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt; )&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;PROBLEM:&lt;/strong&gt;&lt;br /&gt;I had trouble with the image tags... They didnt like to display in the RSS feed. I knew that it was possible.. Yahoo did it. Anyone else having trouble with putting images or other html inside RSS feeds? View the source and see how it is done.&lt;br /&gt;&lt;br /&gt;Look at this... &lt;a href="http://rss.news.yahoo.com/rss/topstories"&gt;http://rss.news.yahoo.com/rss/topstories&lt;/a&gt; (my model)&lt;br /&gt;Finally I got: &lt;a href="http://www.mymaxteampro.com/membersrss.aspx"&gt;http://www.mymaxteampro.com/membersrss.aspx&lt;/a&gt; to show the images properly.&lt;br /&gt;&lt;br /&gt;It didn't take too long to figure out the trick... the opening tags... needed to use the html hex... (ampersand + #60 + semicolon) instead of the opening tag &lt;. The closing tag is normal.. Just view source on the membersrss.aspx - that one has simpler html .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-4550369510838145159?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/4550369510838145159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/rss-feeds-images-and-html.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/4550369510838145159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/4550369510838145159'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/rss-feeds-images-and-html.html' title='RSS feeds... images and html'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-5818801612656883329</id><published>2008-12-12T16:25:00.000-08:00</published><updated>2008-12-12T16:36:03.987-08:00</updated><title type='text'>How to Turn off Autocomplete in html textbox</title><content type='html'>Every once in a while you have a form where you dont want Google's Autocomplete to try to guess at the text. For example, my wife runs a shipping business. I had a textfield for the tracking number. Each time she tried to enter it, it gave a long dropdown of the other tracking numbers.... But this is only an annoyance and not helpful.&lt;br /&gt;&lt;br /&gt;Others may have credit card textfields... and need the same feature for shared computers - for obvious reasons. If someone else uses the computer, you dont want them to see the auto-complete of your credit card transaction.&lt;br /&gt;&lt;br /&gt;This simple fix was courtesy of the following site:&lt;br /&gt;&lt;a href="http://www.petefreitag.com/item/481.cfm"&gt;http://www.petefreitag.com/item/481.cfm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;form method="get"&gt;&lt;br /&gt;&lt;textarea name="code" style="width: 100%; height: 50px;"&gt;&amp;lt;input type="text" name="creditcard" autocomplete="off" /&amp;gt;&lt;/textarea&gt;&lt;br /&gt;&lt;/form&gt;&lt;br /&gt;&lt;br /&gt;Most sites just suggested turning off the google toolbar or explained that there was no fix.... But all things come to those who are persistant in finding the truth.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-5818801612656883329?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/5818801612656883329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/how-to-turn-off-autocomplete-in-html.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/5818801612656883329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/5818801612656883329'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/how-to-turn-off-autocomplete-in-html.html' title='How to Turn off Autocomplete in html textbox'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-6245117026375691435</id><published>2008-12-12T08:58:00.001-08:00</published><updated>2008-12-29T14:16:28.527-08:00</updated><title type='text'>Social Bookmarking: Twitter This Button</title><content type='html'>Social bookmarking (like Digg.com and Delicious.com) are the latest craze..&lt;br /&gt;&lt;br /&gt;I normally put in &lt;a href="http://www.addthis.com/"&gt;AddThis.com &lt;/a&gt;wigits on my blogs/websites to allow people to talk about sites/vote on page..&lt;br /&gt;&lt;br /&gt;Recently, I put together my own Twitter button... Feel free to use it. I found it rather useful when putting on dynamic article pages.. or on blog posts.&lt;br /&gt;&lt;br /&gt;&lt;form method="get"&gt;&lt;br /&gt;&lt;textarea style="WIDTH: 100%; HEIGHT: 130px" name="code"&gt;&lt;script language="'javascript'" src="'http://www.spiderweblogic.com/js/twitterthis.js'" type="'text/javascript'"&gt;&lt;/script&gt;&lt;a href="#" onclick="'return"&gt;&lt;img border="'0'" height="'16px'" src="http://www.spiderweblogic.com/images/twitterthis.png" style="'margin:1px'" width="'13px'/" /&gt;&lt;/a&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;/form&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-6245117026375691435?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/6245117026375691435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/social-bookmarking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6245117026375691435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/6245117026375691435'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/social-bookmarking.html' title='Social Bookmarking: Twitter This Button'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4916543435633213251.post-1422384832555285494</id><published>2008-12-11T12:31:00.000-08:00</published><updated>2008-12-12T08:57:57.849-08:00</updated><title type='text'>Not enough permissions. Inherit your page class from RadAjaxPage</title><content type='html'>I have been scratching my head for a few hours trying to figure out how to fix the following bug:&lt;br /&gt;Finally - i figured it out ....&lt;br /&gt;&lt;br /&gt;If you are trying out Telerik controls for the first time - you may get this. Or if your web host changes some of their configurations (which happened to me) you may also get this.&lt;br /&gt;&lt;br /&gt;--------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;color:#ff0000;"&gt;&lt;strong&gt;Server Error in '/' Application.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#660000;"&gt;Not enough permissions.  Inherit your page class from RadAjaxPage if you are running under Medium trust level.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&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;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Exception Details:&lt;/strong&gt; System.InvalidOperationException: Not enough permissions.Inherit your page class from RadAjaxPage if you are running under Medium trust level.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Source Error:&lt;/strong&gt;&lt;br /&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;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;Stack Trace:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;[InvalidOperationException: Not enough permissions.&lt;br /&gt;Inherit your page class from RadAjaxPage if you are running under Medium trust level.]&lt;br /&gt;Telerik.Web.UI.RadAjaxControl.AttachOnRender() +274&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;--------------------------&lt;br /&gt;&lt;br /&gt;The fix is an obvious one. If you are reading this post, you probably did a search for this particular error. Once I figured it out - I felt pretty stupid, and I am a very experienced .Net programmer. I had made a database change (a small one) and then this error started happening... I couldnt figure out how my database change could have caused it.&lt;br /&gt;&lt;br /&gt;My database change was not the culpret. The web host changing their trust/configuration settings was the problem.&lt;br /&gt;&lt;br /&gt;To fix - I had to "read" the error.&lt;br /&gt;&lt;br /&gt;--------------------------&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;VB.Net fix.....&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Imports&lt;/span&gt; Telerik.Web.UI &lt;span style="color:#009900;"&gt;' put at top of page&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Partial&lt;/span&gt; &lt;span style="color:#3366ff;"&gt;Class&lt;/span&gt; MyShippingAccount&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;Inherits&lt;/span&gt; RadAjaxPage&lt;span style="color:#009900;"&gt; ' System.Web.UI.Page&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;C# fix....&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;using&lt;/span&gt; Telerik.Web.UI; &lt;span style="color:#009900;"&gt;// put at top of page&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;public partial class&lt;/span&gt; admin_ShipThis_modal : Telerik.Web.UI.&lt;span style="color:#3333ff;"&gt;RadAjaxPage&lt;/span&gt; &lt;span style="color:#009900;"&gt;//System.Web.UI.Page&lt;/span&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;No code-behind page? No problem...&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;[percent-sign] &lt;span style="color:#3333ff;"&gt;@&lt;/span&gt; &lt;span style="color:#660000;"&gt;Page&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;Language&lt;/span&gt;="&lt;span style="color:#3333ff;"&gt;VB&lt;/span&gt;" &lt;span style="color:#ff0000;"&gt;Inherits&lt;/span&gt;="&lt;span style="color:#3333ff;"&gt;Telerik.Web.UI.RadAjaxPage&lt;/span&gt;" [percent-sign]&gt;&lt;br /&gt;&lt;[percent-sign]&lt;span style="color:#3333ff;"&gt;@&lt;/span&gt; &lt;span style="color:#660000;"&gt;Register&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;assembly&lt;/span&gt;="&lt;span style="color:#3333ff;"&gt;Telerik.Web.UI&lt;/span&gt;" &lt;span style="color:#ff0000;"&gt;namespace&lt;/span&gt;="&lt;span style="color:#3333ff;"&gt;Telerik.Web.UI&lt;/span&gt;" &lt;span style="color:#ff0000;"&gt;tagprefix&lt;/span&gt;="&lt;span style="color:#3333ff;"&gt;telerik&lt;/span&gt;" [percent-sign]&gt;&lt;br /&gt;---------------------------------------&lt;br /&gt;&lt;br /&gt;Let me know it this helps.. I kept wondering if I broke something the whole time with my database change... and if Ajax components were complaining over it. But no. If you got this error - it is probably not your fault... and the fix is easy. I hope this saves you some head-scratching time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4916543435633213251-1422384832555285494?l=just-another-coder.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://just-another-coder.blogspot.com/feeds/1422384832555285494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/not-enough-permissionsinherit-your-page.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/1422384832555285494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4916543435633213251/posts/default/1422384832555285494'/><link rel='alternate' type='text/html' href='http://just-another-coder.blogspot.com/2008/12/not-enough-permissionsinherit-your-page.html' title='Not enough permissions. Inherit your page class from RadAjaxPage'/><author><name>Robert Fuess</name><uri>http://www.blogger.com/profile/01021420779703157193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://www.spiderweblogic.com/images/RobertMugShot-small.JPG'/></author><thr:total>1</thr:total></entry></feed>
