You can always add the controls directly as html elements to a page. However, since it may involve distributing assemblies for the toolkit creating a solution package with Visual Studio would be a better approach.
It is extremely bad practice to manually edit web.config files for SharePoint. Any edits should be handled via a solution package so they can be applied to all web applications and servers in the farm.
I need to know how you can add images in a web part and contain them inside the web part so that when you deploy it on another server, the images automatically go with the whole package and get mapped automatically also. It was pretty easy with SP2010 as it has the “Mapped Folder” thing in it. So far I see a pictures library to use but you’d have to do something special for deployment purposes as I understand it. What I’m doing right now is that I am developing a web part with a grid view which would have standard icon like images in a column. What’s the best way to manage these images is what I’m looking for?
It depends on the which visual Studio you are using VS2010 provides this option for SP2007 also the only difference is .. in case of SP2007 it use to map "12" hive "images" folder and for SP2010 it use to Map "14" hive "images" folder.
I didnt know that till now. Could you please elaborate on that a bit more coz I'm working in VS2010. When I right click the solution file (or the project file too) and go to Add then I dont see any option of Adding a mapped folder or something similar. Actually I have developed a few web parts in SP2010 so I was familiar with this option as well but can't find this with SP2007.
I'm trying to use the embedded resources method so what I've done is I added resource file to the web part project, then I added the two pictures as resources and tried to get the URL of those by doing something like
Without seeing what you are actually doing there isn't much advice I can offer except make sure you have gone through the article completed and followed all of the steps. Another resource that may here is here http://support.microsoft.com/kb/910442[^]. Otherwise, there is a great deal of documentation out there for this technique, it is not specific to SharePoint, it is ASP.NET
I want to create a word document from a template (calling from webpart). I use "createNewDocumentWithProgID" function. My problem is that stored documents are always created as a “system account”. What should I do to get the currently logged on user – the one who created document?
Is it possible to force a filename of the stored document, without a dialog box?
I am manually setting up the body of the assign task email in Visual Studio and would like it to have the "Edit Task" button in the header/subject of the email which comes as standard with the out of the box email.
I am using the Microsoft.SharePoint.WorkflowActions.SendEmail class.
need to use Microsoft.SharePoint.WorkflowActions.SendEmail class . paste the button properties in SendEmail.Subject oject we can edit the subject,body, and header as ur wish if u are using the Microsoft.SharePoint.WorkflowActions.SendEmail Class use the Edit Task link in the Subject . whenever user receive the mail he will receive the mail with the edit task link in the suject section so he can directly edit the task and save the updates in the document library or list .
I'm not trying to sound flippant here, but the first thing you should have done is find some documentation and resources, there are plenty of them, and thoroughly read them.
You are not doing yourself or your company any favors by trying to steps and jump in without a more complete understanding. I've seen lots of time and money wasted and projects and technology canceled because it was not understood.
I'm using share point client object model to get documents form and upload documents to.Is there any way to get audit log data using client object model.?
Is it any web service available to get aduit log data.?
Please suggest me how i can access aduit log data from share point.
i'm using share point2010.
waiting for your favorable response.