2
votes
0answers
19 views

Chart control data points not visible - Visual WebPart

I have created a Chart control based visual webpart. I have used custom labels for both x and y axis. The problem when i am trying to plot xy values, it is not visible in the chart. Code ...
0
votes
0answers
63 views

Update panel AsyncPostBack not update pannel

I'm create simple visual webpart, but update panel not update updatepanel1 if is using async callback. Response from button click: http://pastebin.com/zWmPL4XB, if use PostBackTriger it work fine. ...
0
votes
3answers
75 views

Changing visibility of text/controls in a visual web part

I need to show/hide a section of text and controls in a visual web part when a button is clicked. I've seen references to doing this via JS but can't connect the dots for how to integrate that into ...
1
vote
2answers
47 views

Storing data entered into a custom web part

When building a visual web part that uses an ASP form for an interface, what is the generally-accepted "best" way to store the data once the user has filled out the form? The only way I can think of ...
0
votes
2answers
96 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
0
votes
2answers
139 views

Call Javascript functions from Server

I want to develop a simple web part using VS 2012 and add this code for button click: SPListItem Item = SPContext.Current.Web.Lists["Tasks"].Items.Add(); Item["Title"] = TextBox1.Text; Item["Due ...
-1
votes
1answer
1k views

How to use SPSecurityTrimmedControl to check if current user has edit rights to current page?

I am making a visual webpart in SP2010, and I want to use this below to only show content if the current user has edit rights to the current page: <SharePoint:SPSecurityTrimmedControl ...
0
votes
0answers
326 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
1
vote
0answers
367 views

CreateChildControls() in Visual Web Part in SharePoint 2010 called twice

(x-post from http://stackoverflow.com/q/17065543/1943) I have a Custom SharePoint 2010 Visual Web Part which I've realized is calling the CreateChildControls() method twice. I've tried setting the ...
2
votes
1answer
66 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 ...
1
vote
2answers
1k views

Upload photo to a custom list using visual webpart in sharepoint 2010

I have a list, ListPersonalDetails, for storing personal details of students. It has fields like firstName, lastname, address etc. It also contains a field to store the photo which is of type image. I ...
1
vote
1answer
257 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 ...
0
votes
1answer
716 views

“LinkTitle” column from event list dose not render when added to a repeater control?

I have the following code to render the event Titles (the LinkTitle Column) in a custom web part: <asp:Label ID="Title" runat="server" CssClass="titleStyle" ...
0
votes
1answer
324 views

How do I retrieve the “Title (linked to edit)” column from event list to display in my custom web part.

I am creating a visual web part to display the calendar events in the form of an events list with custom css. The web part will be on the home page of my site. Here is what I have right now and it is ...
0
votes
1answer
706 views

Rendering IMAGES (attached to announcement list) in my custom web part?

Please bear with me as I am brand new to the whole sharepoint world. I want to be able to display images that have been attached to OOTB announcement list in a custom visual web part I am trying to ...
1
vote
2answers
577 views

How to get FBA users' profile with ASP.NET

I'm getting Windows users' profiles, in my webpart, doing the following: UserProfileManager pm = new UserProfileManager(SPServiceContext.Current); SPUser spuser = web.AllUsers.GetByID(user.Id); ...
1
vote
2answers
814 views

Navigate to other page (Office 365)

I want to navigate from one ASP.NET page to another one (each with a visual webpart) When I click a button on the first page (in my visual webpart of course), I should navigate to the second page. But ...