ASP.NET 2.0

ASP.NET vNext Series - New Features

As you know Visual Studio 2011 has got some great features but it seems ScottGu has got some other stuff to show
See the new vNext cool features here
Enjoy the videso too.

Cheers
 

Error executing child request for ChartImg.axd or No http handler was found for request type 'POST' and Chart control

When working with Microsoft Chart Control. You sometime get error: 1)Error executing child request for ChartImg.axd or 2)No http handler was found for request type 'POST' and Chart control For error 2 you just need to add <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVis... System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad36... validate="false" /> to the handler in your web.config Solution to ......

Error :Procedure or function has too many arguments specified

Procedure or function has too many arguments specified? When i use a stored proc and don't name it the same params as the column names i get this error. My solution was to only make sure your stored proc runs in Query Analyzer and make sure if your column name is e.g lastname then param name must be @lastname. If i use a different param name to the column name and i look at my sql profile i see this: exec pr_updategetLastMonth @doc = NULL, @do = NULL, @ipa = NULL, @cdate = NULL, @title = N'N79', ......

The type 'System.Web.UI.ScriptManager' exists in both 'System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll'

Using VS.NET 2005 i was on a project and tried using the TABS in AjaxControl kit I was sure the version was 1.0.61025.0 but anytime i compile the project i get the error : The type 'System.Web.UI.ScriptManager' exists in both 'c:\Windows\assembly\GAC_MS... and 'c:\Windows\assembly\GAC_MS... I did all i knew to add the right TAGS in web.config but ......

Ajax - Request for the permission of type 'System.Web.AspNetHostingPermission,

To resolve this issue, you must change your development machine .net security configuration since you are accessing items across the network. In the event that you need this ability at runtime, you must change the trust level in your config file to full. However, since this is only in development, I can change my local PC's security by going to Start > Control Panel > Administrative Tools > Microsoft .NET Framework 2.0 Configuration. After it fully loads (sometimes takes a bit), fully expand ......

The temp directory in chart handler configuration is not accessible

I came across Microsoft Chart Controls for Microsoft .NET Framework 3.5 I think Microsoft has made a good move on this and having looked at the samples and used it in a small project. Its See more here One error i came across was : The temp directory in chart handler configuration is not accessible And what it is when you look in to your web.config you will find this TAG in the appSettings: <add key="ChartImageHandler" value="Storage=file;Timeout... When you drag the Chart ......

Microsoft,Nokia is adopting JQuery

I came across JQuery some time back and i can say Wow !! It is a Javascript full on Library. Its great to here that microsoft will be shipping with ASP.NET MVC and will be coming with Visual Studio later you can read more here at Scott's site And as i understood you can use it together with Ajax Control Toolkit etc.. Sweet and Enjoy ......

Error Control 'ctl00_ContentPlaceHolder1_gdViewExport' of type 'GridView' must be placed inside a form tag with runat=server

In the days of asp.net 1.1 when using DataGrid and exporting to Excel i never came across this error since there was no master pages etc.. But at the same time having master pages makes life easier and at the same time some troubles. One of them is when using Ajax with GridView with a functionality to export to Excel. The error you get is "Control 'ctl00_ContentPlaceHolder1_... of type 'GridView' must be placed inside a form tag with runat=server" when clicking on your export button. After ......

Error the Web server does not appear to have the FrontPage server extensions installed- Vista

I have a development laptop and i have vista ultimate installed. So i decided to put all my neccesary day to day development tools like vs.net 2005, sql server etc.. But i get error message :- Unable to open the Web 'http://localhost/project name'. The Web server does not appear to have the FrontPage server extensions installed. when trying to create a new website project and i said to myself another microsft OS "VISTA". So next thing to do looked for a solution and i found :this . After i started ......

Enabling securityTrimming with Windows authentification

With the new Navigation controls in ASP.NET 2.0 you can easily setup security trimming with any provider you choose to use and a web.sitemap file or any other datasource you posses that can give you a menu structure. I would provide a link to a sample on the net by Scott Gu the ASP.NET guru. The samples include using both sql server and Windows Authentication But when setting up this nice and easy handy stuff there are some issues : 1)You will not see your menu listed (nothing will appear)when your ......

Full ASP.NET 2.0 Archive