Dzulqarnain Nasir

  • November 04, 2013

    Scope Inheritance in AngularJS

    As I continue my journey into the Angular world, I come across many new and awesome things. One very interesting thing Angular has got going for it is the use of scopes.

    Scope inheritance in Angular works very much like JavaScript’s prototypal inheritance. Child scopes have access to their respective parent scopes, changes in the parent scope can trigger event listeners in the child scope, so on and so forth. It’s pretty straight forward, up until the moment you need to do some “two-way binding” from within the child scope.

    Read more »
  • October 09, 2013

    Display Mode Detection for Responsive Websites using AngularJS

    I’ve recently started using AngularJS in a project I’m currently working on. So far, AngularJS has been great, and I’ve especially enjoyed building my own custom directives.

    Here’s one I’m using to determine the current display mode for responsive websites.

    Read more »
  • September 23, 2013

    Implementing Custom Checkbox List Property in EPiServer CMS 7

    In one of my recent projects, I’ve had to implement a property that displays a list of checkboxes so the administrator could select an item to enable from the list of available options. I googled around for a bit and came across this article by Linus Ekström.

    This is my implementation.

    Read more »
  • September 13, 2013

    CacheManager for EPiServer CMS 7 Now Live!

    Geta has just released an updated version of CacheManager for EPiServer CMS 7. It has been rebuilt from scratch to take advantage of ASP.NET MVC, now fully supported by EPiServer CMS.

    Features

    • One-click cache clear - Clear EPiServer site cache with just one click.
    • Selective cache entry deletion – Select and delete individual cache entries.
    • Cache entry value display – View a string representation of cache entries.
    Read more »
  • August 15, 2013

    Adding Or Preserving Hash Values When Using Response.Redirect() For IE

    I recently ran into a small problem in one of my projects. I have some code that would open up the user login UI when the URL contains a few specific parameters, which are defined as hash parameters.

    One of the tasks assigned to me needed me to redirect the user to the same page, but with the login UI activated, when they want to do something that required them to be authenticated. Naturally, I went ahead and used the Response.Redirect() method and appended the hash parameters to the end of the current URL. Then I ran my usual tests.

    Read more »