MVC ActionLink not working after submit

These past days, I was having a problem with links for an iPad web app. The problem was that when I submit a form (step 1) and go to the next form (step 2), the link to return back to step 1 was not working. Apparently the problem is caused by Ajax. The solution is the following, instead of using the normal form tag to init a form:

      ……

use this type of form initialiser

@using (Html.BeginForm(“action”, “controller”, FormMethod.Post))
{

      ……

}

And add the following attribute:

{ “data-ajax”, “false” }

So the final code would look like this:

@using (Html.BeginForm(“action”, “controller”, FormMethod.Post, new Dictionary { { “data-ajax”, “false” } }))
{
……

}

Hope this post helps you, and reduces your swearing 🙂 Happy Form-ing!

 

 

 

Sync Outlook with Windows Live Calendar For Free – Updated

During this last week, Microsoft released a new version of its Microsoft Outlook Connector. This happened to add support for the recent update done on Windows Live Calendar which is still in Beta.

With this update you can now sync multiple Windows Live Calendars with Microsoft Office Outlook 2003 or Office Outlook 2007. You can now take advantage of Outlook’s great calendar and time management features and still access your schedule on the web anytime, and anywhere… and always for free (ok you need to buy outlook first… although there are other ways to get outlook… like… maybe some special… very special promotions… :)…!! )

For those that never used the Windows Live Calendar Beta, you can access it on this web address: http://calendar.live.com. It has a fast and functional Ajax user interface providing a rich experience on the web… supporting many new features making Outlook look even better!! For example, if you have multiple calendars (maybe one to use for work, another one for your events) or even shared calendars, each of them will sync with Microsoft Office Outlook always by using the Office Outlook Connector Beta.

Check out the How To? after the break… Continue reading