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 :/
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 :/
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
It works perfectly now !
Thank you very much J
is working on a reply...