I'm using the Open XML SDK to work with Word 2007 templates, and the project continues to progress nicely. Now I would like to add consistent headers and footers to every document, very similar to an ASP.NET MasterPage. In particular, I'd like to compose a template document with a content document, then fill the content using the approac...
I have to find the IDs of all the contentPlaceHolders in a MasterPage.
...
I have a page layout, PeopleSearchResults.aspx programmed by someone else.
It contains the following tag for a SharePoint refine people search results control.
Title="<%$Resources:sps,RefineByTitle%>"
Where on earth/SharePoint do I look to find the string that code references?
...
How to call a javascript function on body load of a content page? As I can not use the body load of my Master page body onload in this.
...
I have a strongly typed User Control which should show a user's orders on all pages, it's included in a master page. I have an OrdersController which can give me the current orders and is used at other locations.
How do I tell the UserControl in the Master Page that it should get its Data from that specific Controller / Controller Actio...
I was looking at Blogengine.NET today and he has an interesting setup for Themes, figured I wanted to do something similar, however.. I can't make it work at all.
For each theme he has a folder like:
/themes/Indigo/
/themes/Standard/
/themes/Mobile/
Each theme contains a site.master and they all have their own codebehind that looks ...
Hi,
I have a virtual directory inside of my main virtual directory in IIS.
can i reference the parent application and reference its master page? If yes, how?
...
Can we run an application developed for IIS 5.0 to its higher versions i.e. IIS (5.1, 6.0, 7.0)?
...
Hello all,
Somebody please help me how to place the content page in center of the page.I am trying to do using css class but content doesn't have css property.In my application when i am clicking on LOGIN DETAILS , that page should open in the center but opening under the menu item.
Here is my code:
...
Style sheet in master page is not working for one web page of asp.net application but it works for another web page.
...
of course please tell me that css is better and faster or master pages for web layout and graphic design .
...
I'm building a new website and want to use Ajax controls.
Do I need to put a ScriptManager control on both the MasterPage and on each content page? or Just on the MasterPage?(or just on the content page?)
...
I'm trying to rebuild a site using masterpages. I copied the markup of the controls in the old page and placed them in the content place holder in the new page(in source view).
Since they were absolutely positioned the controls do not stay inside the content place holder in design view. Everything is between the content place holder...
I know I can access the head section of a page which uses a masterpage programmatically this way (in code behind):
This is only an example (I'd like to insert scripts and styles etc.):
this.Header.Title = "I just set the page's title";
Is there a simple way to do this in a declarative way on in the aspx file itself?
Sometimes it wo...
Hi
I'm learning ASP.NET using a great Sitepoint book, and I'm also learning more about CSS. I'm undecided on how useful Master Pages are. Could someone let me know whether the real world use mater pages - and if they don't what do they do?
Cheers
Mike
...
After converting an ASP.NET webform (v3.5) to use a master page, I started getting a strange Javascript error.
The content page has a block of javascript. Here it is:
<script type="text/javascript">
var attCount = 0;
function CreateAttachmentControl() {
var newAtt = document.createElement('span');
var newAttN...
Hi, I am trying to enable the search bar on my default master page. In the source code of the master page there is the following:
<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
<SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
</asp:ContentPlaceHolder>
In the render of the page in design...
Okay, so we all know about changing a master page dynamically in a page's OnPreInit event.
But what about a nested master page? Can I change a master's master?
There is no OnPreInit event exposed in the MasterPage class.
Any ideas?
...
I have a master page that adds the jquery library via a registerclientscriptinclude:
Page.ClientScript.RegisterClientScriptInclude(this.GetType(),
"JQuery",
Page.ResolveUrl("~/Scripts/jquery-1.2.6.min.js"));
In a page that uses that master page I want to include a script that depends on jquery:
Page.ClientScript.RegisterCli...
I'm getting a stack overflow when tryin to set a public property in a MasterPage from an ASPX page.
I'm making a "greeting card" editor, using a TabContainer. Each tab has a user control, and everything is updated when active tab is changed - while doing so I need to store all the data away in master page properties.
From the ASPX pag...