This is a migrated thread and some comments may be shown as answers.

Problems with nav title

2 Answers 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mat-Moo
Top achievements
Rank 1
Mat-Moo asked on 02 Feb 2013, 09:56 PM
I'm going mad trying to set the nav title of a page. I have a page of buttons that loads a view and displays a generated selection of other buttons depending on the first button selected. e.g.
 <li><a href="#tabstrip-knowledge-general" class="arrow" data-role="button" data-title="Title1" data-click="do_buttons" data-var="controls">Title1</a></li>
<li><a href="#tabstrip-knowledge-general" class="arrow" data-role="button" data-title="Title2" data-click="do_buttons" data-var="controls">Title2</a></li>
<li><a href="#tabstrip-knowledge-general" class="arrow" data-role="button" data-title="Title3" data-click="do_buttons" data-var="controls">Title3</a></li>
So my #tabstrip-knowledge-general page is generated based on the option selected but I just can't seem to set the pag title. I've tried storing the title to a var and use view.init  view.show etc. to set the title, but after it' set once I can't seem to get it to change ever again.

Also if I change the data-value of a keno button again it never refreshs when I try to use it. Kendo seems to init button and store all this data locally so when you update it, it never updates the kendo stored one.

2 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 04 Feb 2013, 11:03 AM
Hi Mat-Moo,

Here is a JSbin sample to demonstrate dynamic Kendo Mobile view and ListView.

Hope this is what you are trying to do?

Greetings,
Jordan
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Mat-Moo
Top achievements
Rank 1
answered on 04 Feb 2013, 11:21 AM
Looks good, although seems a very long winded way of doing something that seems so simple ;) I'll try it out and let you know.
Tags
General Discussions
Asked by
Mat-Moo
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Mat-Moo
Top achievements
Rank 1
Share this question
or