Tagged Questions
0
votes
1answer
114 views
web part jquery ui dialog not working
I am working on SP2010 with visual web part in C#. I have added one form dialog using jquery-ui. When I use it directly from .ascx, its working. But when I am calling it from code behind, its not ...
0
votes
2answers
56 views
Autocomplete Textbox from Active Directory Users
Im making a webpart where a user should be able to add other users from active directory, without being able to know their full name etc. The field should be autocompleted in some way (like googles ...
0
votes
1answer
558 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
277 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 ...
4
votes
2answers
659 views
Sharepoint 2010 Webpart Ajax not working
I have a custom webpart within Sharepoint and am trying to apply some ajax to the webpart.
The same code works within a .net web application but not within a sharepoint web part.
The code from the ...
0
votes
1answer
45 views
Possible solution to a lot of expensive webparts on a single page
I have a question regarding the loading issue of a page.
Current situation:
I have a page layout in my SharePoint 2007 environment, this page layout defines a lot of web parts we can say up to 40 of ...
0
votes
1answer
75 views
JS libraries not loaded on page with multiple form webparts?
I'm struggeling with a weird behavior on some of my pages. It occurs both on plain site pages and on web part pages:
I have built various form-webparts and exported them. They all are referencing ...
2
votes
2answers
932 views
Custom Content Query Web Part in a Sandbox Solution
I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...
1
vote
2answers
180 views
Get id's of tags that are in a web part in Javascript
Ok, I have a page that that has a DataFormWebPart that basically displays the info from a document library. Now what I want to do is, using jquery, display or hide a section in the web part.
I can do ...
1
vote
1answer
261 views
sharepoint 2010 - dynamically load web part (in web part zone) using jquery/ajax from link/button
i would like to have a link, when clicked loads a web part (for example list view web part) that retains its user config. therefore it needs to be a in a web part zone, personalizable and retain its ...
0
votes
2answers
96 views
Need help with jquery swapping image in Sharepoint webpart
Can anybody help me with jquery code please. I need to swap this broken image in the webpart which was hardcoded please. I need to change image in the html below.
<div class="CommentsClickto">
...
0
votes
1answer
166 views
XSLT/Webpart View in Custom Javascript text file?
So this may be silly but I want to ask anyway, if I am using the text file approach (markup and javascript within text files that a CEWP references), is it possible to add mark up or script that would ...
0
votes
2answers
432 views
referencing jquery in a sandboxed solution
I have a sandboxed sharepoint project, in which I have created a module, put jQuery there and referenced it from my webpart's ascx page like this:
<head>
<script ...
1
vote
1answer
672 views
how to Render Controls from CodeBehind into a specific Panel
I'm in the process of working thorugh Microsofts video tutorials for developing on Sharepoint. My actual small project is to create a visual Webpart which displays a list of all registered users with ...
0
votes
1answer
201 views
Ajax or jquery enabled Tab Zone Webpart with SourceCode
I am trying to find a TabZone Webpart Ajax enabled or using jQuery so that when I click on tab 2 while i am on tab 1 it shouldn't do a postback and make changes without loading page again.
We are ...
3
votes
3answers
374 views
jquery projects and visual studio best practices?
Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
2
votes
3answers
553 views
Can a web part prevent master page jQuery from executing properly?
I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
0
votes
2answers
599 views
Jquery autocomplete not working in chrome [closed]
I have added these script inside webpart and added this inside webpart page. Its working fine in IE but not working in chrome.
<script src="/_layouts/scripts/jquery-1.7.1.min.js" ...
1
vote
2answers
471 views
Referencing jQuery from Masterpage and WebPart
I am referencing jQUery from my MasterPage as follows:
<SharePointWebControls:ScriptLink runat="server" Name="/_LAYOUTS/myprojIntranet/js/jquery-1.7.1.min.js" Localizable="false"/>
And in my ...
1
vote
2answers
252 views
Content Rotator to display latest posts only
I am looking at AnythingSlider and a custom content slider and was wondering if these tools allow me to display most recent content only. For a news rotator I only want to display top five news from a ...
1
vote
1answer
2k views
Refresh web part without refreshing page [duplicate]
Possible Duplicate:
Refreshing custom developed web part
I have a custom web part that displays items from a list. A user can select an item and edit the metadata on it. I want to refresh ...
0
votes
1answer
196 views
Toggling listview web part content source
I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go ...
1
vote
2answers
232 views
Reference of jquery increase with edit of CEWP
I am trying to use jquery in CEWP. In my html script, I am providing jquery reference which is available in SiteAssets library. I am using jquery library for some fancy slider.
When I save html ...
4
votes
4answers
2k views
What is the proper way to add jQuery to a MasterPage?
Currently I am using this method in the header:
<script src="/_layouts/MNCAssets/scripts/jquery-1.5.1.min.js"></script>
But for some reason, my webparts that use jQuery don't appear to ...
0
votes
0answers
68 views
Is the javascript in my webpart executing before the javascript in my MasterPage? [duplicate]
Possible Duplicate:
What is the proper way to add jQuery to a MasterPage?
I have a few webparts that use jQuery. Instead of adding the jQuery in each web part I decided to add it in the ...
1
vote
1answer
231 views
how to identify webparts by their element in the DOM
I'm working on some DOM scraping in SP and I want to tighten up my logic around web-parts. Namely, is it safe to say that anything with a attribute of 'webpartid' is a webpart?
Some sample ...
1
vote
2answers
787 views
How do I write a web part that pops up “Hello world” using jQuery?
I want to use jQuery in my SP2010 hello world web part which pops up "Hello world" using jQuery. What do I have to do? I know I can do this with JavaScript, but I want to learn about jQuery in web ...
1
vote
1answer
287 views
Can we use jQuery functions as web part properties?
I want to build a wrapper web part which will have properties. These properties must be consumed by jQuery functions and support its consumer webpart. Can we do this?
1
vote
5answers
2k views
Best practices for including jQuery from a web part?
I have a web part that requires jQuery. I'm wondering what the best practices are when it comes to including this. I assume that just adding it to a page that already has it could potentially cause ...
1
vote
1answer
81 views
Insert document type in XSLT
I have an XSLT that transforms a picture library and turns it into a jQuery galleria control. I can make it work in a standard html page, but I have the need to put it in a Sharepoint 2007 web-part, ...
1
vote
2answers
886 views
Can't get jQuery UI to work in my web part!
I have the following markup:
<SharePoint:CssRegistration ID="cr_jqui" Name="/Layouts/MultiPart/css/smoothness/jquery-ui-1.8.12.custom.css" runat="server" After="corev4.css" />
...
5
votes
2answers
5k views
Adding ScriptLink for js file to my Visual Webpart causes error: “Cannot make a cache safe URL for…”
Full error:
Cannot make a cache safe URL for
"sprocketcomplete/layouts/sprocketcomplete/js/sprocketcomplete.js",
file not found. Please verify that the
file exists under the layouts
...
0
votes
1answer
530 views
XsltListViewWebPart - run some javascript after async refresh
I've got an xslstlistviewwebpart, and set in the AJAX options to refresh the webpart every 15 sec. Is there a way to hook up some javascript code after the webpart is refreshed?
Larsi
1
vote
1answer
2k views
Add gradient background color to list view rows with jQuery
In SharePoint 2007 using Content Types and editting NewForm.aspx with jQuery I've managed to customize the look of a new item, adding a gradient color identity for each Content Type. I want to ...
-1
votes
3answers
1k views
convert asp.net code to WebPart code issue [duplicate]
Possible Duplicate:
How to use JavaScript and CSS in a web part?
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net ...

