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

Set title in show-before doesn't work

6 Answers 19 Views
NavBar
This is a migrated thread and some comments may be shown as answers.
axel
Top achievements
Rank 1
axel asked on 08 Nov 2015, 01:30 PM

Hello,

since 2015 Q3 i cannot set the title in a show-before function.

example

With 2015 Q2, it works as expected.

 

 Kind regards

 

6 Answers, 1 is accepted

Sort by
0
axel
Top achievements
Rank 1
answered on 08 Nov 2015, 01:39 PM

http://dojo.telerik.com/iBOHU

I'm probably too stupid for it...

0
Petyo
Telerik team
answered on 09 Nov 2015, 04:12 PM

Hello axel,

 

sorry for the inconvenience, we made some changes in the navbar title logic and it seems to have broken your approach. You may use the after-show event for that purpose.

 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
axel
Top achievements
Rank 1
answered on 09 Nov 2015, 06:47 PM

Hi Petyo,

I'm sorry, but after-show is not a good solution if you have several views. The transition appears choppy.

http://dojo.telerik.com/afAbu

best regards

axel

0
Petyo
Telerik team
answered on 10 Nov 2015, 03:36 PM

Hello axel,

 

you can do something like this.

 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
axel
Top achievements
Rank 1
answered on 10 Nov 2015, 04:31 PM

I'm sorry that I'm so fussy, but when different views have the same title, it flickers.

http://dojo.telerik.com/umIJA

But it's better than before in any case.

Thanks for your help

 
0
Petyo
Telerik team
answered on 12 Nov 2015, 08:29 AM

Hello axel,

 

yes, unfortunately this is so. There is not much to do here, I am afraid. The behavior you observe is related to the auto-title-fetch behavior of the navbar (and to its auto-hiding implementation). In general, the view title should be specified via the data-title attribute of the view, with the manual method call being the exception. 

 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
NavBar
Asked by
axel
Top achievements
Rank 1
Answers by
axel
Top achievements
Rank 1
Petyo
Telerik team
Share this question
or