Rank: Member
Joined: 10/30/2004(UTC) Posts: 26
|
Hello all-
I am trying to use some AJAX functionality in a Category Template I have created. Specifically, I want to use Hover Menu and UpdatePanel (Partial-Page updating). In the past i would normally use the MS ASP.NET AJAX implementation with the AJAX Toolkit. I tried to do this within the BVC5 application in my category Template but to no avail. This AJAX implementation requires you place a ScriptManager tag outside the ContentTemplate tags on any page you want to use AJAX tags, which in my case meant putting it in the default.master page. I then placed an 'UpdatePanel' tag on my category.aspx page. When I run it, I get a message saying it does not see the 'ScriptManager' tag on the page. My understanding of master pages is that at runtime the master page and the aspx page calling it are combined.
I would prefer to make ASP.NET AJAX work with BVC5 if anyone knows how I can do this, otherwise is Anthem just as easy to implement and how would I use it?
Any guidance would b appreciated.
Thank you, -Grant |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Grant,
ASP.NET Ajax was still in beta when we launched BV Commerce 5. We went with Anthem which is easy to use and provides great AJAX functionality. Anthem has update panels too and I would encourage you to try Anthem first before trying to merge ASP.NET ajax into BV Commerce 5 and make it work along with Anthem.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
Regarding script manager on the masterpage, there are several hits in the ASP.NET fourms, http://forums.asp.net/search/SearchResults.aspx?q=masterpage+scriptmanager&o=Relevance Regarding Anthem.NET, there are several articles on how to use Anthem, including these 3 on CodeProject, http://www.codeproject.com/Ajax/IntroAjaxASPNET.asphttp://www.codeproject.com/Ajax/AnthemNET.asphttp://www.codeproject.com/Ajax/AJAXAutoSuggest.asp I host a samples page which may give you ideas, http://anthem.talloaksoftware.com/ Most of what I have read concludes that Anthem.NET is much easier to use than ASP.NET AJAX, but ASP.NET AJAX has more potential (better framework for building custom controls and better integration with Visual Studio). Unfortunately Anthem.NET does not have the equivalent of HoverMenu. |
|
|
|
|
Rank: Member
Joined: 4/2/2007(UTC) Posts: 2
|
Hi Marcus and Andy-- Do you have any thoughts on how to add Drag and Drop capabilities? That seems pretty far beyond Anthem. Here is a post that describes a few ways to implement Drag and Drop: http://blogs.ittoolbox.c...y-to-your-web-sites-9175Maybe one or two look more promising? Thanks! Chris
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
I think Anthem isn't so much an Ajax library, like Prototype, Scriptaculous, jQuery or MooTools (all of which I've experimented with in BV). It's more of a framework or collection of controls that add basic Ajax functionality to .Net. I haven't seen a lot of 'effects' in Anthem, though, like drag and drop.
I've used Anthem in conjunction with Prototype/Scriptaculous in BVC5 for certain effects and modal boxes; I might be wrong, but you could probably do the same to add drag and drop functionality. |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
You are right that drag-and-drop is beyond the core Anthem.NET library.
I think Yahoo User Interface Library and Anthem.NET work very well together. I use YUI drag-and-drop in my Shipping Rate Provider Suite to handle the context sensitive help (although I don't record the drop position). I also used YUI for the AutoComplete mashup in the Anthem Extensions sample (see the samples web site I quoted earlier). |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.