Tagged Questions
0
votes
2answers
27 views
Change Language in ModalDialog without reload
I´ve got the following issue:
I want to change the Language of a .aspx Page, the NewForm.aspx. Therefor I created a WebPart which was added to the NewForm.
<div>
<a href="" ...
0
votes
0answers
24 views
Update WebPart MenuItem/Verb from Client Side
Here is the scenario - I have a custom webpart where I added one custom menuitem with client side handler, now my requirement is when I click on the menuitem some text should be shown, for example ...
2
votes
1answer
36 views
How can I fit a Datatable only into a webpart (not page) dynamically?
I develop a Webpart, which should be deployed in other SP-Farms.
The Webpart contains a DataTable.
I deployed the solution and the DataTable appears in the right side of the Website.
I'm using a ...
0
votes
2answers
134 views
Reference InfoPath field in edit.aspx InfoPath web part
I have a colleague I'm trying to help. He has a list on a SharePoint site. He modified said list's web part with InfoPath. Upon creating a new item, the item is saved as well as emailed to a 3rd party ...
1
vote
2answers
66 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 ...
0
votes
2answers
330 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 ...
0
votes
1answer
139 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
3answers
166 views
Why don't update a choice column with javascript?
I have a list .
I want update special item of it with javascript.
I created a js file and add this code to it :
var context = new SP.ClientContext.get_current();
var web = context.get_web();
var ...
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
1answer
372 views
CheckBox header to select all checkBoxes in SPGridView
I have a webpart with SpGridView.
<SharePoint:SPGridView ID="grid" AllowSorting="true" AllowFiltering="true" CssClass="ms-listviewtable"
runat="server" AutoGenerateColumns="false" ...
0
votes
2answers
3k views
How do get selected item of list?
I have a webpart .I add a listviewbyquary in createchildcontrols and a hyperlink in visualwebpart.
i use this
http://graegert.com/featured/using-the-editorpart-to-create-a-custom-listview-web-part
...
2
votes
3answers
528 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 ...
3
votes
2answers
414 views
SharePoint webpart and application page
I need to make an application page or a webpart that have a javascript code and i tried to add the jquery i a new project to upload it to the SharePoint but the code didn't work
this is the code that ...
0
votes
3answers
1k views
How to add javascript and css to a SharePoint 2010 webpart?
What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part?
I would like them to be ...
0
votes
1answer
252 views
SPRibbon Button Unique Button Commands
I basically have a WP with its own custom Ribbon Buttons and Commands. The command's are hard-coded inside the the Elements.xml. However, the webpart basically breaks once you add another "same ...