Posts

Showing posts from March, 2016

ASP.NET Scaffolding in Visual Studio 2013

Scaffolding is a technique used by many MVC frameworks (like ASP.Net MVC, Ruby on Rails, Cake PHP and Node.JS etc) to generate code for basid CRUD (Create, Read, Update and Delete) operations against your databse effectively. Further you can edit or customize this auto generated code according to your need. ASP.NET Scaffolding is a code generation framework for ASP.NET Web applications. Visual Studio 2013 includes pre-installed code generators for MVC and Web API projects. You add scaffolding to your project when you want to quickly add code that interacts with data models. Using scaffolding can reduce the amount of time to develop standard data operations in your project. By default, Visual Studio 2013 does not support generating code for a Web Forms project, but you can use scaffolding with Web Forms by either adding MVC dependencies to the project or installing an extension. For more detail about ASP.Net Scaffolding, click the below link. http://www.asp.net/visual-studio/o

IE11 BUG caused by MS16-009 Security Update package - showModalDialog() does not return a value

Image
After installing MS16-009 Security Update package, my application got crash and window.showModalDialog returns nothing. I have to manually uninstall the patch and everything become normal. KB3134814 is the reason behind all this issue. After installation, window.showModalDialog return undefined. If you face same issue, you have to uninstall this patch from the client machine. But wait....!!! There is a workaround for this issue. Place the Below code in a script  function ResetReturnValue(){  if (window.returnValue == null) {         var oFrame = $('#FrameLookup'); // IFRAME ID         if (oFrame.length) {             var oContentWindow = oFrame[0].contentWindow;             if (oContentWindow) {                 window.returnValue = oContentWindow.LookupResult;             }         }     } } Call this function onUnLoad of body <body onunload="ResetReturnValue();"> Enjoy...!!!!!!!