Jan 25th, 2010 | 1 Comment

One of my team member, kunal, was facing a problem while creating the setup project for v 20 using VS 2008. Even after just changing the target framework while creating the project did no help so had to search for the solution, and the solution that solved our problem is as follows,

1) Create a windows application project with target framework as v2.0

Select Target Framework

Select Target Framework

2) Create Setup and deployment project and select target framework as v2.0

Target Framework for Setup

Target Framework for Setup

3) Right-Click on setup project Name and select Properties, under properties select Prerequisites

Select Prerequisite

Select Prerequistes

4) Check .NET framework 2.0 and uncheck .NET framework 3.5

Select Framework in Prerequisite

Select Framework in Prerequisite

5) Under Solution Explorer double click on Microsoft.NET framework under

Setup project.

Select the Framwork to change the version

Select the Framwork to change the version

6) Right-Click on .NET framework select properties and change the version to v2.0…

Change Framework Version

Change Framework Version

Jan 6th, 2010 | No Comments

ASP.Net menu controls breaks in Google Chrome and works fine in other browsers. Here is the hack to make it work in Google Chrome as well,

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
     Request.Browser.Adapters.Clear();

Just add this code on your page load and the menu control will start working fine in Google Chrome as well.

Also some times the hover menus don’t work on IE8 to make it work on IE8 you need to set

“z-index”

in DynamicMenuStyle property of the menu control.

Hope this helps :)

Page 3 of 29123451020Last »