Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
6740 Points
1257 Posts
Feb 24, 2012 07:50 PM|LINK
It can be a problem with the version of jQuery Mobile you are using. Is it an alpha version?
There are a few things I have noticed in your code.
- You do not need to use ViewData in this scenario. Avoid it when it is not needed. It uses Session under the hood.
- You dont need to write @: because @ blocks are automatically HTML encoded.
jerryjoseph
Contributor
6740 Points
1257 Posts
Re: How to display data within view?
Feb 24, 2012 07:50 PM|LINK
It can be a problem with the version of jQuery Mobile you are using. Is it an alpha version?
There are a few things I have noticed in your code.
- You do not need to use ViewData in this scenario. Avoid it when it is not needed. It uses Session under the hood.
- You dont need to write @: because @ blocks are automatically HTML encoded.
linkedin | twitter | www.jerryjoseph.net