ozkary.com
All About .Net: April 2014
http://www.ozkary.com/2014_04_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Sunday, April 27, 2014. JavaScript DateDiff Extension Methods. We can create extension methods on any JavaScript object by using the Object.prototype. Date type Extension Methods. Source: ozkary.blogspot.com. GetFullYear() - dt.getFullYear() * 12;. GetMonth() 1) - (dt.getMonth() 1) ;. GetFullYear() - dt.getFullYear() ;.
ozkary.com
All About .Net: July 2014
http://www.ozkary.com/2014_07_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Saturday, July 19, 2014. Change SharePoint ms-core-brandingtext with JavaScript. We first need to identify the master page that our site is using. We then need to find the HTML element that contains the site brand name. For SharePoint 2013, the brand name is contained in the following HTML element:. A drawback about this ...
ozkary.com
All About .Net: May 2014
http://www.ozkary.com/2014_05_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Saturday, May 31, 2014. Custom Error Page 401 Access Denied when Using Windows Authentication. HTTP 401 Error browser Interaction. The common interaction between the browser and the server is as follows:. The browser sends request with no authentication tokens. The server responds with a 401.2 HTTP error. Note that this s...
ozkary.com
All About .Net: June 2015
http://www.ozkary.com/2015_06_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Saturday, June 27, 2015. ANGULARJS Print Bootstrap Modal Content. When trying to print a modal dialog, we may not need to see the main layout content mixed with the modal content on the print out. This is however the default behavior when we try to print a web page. Note that in this example, we have two actions/buttons:.
ozkary.com
All About .Net: February 2015
http://www.ozkary.com/2015_02_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Saturday, February 21, 2015. The Foreign Key on table with columns could not be created because the principal key columns could not be determined. Add this field as a FK to the dbo.Roles table. Which does not exist in my model. Id = c.Int(nullable:. Name = c.String(nullable:. RoleId = c.String(),. PrimaryKey(t = t.Id).
ozkary.com
All About .Net: AngularJS Data Grid with Paging
http://www.ozkary.com/2015/07/angularjs-data-grid-with-paging.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Tuesday, July 14, 2015. AngularJS Data Grid with Paging. The filter basically just slices the array to return a subset of data for the selected page. The filter is placed on the ng-repeat mark-up and takes three parameters (items : data, page: current page, onPage: page size). I am a software solutions architect who enjoy...
ozkary.com
All About .Net: ANGULARJS Print Bootstrap Modal Content
http://www.ozkary.com/2015/06/angularjs-print-bootstrap-modal-content.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Saturday, June 27, 2015. ANGULARJS Print Bootstrap Modal Content. When trying to print a modal dialog, we may not need to see the main layout content mixed with the modal content on the print out. This is however the default behavior when we try to print a web page. Note that in this example, we have two actions/buttons:.
ozkary.com
All About .Net: December 2013
http://www.ozkary.com/2013_12_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Saturday, December 21, 2013. ASPNet Show Assembly Build Date. When creating an about page for a web application, we often add the build date information. To get the build date, we can query the executing assembly file and get the last write time property. Returns the file write date. WriteTime = fileInfo.LastWriteTime;.
ozkary.com
All About .Net: March 2014
http://www.ozkary.com/2014_03_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Sunday, March 30, 2014. XDocument Merge XML Documents. We first start by showing two XML documents that can be combined into one. The base requirement with this approach is that both documents are similar with the exception of one Element that contains some unique information that is not contained on the other XML. RefDoc...
ozkary.com
All About .Net: March 2015
http://www.ozkary.com/2015_03_01_archive.html
All About .Net. I use this blog to post my personal ideas, opinions, experiences, and philosophy about software development. This is just a drop of water in the vast sea of information. Sunday, March 1, 2015. AngularJS ng-model Concatenate Model Values. In order to concatenate a model property values in AngularJS, we need to create an extended property on the model and then use that property with the ng-model directive. We can illustrate this with the following angular module:. App = angular.module(.