Solved

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

Posted on 2008-10-26
5
817 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

896 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

11 Experts available now in Live!

Get 1:1 Help Now