window.showModalDialog is ignoring dialogWidth and dialogHeight on Chrome but works fine on other browsers such as IE, firefox etc. After some tweaking I have found that dialogWidth and dialogHeight should not have "px" in the value ie.. "dialogWidth:100;dialogHeight:200" but other browsers need to have "px" such as "dialogWidth:100px;dialogHeight:200px"
Here is a simple function that can help
function ModalDialog(sURL, vArguments,...
public string aboutme {
var known = { { "C#" , "Javascript" }, { "ASP.NET", "MVC" } };
return known.ToJson();
}
Wednesday, 30 May 2012
Thursday, 24 May 2012
TFS Helper package extension for Visual Studio 2010

VS2010 is well integrated to TFS and has all the features required on day to day basis. Most common feature any developer use is managing workitems. Creating work items is very easy as is copying work items, but what I need is to copy workitem between projects retaining links and attachments. I am sure this is not Ideal and against sprint...
Thursday, 3 May 2012
ASP.NET MVC login page throwing error "The resource cannot be found"

As per ASP.NET MVC getting the error message "The resource cannot be found" is as simple as verifying if the view/user control does actually exist or name of the view/user control is misspelled.
But in this case that is not the issue because the controller "AccountController" does exist and the view "Login.aspx" also does exist. So have...
Labels:
ASP.NET MVC
Tuesday, 1 May 2012
Unable to debug Visual Studio 2010 addin or suddenly stopped working

I have created a new addin for Visual Studio 2010 using standard addin template. The sample works fine, then I start making some changes and adding more dependencies. Yes got some compilation errors and have fixed them. Now after starting debugging a runtime error is thrown, so fixed that.
Now If I start debugging, the addin no longer...
Labels:
VS 2010
Subscribe to:
Posts (Atom)