Archive

Archive for the ‘Uncategorized’ Category

Syncing Hotmail on a Mac

March 6, 2016 Leave a comment

Who would have thought this would be so difficult!

I have a legacy hotmail account that’s not been migrated to Office 365 yet. You know because the upper left reads ‘Outlook.com’ vs. ‘Outlook Mail’ – the latter shows after your migration or if you open a new account.

If you’re on legacy, forget about getting your contacts and calendar entries on your Mac even if you use Outlook for Mac. Since hotmail does not support carddav and caldav it won’t work. You can get mail.

So until I migrate, I created a new outlook.com account, attached to it from Outlook on PC, and copied all contacts in one shot. Then I connected from Mac to the new account using the Exchange provider. It connected, but no contacts. Aargh.

Googling showed that I need to set categories to ‘jiggle’ the contacts and get them to sync. So I did that from Outlook on Mac. Now contacts started showing up on Mac. However a few would come over then some Exchange sync error (“The operation couldn’t be completed. (SOAPWebServicesErrorDomain error – 997.)”

If I close Contacts, and restart some more would come over then the error again.

So I’m still in that mode but seeing more and more contacts.

It shouldn’t be this hard…really.

Categories: Uncategorized

Expression Web 4 Service Pack 2 Available

July 13, 2011 Leave a comment
Categories: Uncategorized Tags: ,

How to use jQuery autocomplete with MVC

June 2, 2011 2 comments

Gone are the days of hand coding AJAX to get auto complete textboxes (a.k.a. incremental search).  jQuery’s Autocomplete widget does all the heavy lifting for you.

Want to know how to use it with an ASP.NET MVC app?  Microsoft has documented this step-by-step on their asp.net site.  The article shows how to use the widget two ways: 1) with items hard-coded on the page, and 2) with items retrieved from a call to the server (controller action).

To give you a leg up I’ll share my experience.

1. When setting the Source to point to the URL of your action, I used the razor markup instead of the angle bracket / percent side syntax.

So, the updated code looks like:

$("#Title").autocomplete({ 
   source: '@Url.Action("List")', 
   select: function (event, ui) { 
      $("#movieID").val(ui.item.id); 
      } 
   });

2. The name of the parameter in the controller action must be “term” – any other name results in a null value being passed in.

3. Be sure that the property of the names you want to display is called “label”.

public ActionResult List(string term) { 
   var results = from m in _repository.Movies 
                 where m.Title.StartsWith(term) 
                 select new { label = m.Title, id = m.Id }; 
   return Json(results.ToArray(), JsonRequestBehavior.AllowGet); 
}

4. To get the right visual look you need to include some stylesheets:

   <link href="@Url.Content("~/Content/themes/base/jquery.ui.base.css")"
      rel="stylesheet" type="text/css" />
   <link href="@Url.Content("~/Content/themes/base/jquery.ui.core.css")"
      rel="stylesheet" type="text/css" />
   <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")"
      rel="stylesheet" type="text/css" />

-Krip

My pick for streaming TechEd session for today: SEO

May 19, 2011 Leave a comment

Looking forward to this session:

Website to tune in to: http://northamerica.msteched.com/default.aspx?fbid=LAqu4tcmu8-#agtab2

Click on the “Dev Community” tab.

-Krip

Categories: Uncategorized Tags: ,

Free TechEd Sessions You Must Watch Today

May 17, 2011 Leave a comment

Here are my pick of TechEd sessions developers should catch today:

The site to visit: http://northamerica.msteched.com/default.aspx?fbid=LAqu4tcmu8

-Krip

Categories: Uncategorized Tags: , ,