pagelayout

MapScale not being persisted properly in mxd when programmatically changed outside of ArcMap environment

I am trying to change the scale of a map in an mxd OUTSIDE of ArcMap in a standalone Windows application. The problem is the scale is never persisted - the best code I have come up with is the following: private void UpdateMapScaleInMxd(double scale, string mxdFullPath) { IMapDocument mapDocument = new MapDocumentCl...

How to find the Web User Control (i.e. .ascx) used on the page layout in sharepoint site

Hi, I need the list of all the user controls(i.e. .ascx) used through out the site in sharepoint. This can be done in Site Content and Structure by selecting any page layout in the Master Page Gallery and by clicking on the Show Related Resources link. I want to know whether there is any sharepoint API available for this functionality...

Advice on Website Programming

Possible Duplicate: What should a developer know before building a public web site? Hi All, Im about to start building a website. It will basically be a simple dating site. I am a .net programmer (strong vb) with vast experience in application programming including winforms and silverlight. Now crossing over to website devel...

SharePoint - Set custom publishing page layout custom field programatically

I have a custom publishing page content type, based on the Publishing Article Page content type. On this content type, I have a custom field named "PageContentCategory". In my code to create new pages, I tried this: PublishingPage newPublishingPage = this.currentPublishingWeb.GetPublishingPages().Add(pageName, newPageSelectedLayout); i...

Can ReSharper properly parse SharePoint layouts?

I am creating a SharePoint 2010 feature in Visual Studio 2010. While ReSharper is a valuable tool for writing code, it reports lots of errors (all server-relative image references, master page reference, ContentPlaceHolderID's referring to the master page and so on) in .aspx layout definitions. I had to exclude the master page from ReSha...

Order of CSS and Script Calls in a aspx page

Is there any specific order in which the external CSS or Scripts should be called in a aspx page which could help a bit in decreasing the page load time? i.e script type="text/javascript" src="../Includes/JavaScript/jquery.ui.tabs.js" link href="../Includes/css/ui.all.css" rel="Stylesheet" type="text/css" or link href="../Includes...