Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Sørensen 7 posts 27 karma points
    Oct 07, 2009 @ 11:37
    Thomas Sørensen
    0

    Creating Usercontrol that uses Ajax ?

    Hello I have just installed Umbraco for the first time, and have started playing around with custom UserControls..

    My question is, how do I create a UserControl that implements basic Ajax functionality?

    I have tried to create a basic UpdatePanel with some controls, and it works very well if I test the control inside VisualStudio, but if I try to use it in Umbraco is give me a error:

    System.Web.HttpParseException: The server tag 'asp:UpdatePanel' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix. at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser.Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at 

    Can someone point me in the right direction ? I have tried google, but I can’t find anything :/

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Oct 07, 2009 @ 11:54
    Aaron Powell
    0

    I'd say you're using .NET 3.5 for your project. Umbraco is designed to only use .NET 2.0 + the ASP.NET AJAX 1.0 extensions.

    Try using the .NET 3.5 config file, you can download it here: http://umbraco.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23321#DownloadId=70203

  • Thomas Sørensen 7 posts 27 karma points
    Oct 07, 2009 @ 13:02
    Thomas Sørensen
    0

    It works perfectly now !

    Thank you very much J

Please Sign in or register to post replies

Write your reply to:

Draft