I am wondering in MVC(ie 3) + Razor, could we make partial view have the same effect as iframe? For example right side scroll bar, fixed height, etc.
Thanks a lot!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can make use of CSS
overflow,overflow-yandoverflow-xproperties to achieve the points you gave examples for (right side scroll bar, fixed height), making sure to include aheightstyle or evenwidthif required.The possible values for the overflow properties are
So I guess your Razor markup would look something like this
Further explanation at css tricks or w3schools