Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am building a ASP .NET MVC2 application. I want to make the UI such that the application is able to auto adjust the UI resolution(size) based on the client's monitor or other display device(Mobile,Tabs). How can i do that???

The UI will be containing the data controls and some content.

I am new to UI design.Please help me in finding in solution......
Posted

For Responsive Design you have to use Bootstrap as your UI template.
So I have written an article about How to use Twitter Bootstrap with Asp.Net MVC.You can check that for get basic knowledge about how to integrate TBT with MVC.

How to use Twitter Bootstrap with Asp.Net MVC

For more about Bootsrap : Getting Started Bootstrap

I hope this will help to you.
 
Share this answer
 
v3
Comments
Nkumary 16-Oct-13 2:50am    
Thanks i will check it out...
Sampath Lokuge 16-Oct-13 4:54am    
Glad to hear that it helped.If you feel this is the solution,Accept it as an answer.It'll help for the user who will have the same problem in future.
Nkumary 28-Oct-13 8:22am    
Dear Sampath from my searches i have found two approach for my problem.
First is that i use the Twitter bootstrap as told by you, and thanks for that.
Second i can go for Open source Media queries package which helps in Responsive design.

I am bit confused and would like to know which approach is more flexible and simple.
Sampath Lokuge 28-Oct-13 8:28am    
Yep,Actually When you use TBT its inbuilt having that media query feature. So you don't worry about that.When you use TBT,You'll have lots of other inbuilt features which will help for you in future.So my strong feeling is use TBT.
Sampath Lokuge 28-Oct-13 8:38am    
And also its very easy to use and maintain :)
 
Share this answer
 
Comments
Nkumary 28-Oct-13 8:21am    
Dear JoCodes from my searches i have found two approach for my problem.
First is that i use the media queries as told by you, and thanks for that.
Second i can go for Open source Twitter Bootstrap package which helps in Responsive design.

I am bit confused and would like to know which approach is more flexible and simple.
JoCodes 29-Oct-13 0:48am    
Bootstrap internally uses Media Queries only. As Sampath has pointed out you can leverage the use of a framework and its capabilities if going for TBT as well as fast development.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900