1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / disabled="disabled" on anchors

disabled="disabled" on anchors

3 posts, 0 answered
  1. Milkman Dan
    Milkman Dan avatar
    14 posts
    Registered:
    11 Mar 2008
    30 Apr 2008
    Link to this post
    I'm working with the Events/ContentViewItemList.ascx user control and I've found that the paging feature adds a "disabled" attribute to the anchor for the current page. Of course, these should be rendered as spans. Besides that, the disabled attribute is not validating as XHTML 1.0 Transitional on an anchor tag.

    I'm unable to locate where this logic lives or any way of overriding the behavior. Is there a workaround that will give me some type of control over how those elements are rendered? I'm also getting the "sf_PagerSelItem" class on these, I'd love to be able to change this as well.

    -MD
  2. Milkman Dan
    Milkman Dan avatar
    14 posts
    Registered:
    11 Mar 2008
    30 Apr 2008
    Link to this post
    Correction, it will validate but I'd still like a workaround for usability purposes. Thanks.
  3. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    01 May 2008
    Link to this post
    Hi Milkman Dan,

    the reason we use it as an attribute with a value is because it is the ASP.NET that sets this value dynamically (based on the current page) and it is impossible to do it differently. However, we get your point about wanting more control and flexibility in this area, so we'll log this as a feature request (specifically ability to set the template of how you want the current page to be rendered on the page).

    Thank you for bringing this issue up.

    Sincerely yours,
    Ivan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
3 posts, 0 answered