I want to add a calendar to my Default.aspx. How is this done? My first try was:  &lt;asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" EnableViewState="False"&gt;  &lt;WebPartPages:WebPartZone runat="server" FrameType="Default" ID="full" Title="loc:full" WebPartVerbRenderMode="TitleBar"&gt;     &lt;WebPartPages:XsltListViewWebPart runat="server"         ListUrl="Lists/Calendar"         IsIncluded="True"         JsLink="clientTemplate.js"         NoDefaultStyle="TRUE"         PageType="PAGE_NORMALVIEW"         Default="False"         ViewContentTypeId="0x"&gt;     &lt;/WebPartPages:XsltListViewWebPart&gt; &lt;/WebPartPages:WebPartZone&gt;     However this way causes my calendar to come out a jumbled mess. How can I properly add a calendar to my Default.aspx? Thank you!
123803
I am attempting to add a calendar to my Default.aspx in my sharepoint hosted add-in in visual studio. I used the default code-snippet for adding sharepoint lists. Here's what I added to my Default.aspx:    &lt;WebPartPages:WebPartZone runat="server" FrameType="Default" ID="full" Title="loc:full"&gt;     &lt;WebPartPages:XsltListViewWebPart runat="server"         ListUrl="Lists/Calendar"         IsIncluded="True"         JsLink="clientTemplate.js"         NoDefaultStyle="TRUE"         PageType="PAGE_NORMALVIEW"         Default="False"         ViewContentTypeId="0x"&gt;     &lt;/WebPartPages:XsltListViewWebPart&gt; &lt;/WebPartPages:WebPartZone&gt;     and this is the result...    Pretty dang ugly if you ask me. How can I get this looking like a normal share point calendar instead of an unusable mess?  Thank you!
114280
Is it possible to disable drag and drop event in SharePoint calendar? I looked all available properties in SPCalendar control but I didn't find any.   Rendered Javascript has a parameter in factory class which control this behavior but not sure if I can access it through code behind or Javascript:  SP.UI.ApplicationPages.CalendarContainerFactory.create(document.getElementById('ctl00_m_g_67e2a6e7_070b_4dbd_8082_cdb772ec594e_ctl00_ctl01_ctl00_ctl00'),{ctxId:'WPQ1',dataSources:[{id:'00000000-0000-0000-0000-000000000000',name:'',color:'',formUrl:'\u002fLists\u002fCorpCalendar\u002fDispForm.aspx',primary:true, **disableDrag:true**}],userInfo:{current:{id:'27',loginName:'ACME\\Test',displayName:'Test',email:'Test@acme.com'}},enablePeople:false,enableResource:false,usePostBack:false,canUserCreateItem:true,sharedPickerClientId:null,reservationContentTypeId:'0x0102004F51EFDEA49C49668EF9C6744C8CF87D',aM12String:'12:00 am',serviceUrl:'\u002f_layouts\u002fCalendarService.ashx'},'day','',[{"Options":41,"Table":null,"DatePicker":null,"Dates":["12/12/2011","12/13/2011"],"RangeJDay":[150094,150094],"Navs":null,"Items":{"Data":[[0,1,2,150094,150094,3,3,4,5,12,0,30,0,0,0,2,6]],"Strings":["1158","Test Meeting","","12/12/2011","12:00 pm","12:30 pm","0x7fffffffffffffff"]}}]);    Thanks in advance.
29625
I have a requirement to change the Top bar titles for my team site and community site. For example I need to change the “Page” to be “Page options”.so from where I can change these titles.? Second question I have three different types of lists inside my team site, and each list have a Page tab, so can I change the title per list, or I only can do this for the whole site. As inside the document management library  I want the Page to be “Document library options”, and for the announcement list I want it to be “Announcement Options “instead of being “Page” for both.    EDIT I have created the following script insde my Style library folder:-  $(document).ready(function(){$("#Ribbon\\.WebPartPage-title span").first().html('PAGE OPTIONS'); $('.ms-cui-tts').click(function() {     $('#Ribbon\\.WebPartPage-title span').first().html('PAGE OPTIONS');  }); $('#Ribbon\\.WebPartPage-title a').click(function() {         $('#Ribbon\\.WebPartPage-title span').first().html('PAGE OPTIONS');});  });   then i reference the script inside my master page as follow , before the  tag :-  &lt;script  type="text/javascript" src="/sites/Intranet/Style Library/JS/changetitles.js" &gt;&lt;/script&gt;  &lt;/head&gt;   But it did not chnage the title ?
74078
I saw the answers to a , but the accepted answer won't take effect in a KOMA-script class.   \usepackage{lastpage} ... \cfoot{\thepage\ of \pageref{LastPage}}    I am using scrartcl and lastpage. The default page numbering is just the page number itself. I want it to be currentPage / totalPages. How do I modify it?
52925
I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but am learning.   I would like to know if SPService/jQuery will allow me to use the aspx control to upload a single document to a library? I have seen plugins out there for multiple file uploads so I assume this is possible, but all of these seem way to much for what I am trying to do, and I would like to learn how to do it.  Does anyone know if this is possible? Could provide simple example or explanation or reference?  Appreciate it as always!
7928
I wanted to add custom JavaScript code on certain nodes. I have written this code in the html.tpl.php template, but this doesn't work. (donate is the path alias for a node.) &lt;?php if(arg(0) == 'DONATE'): ?&gt;   &lt;script&gt;     (function() {       // ...     );   &lt;/script&gt; &lt;?php endif; ?&gt;
85664
Is it possible to add a node reference field using the  module?  If it is, how can I add it in my webform?
108221
Is it possible to add or edit multiple records on a custom VF page? For the example below, if lineItemList return fewer than 10 records, I would like to render blank inputfields for insert of new records. The way I have it set now, it will only render as many inputfields as existing records. As always, any help is appreciated.   Page:  &lt;apex:page standardcontroller="Resourcing_Plan__c" extensions="MultipleLineItemsController"&gt;     &lt;apex:form &gt;         &lt;apex:pageBlock &gt;         &lt;apex:pageBlockSection &gt;             &lt;apex:outputPanel &gt;                 &lt;apex:outputField value="{!rp.name}"/&gt;                 &lt;apex:pageblocktable&gt;                     &lt;apex:repeat value="{!lineItemList}" var="a"&gt;                         &lt;tr&gt;                             &lt;td&gt;&lt;apex:inputField value="{!a.Resource_type__c}" /&gt;&lt;/td&gt;                             &lt;td&gt;&lt;apex:inputField value="{!a.Weekly_commitment_fte__c}"/&gt;&lt;/td&gt;                             &lt;td&gt;&lt;apex:inputField value="{!a.Area_of_Expertise__c }"/&gt;&lt;/td&gt;                         &lt;/tr&gt;                     &lt;/apex:repeat&gt;                 &lt;/apex:pageblocktable&gt;             &lt;/apex:outputPanel&gt;         &lt;/apex:pageBlockSection&gt;         &lt;/apex:pageBlock&gt;     &lt;/apex:form&gt; &lt;/apex:page&gt;   Controller:  public with sharing class MultipleLineItemsController  {     public resourcing_plan__c rp {get;set;}     public list&lt;Resource_plan_line_item__c&gt; lineItemList{get;set;}     public MultipleLineItemsController(ApexPages.StandardController controller)      {         controller.addFields(New String[]{'name'});         rp= (Resourcing_Plan__c)controller.getRecord();         lineItemList=[select Resource_type__c, Weekly_commitment_fte__c,              Area_of_Expertise__c from Resource_plan_line_item__c where              Resourcing_Plan__c=:rp.id limit 10];         } }
801
I want to create and deploy a web part as web-scoped feature.  In Visual Studio 2010, when I make the feature scope=web, I cannot add the webpart to that feature as I am able to do when scope=site.
96199
I often find myself wishing SO supported drag and drop. For example I drag a tag to my favs and it would add it, or when searching by tag I would like to drag the tag to the search box and get [asp.net] added in the search box.   Does it make sense to add this feature or is it just too much work for so little use?
75846
We are using a SharePoint team calendar for vacation form approvals. The default values for new events Start Time and End Time defaults to the next full hour, example 5:00 PM to 6:00 PM, when entering a new item at 4:44 PM.  Is it possible to set the default value for the start time to 8:00 AM and end time to 5:00 PM, but still keep the current, today's date?   We are using SharePoint 2010. I was able to find , but it does not provide the solution I was hoping for + doesn't work for modal windows.   Any help is appreciated.
30196
I have two date fields on my Visualforce page and on occasions the datepicker/calendar pops up upon page load. I understand one way to prevent this is to use javascript as suggested below:  &lt;input id="hiddenElementId" type="hidden" /&gt; &lt;script type="text/javascript"&gt; window.onload = setFocus function setFocus() {          document.getElementById("hiddenElementId").focus(); } &lt;/script&gt;     However this post is pretty old now, is this still considered the best way to do this?
98152
I am trying to customize a Sharepoint 2013 team site.  I created a copy of seattle.master and set it as default master page via context menu.  I added my custom CSS within head tages like so:  &lt;SharePoint:Scriptlink runat="server" Name="https://sharepoint.abc.org/sites/the_new_abc_portal/custom/jquery-1.10.2.min.js" Language="javascript" /&gt;  works!  I added jQuery like so:  &lt;SharePoint:ScriptLink language="javascript" name="/sites/the_new_abc_portal/custom/jquery-1.10.2.min.js" runat="server" Localizable="false" /&gt;  When I reload the page I get:        &lt;html&gt;&lt;head&gt;&lt;META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"&gt;&lt;meta name="Robots" content="NOINDEX " /&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;       &lt;script type="text/javascript"&gt;                 var gearPage = document.getElementById('GearPage');                 if(null != gearPage)                 {                 gearPage.parentNode.removeChild(gearPage);                 document.title = "Error";                 }             &lt;/script&gt;       &lt;/html&gt;   The link to jQuery is correct.  I now have a solution by which I simply add the normal script tag like so:  &lt;script type="text/javascript" src="/sites/the_new_abc_portal/custom/jquery-1.10.2.min.js"&gt;&lt;/script&gt;  Works like a charm.  Now my questions:   Is there any objection against my "fix" Why doesn't it work in the first place?
84651
I have a table inside of a pageblocksection and then inside of that I have an  that I am trying to utilize the default help text for but it's not showing up.  &lt;apex:pageBlockSection columns="1"&gt;   &lt;apex:outputPanel&gt;     &lt;table&gt; width="100%"&gt;       &lt;tr&gt;         &lt;td&gt;           &lt;apex:pageBlockSectionItem helpText="test text"&gt;             &lt;apex:inputCheckbox value="{!searchBySKU}" /&gt;             &lt;apex:outputLabel value="Search for this SKU or text in the SKU name" /&gt;           &lt;/apex:pageBlockSectionItem&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/table&gt;   &lt;/apex:outputPanel&gt; &lt;/apex:pageBlockSection&gt;   Any ideas why this doesn't work as I expect?  EDIT:  So, I just did some more testing and it creates the text if it's a direct child of the pageBlockSection. Is there any way to get around this restriction without going the fully custom route to do so?
93239
Is there a way to use ExactTarget DEManager to update a data extension record instead of only add? I have a data extension that adds subscribers to specified lists (each list is its own boolean column). If a user goes to my DEManager form and the subscriber already exists, the form will return the error url ("subscriber already exists" or something similar). Is there any way instead for the form to update the existing subscriber record instead of it returning an error? If so, is there a way to use DEManager to first check if a record exists, and if it doesn't then add, otherwise update?  Reference: the DEManager section at   &lt;form action="http://cl.exct.net/DEManager.aspx" name="subscribeForm" method="post"&gt;         &lt;input type="hidden" name="_clientID" value="12345" /&gt;         &lt;input type="hidden" name="_deExternalKey" value="WebCollectSubs" /&gt;         &lt;input type="hidden" name="_action" value="add" /&gt;         &lt;input type="hidden" name="_returnXML" value="0" /&gt;         &lt;input type="hidden" name="_successURL" value="http://example.com/Success" /&gt;         &lt;input type="hidden" name="_errorURL" value="http://example.com/Failed" /&gt;         Email: &lt;input type="text" name="Email"&gt;&lt;br /&gt;         First Name: &lt;input type="text" name="FirstName"&gt;&lt;br /&gt;         Last Name: &lt;input type="text" name="LastName"&gt;&lt;br /&gt;         &lt;input type="submit" value="Submit"&gt;     &lt;/form&gt;
51554
Why do I have to specify runat="server" on all my ASP.NET controls when it is a mandatory attribute and server is the only option available in my limited knowledge of ASP.NET, and I get an error if I don't use it?  I do understand that I can optionally use it on my HTML tags, and I do understand the client/server paradigm and what it is actually specifying.  Is it a redundant tag that could just be implied by the control being an ASP.NET control, or is there an underlying reason?
11573
When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site.  What is the difference between ASP.NET Web Application and ASP.NET Web Site? Why would I choose one over other?  Is the answer different based on which version of Visual Studio I am using?