• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Andy Miller
#21 Posted : Monday, February 11, 2008 1:46:01 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: "Cliff" Go to Quoted Post

I have a difficult time working with/around Anthem, probably because I don't completely understand how to customize it in separate scripts.
That's because the documentation sucks!


That, and because Anthem is not an API like jQuery.



Anthem tries to be drop-in replacements for the ASP.NET controls. I think it does that pretty well, but it suffers from a poor customization story (inherited from the poor customization story in the standard controls).



Here's what Anthem wants to be:



1. Take a WebForms page that is working well…



&lt;asp:GridView id="grid" runat="server"&gt;blah blah&lt;/asp:GridView&gt;

&lt;asp:Button id="button" runat="server"&gt;blah blah&lt;/asp:Button&gt;



2. Change "asp" to "anthem" and you have Ajax!




&lt;anthem:GridView id="grid" runat="server"&gt;blah blah&lt;/anthem:GridView&gt;

&lt;anthem:Button id="button" runat="server"&gt;blah blah&lt;/anthem:Button&gt;



That's it. That's all Anthem wants or tries to be. It will never do anything more. If this is what you need, then Anthem is a much better solution than MS Ajax, which tries to be this (but kind of fails because it does not support all the controls) and a little bit more (but not enough to be really useful).



If you want to add drag-and-drop panels, or lazy loading, etc., then you have to use something additional.



All of my BVC5 use a combination of Anthem and YUI. I like the simplicity of "ajaxifying" the controls (it literally takes 2 seconds) combined with the shiny stuff that I get from YUI.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Cliff
#22 Posted : Monday, February 11, 2008 2:10:01 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Originally Posted by: "Andy Miller" Go to Quoted Post
All of my BVC5 use a combination of Anthem and YUI. I like the simplicity of "ajaxifying" the controls (it literally takes 2 seconds) combined with the shiny stuff that I get from YUI.


Do you know of any examples? I think that's where I run into the most issues, trying to tap into what Anthem is doing, or trying to find a smart way to avoid Anthem affecting what I'm trying to do with MooTools or something. That, and my js skills are relatively primitive.
matthewtlh
#23 Posted : Monday, February 11, 2008 10:38:50 PM(UTC)
matthewtlh

Rank: Member

Joined: 5/10/2007(UTC)
Posts: 29

My product pages were switched to Telerik's AJAX. It seems a bit limited and specific, but it apparently can be done.

I do like the drag and drop sorting that I referenced at the beginning of this thread, but I'd be happy if I could just re-number the product order ala netflix queue

OK...that's it for me on this issue.
::matthew


ARCmotiv.com

Cliff
#24 Posted : Monday, February 11, 2008 11:24:13 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Adding numbering in, say, SP4 would be great, or at least a button to send to the top.
Andy Miller
#25 Posted : Tuesday, February 12, 2008 3:34:08 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: "Cliff" Go to Quoted Post


Do you know of any examples? I think that's where I run into the most issues, trying to tap into what Anthem is doing, or trying to find a smart way to avoid Anthem affecting what I'm trying to do with MooTools or something.
If you install my Shipping Rate Rule Providers or USPS Shipping (alpha/beta), you will see several examples of how I combine Anthem with YUI.


The providers use several Anthem.GridView controls to display the rules, YUI Dialog (import/export) and YUI Panel (context help). Probably more, but those are what I remember.



USPS Shipping again uses Anthem.GridView and Anthem.MultiView with YUI ToolTips (inside the GridView so the YUI ToolTip is updated each time the GridView is paged, etc), YUI Panel (callback busy, help), and some more that I forget. All the styling is YUI CSS, including Reset to set everything back to a base line, YUI CSS Grids to establish the layout, and several of the control specific SAM styles to give everything a consistent look.



In a few cases, I created my own derivatives of Anthem controls that spit out YUI compatible HTML (mostly the right CSS classes to work with YUI CSS).
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
2 Pages<12
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012