Master Page Customize Apperance - master-pages

Does anyone know if it is possible to change the zoom on a ASP.NET master page? I have a gridview on a separate page that doesn't fit in the content area and figured that if the master page was zoomed out, the page would fit.

Related

ASP.NET MVC: How to keep page without Layout in MVC Area

I have MVC 4 area and one of the view in this area needs not to use Layout page.
I am using _Viewstart in main application as well as area directory both.
Now, In page level, I have already applied Layout = null though Layout is applied. Even, I Layout=null apply in area Viewstart file though it appears.
Please help here. How to keep page without layout in area.

Popup with overlay, popup fill window?

Would like to use a popup(jquery mobile) with content and make it fill the screen. Also with overlay.
Like this, scroll down to bottom, Overlay set to A button.
http://jquerymobile.com/branches/popup-widget/docs/pages/popup/index.html
But I want the popup to fill almost the entire screen. This should act as a new page but be filled with ajax content, I will fix this later...
How can I do this?
jQuery Mobile will not size a popup or dialog larger than needed to contain the rendered content. If you really want to fill the page, go with a new page. Consider transitioning to a new page with a pop transition instead.
http://jquerymobile.com/demos/1.2.0/docs/pages/page-transitions.html
You might also consider a dialog as it obscures the underlying page content
http://jquerymobile.com/demos/1.2.0/docs/pages/dialog/index.html

Layout pages doesn't inherit master page in SharePoint 2007

I have a site in a site collection.
I have modified the master page of my sub-site to have a fixed width of 960px. This is working fine for all the pages, lists, libraries except for in-built layout pages, for example, on click of 'All Site Content', the page is occupying the full size width instead of 960px.
How can i fix this issue..
The content displayed in View ALl site content is using Table , TH,Tr, TD structure to display data and it has width set as 100% by defualt.
So if you want to provide the fixed width of 960px then you have to change that setting using Sharepoint designer.
Correct me If I am wrong in this.
One More thing if you have your own custom master page then you have to apply it to the application pages also.
Goto Siteaction > Site Settings > Under Site Master Page Settings click Master Pages
If you have your custom master page then apply it in "System Master Page" section
Thanks

jQuery Mobile and MVVM challenges

I am having some challenges trying to use JQM and MVVM. I am also trying to use knockout.js too.
For example, currently I am trying to implement a navigation similar to the iOS page control(the little dots indicating you can swipe to navigate to the next page):
The data to be displayed is fetched from the server and it needs to be displayed in JQM pages. So the JQM pages need to be created dynamically.
From the UI perspective, I plan to use a fixed footer containing the dots(based on the number of pages).
The problem is with the view-model which needs to persist between the JQM pages, as I do not want to load data from the server by page, data is loaded at once and it is expected that the client will display it in pages.
I could have a view-model holding the data and living through-out the life of the application and just bind each page view to it.
Instead, I want to keep the view-model alive as long as it's really required by the view.
The solution I am thinking is to catch jQueryMobile page navigation events and see if the navigation is between these pages.
If it's not, the view-model should be removed(assigning it to null).
Next time if any of these pages needs to be loaded(for example by navigating back to the last page), the view model is re-created(data is fetched from web-site again).
Is there a better approach?
You should have a look at the Persistent Footers page on the jQueryMobile documentation.
Why don't you try the JQM pagination plugin along with the persistent footer #calavoow mentions?
That would give you dragable JQM pages with a set footer.

how to position partial view in asp.net mvc through java script?

i am using partial view for my project but my problem is that my links are on right side of masterpage and when i clicked on particular link the view should displayed on left side on contentplace holder of master page. but right now its showing exactly below so my whole disgne is distrubed.
how to position partial view in asp.net mvc through java script?
so please if anyone know the solution tell me.
thanks
Do you basically mean your HTML is not set to allow the Content on the left, and the Menu on the right?
Maybe you would benefit from a CSS Layout Template? Put the Content placeholder in large column, and the menu PartialView in the side bar.
It might be a problem with your page CSS. Look at your styles for "Float" 's. If you want your content to be to the left of your page, surround your contentPlaceHolder with a div tag and add a "float:left" style to it.
If that doesn't work it might be your view is wider than your master page design is set up for. So it will pop below every other page element to fit on your page!
This is not realy asp.net mvc specific but html. You will have a better chance to solve your problem if you tag your question as html and css.
You can just save the source (I mean the rendered source from within the browser) of the page that doesnt display properly with the extension html in the root of your web. Then start playing with the html.
Request the page by calling http://yourserver/yourpagetodebug.html.

Resources