Working on a website of which one of the requirement is to display a progress bar while completing an ajax call. Yes this is a simple and straight forward requirement and lets look to the details of how to implement it.
1. Create a web service
2. Using jQuery do the following :-
2.1 Show modal dialog box
2.2 show progress bar on the modal dialog box as 0% completed
2.3 Make an ajax call (estimated time of 5 mins)
3. While ajax...
public string aboutme {
var known = { { "C#" , "Javascript" }, { "ASP.NET", "MVC" } };
return known.ToJson();
}
Tuesday, 28 September 2010
Monday, 13 September 2010
Unable to uninstall: assembly is required by one or more applications
Un-installing from GAC can be done in various methods such as :-
1. Using windows explorer goto C:\Windows\assembly
2. Locate the assembly
3. use delete button (or) right click -> Uninstall
Alternate method is
1. Goto Visual Studio Command prompt
2. type gacutil /u Me.Test.Assembly
If both of these doesn't work then the assembly is used by some of the component. Ok now that you have known that assembly has a dependency...
Labels:
VS 2010
Tuesday, 7 September 2010
Sys._ScriptLoader is null or not an object
Working on a website and have got following error :-
"Sys._ScriptLoader is null or not an object"
Have been using the methodology of downloading multiple javascript files after the visible content. When combine script is enabled the above error is displayed.
The reason for this error being the definition of the following function :-
$type = Sys._ScriptLoader = function _ScriptLoader() {
has not been loaded so need to exclude...
Labels:
ASP.NET Ajax
Thursday, 2 September 2010
Unable to get readonly textbox value from server side ASP.NET
Unable to get textbox value from server side is not a bug in ASP.NET but is a feature. Textbox value cannot be read from code behind if it is readonly as per MSDN .But the value can be read using the following syntax : txtFirstName.Text = Request[txtFirstName.UniqueID]; “The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge.”– Stephen Hawk...
Labels:
ASP.NET
Subscribe to:
Posts (Atom)