0
votes
4answers
86 views
+50

Access Denied on ListView Web Part

I have a SharePoint App that I am creating for SharePoint Online. I am leveraging the out of the box SharePoint Snippet in Visual Studio using the listview snippet. List View Snippet: ...
0
votes
1answer
17 views

Get an site column text field that is only displayable in editmode in published page

<PublishingWebControls:EditModePanel ID="EditModePanel1" runat="server" CssClass="edit-mode-panel title-edit"> <div id="NBSBranchAccountName"> ...
0
votes
0answers
30 views

get data form database & display in gridview's textboxes

i want to populate data in gridview's textboxes which are stored in database and if no value found in database it should show blank text boxes. BUT my problem is i am binding gridview data for Area ...
0
votes
1answer
20 views

Creating a Subsite login

Ok, I'm a newbie to Sharepoint, and I don't even know if this is possible. We have a subsite on a Sharepoint server (Office 365). This is what the bosses want: Front page of the site is this ...
0
votes
1answer
33 views

Moving Scroll Bar to Top not working in SharePoint 2013

We are using below code on our web application master pages inside SharePoint 2003 to make scroll bar position always on top. function MoveUp() { if ...
1
vote
1answer
40 views

Is there an “onLoad” equivalent for ajax web parts?

I need to run some jQuery (some formatting clean-up) against the output of an OOTB list which is loaded and refreshed with ajax. The problem is that the list doesn't render until well after jQuery's ...
0
votes
1answer
109 views

Refreshing a Web Part Without a Post back in SharePoint 2013

I have a list with many columns in SharePoint 2013, I used SharePoint designer 2013 for displaying items , I have tow web parts in a page that I created in SharePoint designer 2013, one web part ...
0
votes
1answer
50 views

How to validate parent list data while creating new child item

I am having a parent list and child list. Parent list (Contract) is having an Contract Num, Contract Amount, Start Date and End Date columns. Child list (Project) is having and Project Name, Parent ...
3
votes
1answer
31 views

Script editor webpart ribbon problems

I added a script editor web part (javascript code) to a view page (/Forms/AllItems.aspx). After that I can not see anymore the File and List category in the ribbon bar. I read somewhere that ...
1
vote
1answer
81 views

Add button to webpart with javascript

I want to add button to all web parts of my home page instead of add new item link and I've no idea how to create it For additional information I am using share point 2013.
0
votes
1answer
63 views

How to include JavaScript and CSS in SharePoint 2010

Hi I am creating some web parts in SharePoint 2010 non sandboxed solution. I want to include some JavaScript files and CSS on each page of my site. But I don't want to include my files on each web ...
0
votes
2answers
109 views

How to display data from Excel file in a Webpart

I want to create a website on sharepoint 2010 which displays data from an Excel file in a Web part. Unfortunately, Excel Services is not available. Therefore, Excel REST cannot be used and due to ...
0
votes
1answer
47 views

Unable to system.string to system. guid - CSOM

I have a picture slideshow webpart which displays images from a particular library with a particular view. I want to change the webpart property - view using jquery. I have used CSOM to get the ...
0
votes
0answers
25 views

Web part not showing up in custom list

I'm trying to add HTML to a content editor web part. When I'm editing in the browser it shows up. When I go to the list page the web part is hidden. Does this have to do with the type of page a ...
0
votes
1answer
578 views

Saving Page with WebPart error Invalid postback or callback argument

I'm using SharePoint 2010 Foundation with Visual Studio 2010 Ultimate. I developed a Web Part with extensive use of JavaScript and Ajax call. I deploy application by Visual Studio correctly, enable ...
0
votes
2answers
123 views

WebParts with JavaScript don't work with managed path

I developed a SharePoint 2010 WebParts with JavaScript and CSS(inside a module). I haven't problem on development environment but in production environment. In production environment I have a ...
2
votes
1answer
165 views

Mimic Target Audience in SharePoint Foundation

As a preface, I know Foundation does not have audience targeting. But, I do not have an option to upgrade to SharePoint Server. So, with that preface, here is my dillema. I have two SP groups, ...
0
votes
0answers
54 views

SharePoint 2010 Web Part that needs to call a dll and .js files

I am trying to create a SharePoint 2010 web part. The web part I am trying to create will contain, among other things, a custom asp.net server control as a dll. The dll refers to a number of files ...
0
votes
2answers
345 views

JS/JQuery Connect to SQL Server

Right now i am modeling a ClientWebPart outside of the SharePoint server. Although, i advised the client to let me on the server to do Code Behind connection, they said not right now. Server might ...
2
votes
1answer
302 views

how to customize OOB web parts UI

SharePoint 2013 brings a new concept of UI customization, via the JSLink, allowing to reconfigure the Web Parts UI aspect/behaviors, as exemplified by O'Brien here. Although, most of SPObjects ...
1
vote
1answer
428 views

Promoted Links with different sizes in same Page

I have a complicated requirement in which I have to embed a promoted link with different sizes and styles in the same SharePoint page. Figure at the bottom illustrates what I am trying to achieve. ...
2
votes
0answers
116 views

SharePoint Edit Mode Javascript error in edit mode

I am not able to edit the page from the browser. I used to change and edit webparts when suddenly in the edit mode everything looks like it is locked/stalled. When I open the debugger tool, I saw a ...
2
votes
1answer
250 views

How to Pass parameters from Javascript Client Object Model to Report Viewer Web Part?

I have some SQL Server Reporting Services (SSRS) reports that take parameters. I am displaying these reports via the SSRS Report Viewer Web part on a site page. I have the parameters that are needed ...
1
vote
1answer
320 views

Get SharePoint logged username from page displayed at WebPart

I have a webpage hosted in my local server being displayed inside a Page Viewer Web Part in SharePoint 2007. I would like to include a user check inside the pages in my server, so when an user tried ...
0
votes
0answers
193 views

Bootstrap not working in Page Viewer Web Part - IE9

I have a web page, developed using bootstrap, hosted in my local server, and I am using a page viewer web part in SharePoint 2007 to display it. The web page works perfectly outside the SharePoint ...
1
vote
3answers
276 views

SharePoint Webpart development using SPA or JavaScript library for better performance

We are looking at using combination of MVC4 and JavaScript libraries like Knockout and/or Breezejs for providing SPA or better navigation and performance within SharePoint 2010 environment. I am ...
2
votes
1answer
175 views

Open web part properties panel with javascript

I'm looking in a way to open the right side properties panel of my web part with javascript. This way when the user adds the web part to a page, a message and a button are displayed. Onclick the panel ...
0
votes
0answers
29 views

Unable to run Sharepoint-specific JS referenced in embedded webpart

I have a script that I'd like to run on a specific List view. Per the instructions found here, I added a new web part to the NewForm.aspx page and added the appropriate HTML to link to the desired ...
0
votes
1answer
72 views

SharePoint List add comments as formatted text

I'm not sure if this is even possible but thought someone must have done something similar. What I'm looking for is the ability for a user to enter a "comment" and that comment populate another field ...
1
vote
1answer
92 views

Should I use ECMAScript from within a user control or visual web part?

It seems to me that I could use ECMAScript from within a user control or a visual web part, but which is the more efficient in terms of resource use, speed etc?
0
votes
1answer
282 views

Write items from a SP list to html

I've very recently picked up SharePoint and have a limited knowledge of programming so you'll need to bear with me here. I'm currently building on a development site collection in SharePoint Online ...
0
votes
1answer
166 views

Specifying Title URL in List View Webpart

I want to set the Title Url something like /sites/somesite/SitePages/MySearchPage#Default={\"o\":[{\"d\":1,\"p\":\"AverageRating\"}]} where 'AverageRating' is one of my columns using which I am ...
0
votes
0answers
45 views

Add content to Web Part from Modal

I'm showing a button, when editing the web part, so the user can click and a modal popups up. This modal should have a couple of option, doesn't matter now, but then I want to save the content so that ...
0
votes
1answer
256 views

How to show a javascript alert and close the browser tab on button click [closed]

I have a web part with button that is clicked upon approval of a workflow. I want to add a JavaScript alert after performing all the button click c# code and then upon closing the alert the browser ...
1
vote
2answers
916 views

Creating modal dialog for adding item to list from another page

I'm trying to write web-part for viewing list items. It contains link "add new item". I should create modal dialog for adding item, and it must work from every page. So, I have JS for modal: ...
2
votes
3answers
4k views

How to get result from SP.UI.ModalDialog.showModalDialog back to C#?

I have a code on a visual web part user control (see below): Could you please advice, how to get value from the callback function back to the C# in code behind to process it? <script ...
1
vote
2answers
541 views

jQuery.noConflict() and Sharepoint 2010 WebParts

I've made two webparts for Sharepoin 2010 with jQuery plugins fancybox (slider) and cycle (slider). I need to locate both webparts on one page. But it doesn't work. I tried to use jQuery.noConflict() ...
0
votes
1answer
72 views

Web Part Javascript best practice

I have extended the CoreResultsWebPart in order to do some custom processing, but I am now considering breaking out some of the functionality into a new web part. Is it considered bad practice to use ...
1
vote
3answers
1k views

How to Make Webpart Title to Display Day of the Week?

I have list View webpart in my sharepoint 2010 team site home page. Generally Web Part title can be easily modified by editing the webpart and providing Title value. I am looking for a solution to ...
0
votes
1answer
247 views

How to add the close button in SP.UI.Status

I use status bar to show exception message in code-behind. I wanna add a close button in the status bar for user, so they can remove the bar. Here is my code: protected virtual void ...
2
votes
1answer
251 views

Updating contents in a custom webpart in a Discussion Board topic page

I have made a custom Visual Webpart. I'm wanting to periodically update a label in the webpart without refreshing the whole page. I've got the label to update, however it is also updating the replies ...
0
votes
4answers
306 views

Multiple Webparts with same JavaScript on one Site (another Problem)

I rebuild the site (site before). I have on the site two or more Webparts. These CEWP are including the same JavaScript and this the JavaScript is displaying a table via: ...
0
votes
2answers
294 views

Multiple Webparts with the same Javascript

I have a site with multiple Webparts. Some Webparts are linking on the same .html file. The HTML file reads data from a list and displays it in a table by using javascript. My problem is that there ...
0
votes
1answer
65 views

Conditional Formatting very slow

i am using SharePoint 2010. I built a webpart which is displaying elements from another list on the same page. This works fine and fast but when i put in the conditional formatting the loading process ...
3
votes
2answers
3k views

SharePoint javascript refresh page is reloading the whole page

In a webpart, I added a button that should trigger a modal dialog, and display a message when the dialog is closed. The dialog script is handled by this code : function OpenGenericForm(formUrl, ...
5
votes
2answers
11k views

ExecuteOrDelayUntilScriptLoaded not executing after page publish

In SharePoint 2013 I have a page that is using the Script Editor web part. In the script editor web part I have the following: ExecuteOrDelayUntilScriptLoaded(startIt, "sp.js"); function startIt() { ...
2
votes
1answer
2k views

How to add Client Web Parts (App Parts) to a page from JavaScript CSOM?

We're working on a custom way of adding and deleting Web Parts and App Parts to a page in SharePoint 2013. We have to use the new App way of developing and all code has to be using the JavaScript ...
2
votes
3answers
2k views

How to get value of List Filter web part in Javascript?

I use the SharePoint List Filter web part on a page to control several Data View Web Parts. How do I read the current value of the List Filter in Javascript?
0
votes
1answer
3k views

Jquery + Instant Search / Filter of a list

I've seen a clip on bentedder.com where this developer got instant search (filter) to work within a webpart list view. I find this may be very useful for general 911/411 annoucements and archive if i ...
1
vote
3answers
446 views

How to load page load javascript when update progress is over

How to load page load javascript when update progress is over. $(function() { // how to load this after update progress is over } Explanation My Grid inside update panel.. In Grid some of ...