Thursday, December 1, 2011

Master Pages in ASP.NET

While trying to make sense of the mess of an existing ASP.NET project, reached Master Pages. I am trying to refactor the pages which have absurd javascript to manage navigation. For what reason, I am not sure.
In any case, each page reproducing the same code didn't make much sense, and my readings took me to Master Pages.
Master Pages can be used to provide the template for common site-wide or common to sub-section of wide pages details.
I want to use it for providing the common header on top, and also to provide the navigation links. For navigation, reached the point where I have to color / highlight the current page in the navigation links. To which the solution I liked best is available here.

Tuesday, November 29, 2011

Start of Lessons

Starting this space over here to keep notes on all the cool things learnt during the projects. This is the world of google and stackoverflow, which help to solve most of the issues raised. However, I think the point has come to keep notes on the solutions found for the problems I encountered, so as to not refocus my memory, and also so that I don't reinvent the wheel for a problem to which I found a reasonable solution. And hence this space. We talked about starting a study group for the things that we did. Possibly we should. At the moment, let me see how well I do with this.