Wednesday, August 22, 2012

An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter

I got this error when i redirect to another action with parameters.
In my case, the problem was parameter name. Add correct parameter.

return RedirectToAction("ProductTryout", new RouteValueDictionary(new { controller = "Catalog", action = "ProductTryout", productId = model.Id }));

Monday, August 20, 2012

A generic error occurred in gdi+

You can not save the same bitmap which is being used by other process. So rename it and then try to save

Wednesday, August 15, 2012

A route named could not be found in the route collection. NopCommerce

Go to the Nop.Web.Infrastructure.RouteProvider.cs
Add  following Code 
routes.MapLocalizedRoute("YourLink",
                            "customer/YourLink",
                            new { controller = "Customer", action = "YourLink" },
                            new[] { "Nop.Web.Controllers" });


TinyMCE Insert/Edit link not editable

 To fix this add  e.stopImmediatePropagation()  as below. $(document).on('focusin', function (e) {             if ($(e.target).close...