Tagged Questions
1
vote
1answer
42 views
I want to make a weather webpart that displays temperature by using Api like Google or yahoo
I want to make a Weather web part form any api. I have searched on Google but could not find any good solution. So, any link or suggestion or steps for that?
6
votes
1answer
110 views
Protect wsp file from Reverse Engineering
How to protect wsp file so no one can read my source code. When we change wsp file extension from wsp to zip, it gives all dll file and this dll can be extracted from .net reflector and get all source ...
0
votes
1answer
49 views
How to use dynamic or relative path in SPList object?
I am using the following code to read a picture library:
SPList list = SPContext.Current.Web.GetList("http://win-12/sites/mysite/ImageLibrary")
Problem is, in above code "win-12" is my machine name ...
-1
votes
1answer
24 views
How to access Literal conrol from Visual Web Part code file
I have added a literal control in my visual web part VisualWebPart1.ascx file as follows:
<asp:Literal id="slider"></asp:Literal>
I am trying to access it in VisualWebPart1.ascx.cs file ...
1
vote
1answer
144 views
need to display image of the user in the people picker, Sharepoint 2013?
In the people picker, the attributes it shows are name,designation and their online or offline status, Is it possible to display the image of the person?
1
vote
0answers
69 views
Change month in SharePoint MonthlyCalendarView control
How to change month in SharePoint MonthlyCalendarView Control? It seems, there is no way to change month in calendar or change view of calendar.
2
votes
2answers
344 views
How to set visual webparts to load one after - another sharepoint 2010
I have a webpart page which have 2 custom visual webparts. When i set the debugger point on both the page loads of the webpart the 2nd visual webpart debugger is hit...that makes me think the 2nd ...
1
vote
2answers
249 views
Jquery clickable Tooltip inside SharePoint WebPart
I have a requirement in which when ever user hover over a text(hyperlink) a tool-tip should appear that should contain images which are clickable using JQuery
$('.cover_beholder').hover(
function ...
0
votes
2answers
39 views
Getting value on a custom webpart from another custom webpart on a page
We have a SharePoint page which contains one visual webpart(vw1) which is displaying few values(id,name,address) on it. Now i need to add one more custom webpart(vw2) and which should get the value ...
1
vote
1answer
153 views
Change Sharepoint Calendar View from month to day
How to change calendar view from month to day on button click event without ribbon ?
1
vote
1answer
306 views
Call Javascript on Sharepoint Calendar add button Click
How to call JavaScript in SharePoint Calendar Add Button Click event ?
2
votes
3answers
302 views
How to change active directory password from webpart?
How to change active directory User Account Password using code?
2
votes
3answers
506 views
Retrive data using Caml Query Join Operation
How can I retrieve data from two SharePoint List using Join CamlQuery ?
1
vote
1answer
79 views
4
votes
2answers
1k views
Create a custom error page to redirect to instead of generic AccessDenied.aspx?
When a user has not been given permissions to a particular site they receive the ugly "Error: Access Denied" page.
Is it possible to capture this on one particular team site (via custom webpart) and ...
1
vote
0answers
114 views
SPQuery on ECT very slow
I am creating a custom web part which is supposed to return results from an External Content Type(ECT) List which contains almost 40,000 records. There are multiple ways the items can be searched and ...
1
vote
1answer
174 views
Permissions to write into but not view a list?
I have a custom web part on my home page that is essentially a textbox and a button for submitting suggestions.
The suggestions are written to a custom list named "Suggestions".
Now, I would like ...
0
votes
3answers
313 views
UserProfileManager in Console Application
I have code that works just fine (visual web part). I had deleted the testing console application, and now I have need for it again. The browser will open up once running the console application, but ...
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 ...
0
votes
1answer
489 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
234 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
423 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
990 views
SPCalendarView control, same events are displayed each month in a VisualWebPart UserControl.ascx.cs file
I am creating a custom SharePoint Calendar to pull from multiple SharePoint Calendar Lists.
In the markup I have the following:
<SharePoint:SPCalendarView ID="EventsCalendar2" width="100%" ...
0
votes
1answer
295 views
VisualWebPart not stores ViewState properly
ViusalWebPart not retrieving ViewState on Page_Load even if EnableViewState = ture
public uint ItemsCount
{
get
{
if (ViewState["ItemsCount"] != null)
return ...