Design and CSS styles
Version 6.x > Design and CSS styles > First Character Capital in Universal viewer with custom query View modes: 
User avatar
Tankit.mistry-gmail - 3/5/2014 1:39:29 AM
First Character Capital in Universal viewer with custom query

In my site i am facing below issue:

I am using "Universal viewer with custom query" in which all the main menu item are starting with first letter capital. Foreg, i have one main menu item for iPhone i have wrote it as "iPhone" then also it shows "IPhone" i have tried may other words but same issue first letter of a word shows capital.

Can you please help me in this.

Thank You.

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 3/5/2014 1:58:14 AM
RE:First Character Capital in Universal viewer with custom query
Hi Ankit,

Thank you for your message.

First of all I would like to point out that the Forums are obsolete and they will be locked soon, please post your question to a Question and Answers section.

Regarding your issue - I was unable to reproduce it on my instance. I was testing it on our sample corporate site under Examples -> Web parts -> Listing and viewers -> Custom query -> Uni. viewer with custom query.

This query is displaying basically the menu structure. Once I went to some page, lets say Partners and then went to Form tab and changed the letter to be low case and saved the uni viewer displayed it correctly. I dont see any reason why it would convert the letter to upper case.

The default transformation is using this to get values:

<%# HTMLHelper.HTMLEncode(Convert.ToString(Eval("MenuItemName"))) %>

I recommend you to try this on our sample corporate and see how it works. If you are able to reproduce it there, please let us know.

Kind regards,
Richard Sustek