Solved

Is asp:History control built-into ASP.NET 3.5?

Posted on 2008-10-26
5
813 Views
Last Modified: 2013-11-08
Hi, I just installed .NET framework 3.5 successfully and per microsoft asp:History control is built-into ASP.NET 3.5, now I tried to add that control tag to our application but I got a runtime error says that "Unknown server tag 'asp:History'" .
I think I missed a step like adding reference to a dll, can you help please.
By the way I'm using VS 2005.
0
Comment
Question by:Abdu_Allah
5 Comments
 
LVL 16

Assisted Solution

by:ororiole
ororiole earned 200 total points
ID: 22810737
Teh History control was around during some preview versions of 3.5, but now is incorporated in the ScripManager control:
            <asp:ScriptManager ID="ScriptManager1"  EnableHistory ="true" runat="server">
            </asp:ScriptManager>
Here is some more detail:
http://dotnetslackers.com/articles/aspnet/AFirstLookAtASPNETExtensions35HistoryPoints.aspx

You will aslo need to be sure your web app is ajax enabled.
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 50 total points
ID: 22810934
Hi,
I think you need to install .NET 3.5 Service Pack 1.
0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 22811448
oroiole:
I got the error:"Type 'System.Web.UI.ScriptManager' does not have a public property named 'EnableHistory'.

0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 22811454
I already installed NET 3.5 Service Pack 1.
0
 
LVL 37

Accepted Solution

by:
samtran0331 earned 250 total points
ID: 22813812
>>I think I missed a step like adding reference to a dll, can you help please.
>>By the way I'm using VS 2005.

Having the .Net 3.5 framework on the pc is not enough
The Ajax History is part of of Ajax.Net 3.5....by default VS2005 is using Ajax.Net 1.0 and all your references in the web.config are pointing to Ajax 1.x.

Ideally, the least problematic route would be to upgrade your application from VS2005 to VS2008 and then upgrade the Ajax components too...
http://msdn.microsoft.com/en-us/library/bb907623.aspx

While it might be possible to continue using VS2005 with the new Ajax 3.5.....(this post says you can change the web.config:
http://forums.asp.net/t/1238861.aspx ) ...I really wouldn't try it...it sounds too much like a hack and any issues that come up are going to be less documented and harder to track down and fix...
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Javascript in a user control not working 17 53
Problem to go to Web page 2 52
Limiting string to two deciamls 18 34
Get String split 5 33
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now