New answers tagged visual-web-part
1
You can use a .Net 3.5 assembly in a 4.0 project, but not the other way around.
2
Do you know how to build a basic web part? If not I suggest you learn this first. Here's a sample tutorial: http://msdn.microsoft.com/en-GB/library/ms415817(v=office.14).aspx
Next you want to learn how to develop against web services. Helpfully, Yahoo have a tutorial on how to deal with responses to web services as XML within C# applications: ...
1
You can add it manually
private const string _ascxPath = "~/_CONTROLTEMPLATES/yourproject/yourcontrol.ascx";
If you cannot find "_CONTROLTEMPLATES" folder in your project,You should add mapped folders to your project
0
Same question here with some suggestions for a workaround. A workaround is not recommended, though.
By the way, I had the same problem, and installed SharePoint Foundation 2010. It does not have all the options like a "regular" SharePoint, but it is free, runs fast and matches the requirements to run a decent test. The installation is described here. Just ...
2
You can develop VS projects ONLY on the same server where SharePoint is installed.
By the way, if you're using SharePoint 2013, you can develop APPS on a remote Server but that's another story.
0
Upon deactivate and then activate and finally recycle application pool solve my problem.Now the web part is shown in gallery.
0
The question is answered on msdn forum
0
To your Visual Webpart Ascx page, add a File upload control:
<asp:FileUpload ID="FileUploadAttachment" runat="server" />
And in your update function, you can upload the attachment by:
SPListItem studentDetailsItem = SPContext.Current.Web.Lists["Student Details"].Items.Add();
studentDetailsItem["StudentID"] = Guid.NewGuid();
...
1
There is a javascript API for Visio but it does not allow you to insert new objects. Not sure about a real code solution.
JSON can certainly be used. Even without real code, I usually create a script which I can either insert directly into a page or link via a Content Editor web part.
The main limitation I have experienced with Visio is the size of the ...
Top 50 recent answers are included

