Get > Button Styling in Template

5 posts, 1 answers
  1. Matt
    Matt avatar
    58 posts
    Member since:
    Jun 2009

    Posted 01 May 2012 Link to this post

    Hi,

    Could someone please look at this -

    http://jsfiddle.net/wickedw/72wLY/ 

    And tell me what I am doing wrong?

    I am trying to get the listview buttons in v1 to display as mobile style -

    1                           >
    2                           >

    Not as 

    [1]
    [2]

    Thanks
    Matt


  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 02 May 2012 Link to this post

    Hello,

    You don't need buttons in listview items. See updated fiddle: http://jsfiddle.net/72wLY/38/

    Greetings,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Matt
    Matt avatar
    58 posts
    Member since:
    Jun 2009

    Posted 03 May 2012 Link to this post

    Thanks Petyo,

    I will go down this cleaner route.

    Have you any idea why a single hard-coded <li><a data-role="button" ...></li> inside a listview gets overridden with the ' xyz                > '
    css style but this is not the case for an applied template with the same code?

    Should this be consistent or is it just an edge case we should not be using anyway?

    Thanks
    Matt
  5. Answer
    Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 03 May 2012 Link to this post

    Hello,

    It is actually a glitch (which is fixed in the latest internal builds). The whitespace was significant, and 

    <li> 
    <a href="#".... >foo</a>
    </li>


    Did not tirgger arrow appearance, while

    <li><a href="#".... >foo</a></li>

    did. 

    It turned out to be an inconvenient one, so we fixed it. Anyway, you do not really need buttons inside listview, as it exposes a click event. 

    Greetings,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Matt
    Matt avatar
    58 posts
    Member since:
    Jun 2009

    Posted 03 May 2012 Link to this post

    Thanks Petyo,

    Glad you have addressed it, it certainly confused me!! :)
Back to Top
Kendo UI is VS 2017 Ready