This is a migrated thread and some comments may be shown as answers.
Back button
1 Answer 22 Views
This is a migrated thread and some comments may be shown as answers.
Core
Top achievements
Rank 1
Core asked on 13 Nov 2012, 08:07 PM
Hi,

         How to add a back button form the navigation bar in scroll view  based in your sample code?

Thanks

1 Answer, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 16 Nov 2012, 05:23 PM
Hello,

In order to achieve this you can set <header> section with data-role="navbar" which contains a back button. For example:

<div data-role="view" id="scrollview-home" data-title="Photo Gallery">
   <header data-role="header">
        <div data-role="navbar">
           <span data-role="view-title"></span>
           <a id="back-button" class="nav-button" data-align="left" data-role="backbutton">Back</a>
        </div>
  </header>
  //....
</div>

Regards,

Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Core
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or