Saturday, April 21, 2007

How to Study with your Spouse, Children and a Full Time Job

You may be wondering this is impossible. 50% of my colleagues don't believe in this and they destroy their careers after they got married and have started on their kids. Read this article this is a good one to keep you energize and to move up with your career. Though you have not done your degree or professional certifications you will be up-to-date in your industry by following this and count on me you will be in a good position in your work place :)))

How to Study with Full Time Job

Sunday, April 08, 2007

CSS Friendly Adaptor Controls

Our web designers are always complain about the code generated from ASP.NET controls. For an example code generated from Menu controls are using table tags. But modern web designers love CSS based menus b'cos of two reasons. They looks elegant and the page size is very small compared to table base menus. So here is what you are looking for...... CSS Friendly Adaptor Controls, brilliant piece of work. You can make your existing site produce CSS friendly code and style your controls using CSS without even touching your existing aspx pages. It's definitely a wow isn't it :) Actually it is.... Compare the following rendered html using adaptor control with your own table base menu rendering results you will feel the difference.

<div class="SimpleEntertainmentMenu" id="Menu1">
<div class="AspNet-Menu-Horizontal">
<ul class="AspNet-Menu">
<li class="AspNet-Menu-WithChildren">
<a href="javascript:__doPostBack('Menu1','bMusic')" class="AspNet-Menu-Link">
Music</a>

<ul>
<li class="AspNet-Menu-Leaf">
<a href="javascript:__doPostBack('Menu1','bMusic\\Clasical')" class="AspNet-Menu-Link">
Clasical</a>
</li>
</ul>
</li>
<li class="AspNet-Menu-WithChildren">

<a href="javascript:__doPostBack('Menu1','bMovies')" class="AspNet-Menu-Link">
Movies</a>
<ul>
<li class="AspNet-Menu-Leaf">
<a href="javascript:__doPostBack('Menu1','bMovies\\Action')" class="AspNet-Menu-Link">
Action</a>
</li>
</ul>

</li>
</ul>

</div>
</div>


In the App_Browsers folder create the CSSFriendlyAdapters.browser and configure all the adaptor controls to be used with different ASP.NET controls.
In this file you can configure in which browsers Adaptor controls should be enabled or disables. Please refer CSS Friendly Adaptors for more details

Sunday, April 01, 2007

MS SQLEXPRESS Issue

If somebody is getting the following error when trying to create new sqlexpress data bases from Visual Studio please follow the instructions bellow to sort out the problem. I've been struggling for couple of hours to figure out the problem

Error : "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance"

Resolution : Delete C:\Documents and Settings\USERNAME\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS.

This is definitely authentication problem. When you uninstall and reinstall sqlexpress it can happen.