Tagged Questions
0
votes
1answer
53 views
How do I get the list item ID of an item I just created in a Visual Webpart
I have a visual webpart which creates a list item, but I need to reference the newly created item's ID for later use in the same webpart. How would I do this in C#?
Thanks
2
votes
1answer
39 views
How to Retrieve the Data from an Individual Blog Post
I am trying to brand a blog post according to our standards, and to do that I have simply created a custom visual web part to take the place of the SharePoint default. What I am wondering is how am I ...
0
votes
2answers
65 views
get string from another method after setting it with SelectedIndexChanged event of asp-net dropdown
So I'm creating a contact form for my event management system at the moment.
I've got a Visual Webpart including
private string selectedEmail;
as a variable after declaring my class in code ...
2
votes
1answer
254 views
Send emails to multiple recipients via contactform webpart
Happy new year everyone,
so I'm creating a contact form webpart for my event management system at the moment which has a checkbox "send to all attendees". I'm using the SPUtility.SendEmail method to ...
1
vote
2answers
525 views
Show User List (GridView?) on Button Click in new Popup
Hi there and thanks in advance :)
So, my use-case is:
I have a visual webpart on top of the DispForm.aspx of a custom list for events.
I have another List called "Attendee List" where attendees are ...
2
votes
1answer
249 views
Show asp.net webpart elements based on user permission level?
I want to do the following:
I have a webpart and two users (not in groups, though, because for a reason I don't understand there are no groups in the productive environment here ;) ).
One stands ...
0
votes
1answer
156 views
Setting a Lookupfield for current Item in List
my use-case:
I'm trying to implement an event-management system to sharepoint using visual web part(s).
I have two custom lists, one is called "events". Let's say it has a column "Title" which shows ...
2
votes
1answer
154 views
Visual Web Part vs Visual Web Part (Sandboxed)
While I was creating a visual web part in Visual Studio 2010, I also saw an option to create Visual Web Part (Sandboxed) under Visual Studio Template Gallery.
I need to know how does a Sandboxed ...
1
vote
2answers
320 views
Couldn't find any way of displaying a message box in Visual Webpart 2007 (User Control)
I almost tried everything I could to display a nice message box in user control (.ascx) or code behind, but I failed miserably,
Can anyone find me a tutorial in context to what I need and will 100% ...
0
votes
1answer
72 views
XmlFormView and QueryStringFilter
I'm working on a project to automatically generate some document libraries and pages. One of these pages I have to put a infopath form webpart and a TextFilter to send to this form some information (a ...
1
vote
3answers
120 views
how to detect where a memory leak is in my application
I have a webpart that loops through web apps, sites, and webs. I using the DoesUserHavePermissions() to check whether or not the user has access to the site. I'm getting an error on this line. I've ...
0
votes
2answers
46 views
Not able to add webpart to page using chrome
I created a visual webpart for SharePoint 2007, now I am able to add it to page using Internet Explorer but when I try to add it to page using chrome it doesn't add it or do a page refresh, I followed ...
2
votes
2answers
567 views
sharepoint webpart property disappear after a day (C#)
I developed a custom webpart with a webpart property with some textboxes and it works partially.
If I deploy the project, the written text in the property is away. This is ok.
But my MAIN Problem ...
1
vote
1answer
708 views
Causes of “The Web Part you are connecting from does not allow authoring of connections”
When I add my provider and consumer web parts to a web part page (following Walkthrough: Creating Connectable Web Parts in SharePoint Foundation) I find that the 'Connections' option on my webpart is ...
1
vote
1answer
197 views
Display the actual attachments(Image) in Announcements list?
I have a custom web part on my home page pulling data from the announcements list.
When a user clicks on the Title (I have created it as a link) it directs to this page:
I would like to modify the ...
2
votes
1answer
1k views
Visual Web part - async load
I want to create async load of visual web part. Code behind (web part) needs some time to load data so I figure to create that in async way (on page load). Scriptmanager is placed in master page (ajax ...
