First Character Capital in Universal viewer with custom query

ANKIT MISTRY asked on March 5, 2014 02:12

Hello,

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. Ankit

Recent Answers


Petar Kozjak answered on March 5, 2014 06:12

Hi,

in your transformation use <%# IfCompare(Eval("MenuItemName"), "IPhone", Eval("MenuItemName"), "iPhone") %>

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on March 5, 2014 12:22

Not sure I'd use Petar's suggestion as a permanent fix although it will work. I'd take a look at your styles and see if there isn't some thing modifying it there. If there is a style in place, remove it and make the user use the proper capitalization when entering the data.

Also take a look at your raw data and query to ensure that isn't modified.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.