Tagged Questions
0
votes
0answers
6 views
What's the best way to create a replication/load balancing module?
We have a sharepoint doucment library, the site consist media files(like images, word document, .psd file) and then we have a local CME (Alterian) which can be integrated to the SharePoint library in ...
2
votes
1answer
33 views
Listing all the documents in SharePoint server using C#?
I'm new to SharePoint server. I need to get the list of all document stored in SharePoint server, not in particular user site. Is there any way to get all documents list , name or count using C#?
...
0
votes
2answers
19 views
How to embed image in SharePoint Workflow Association Form?
I am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp).
...
2
votes
2answers
31 views
Navigation on webpart
I don't really got a problem just a question. After googling around I couldn't find any answer on what I'm looking for.
Is it possible to put a <asp:TreeView/> or multiple ...
0
votes
1answer
28 views
Listbox in webpart has no selection
I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
0
votes
2answers
24 views
How to round a datatime LocalTime to the onkly datatime. Not to the time with hours
I have got a code:
DateTime dzienStart1;
DateTime dzienStop1;
dzienStart1 = dzienStart.ToLocalTime();
dzienStop1 = DateTime.Now.ToLocalTime().AddMonths(-2).AddDays(-1.0);
Whem I look at a date in ...
0
votes
1answer
83 views
Unique ID get selected list
How do i do so i can work on multiple lists? This works if i'm working with one list. (SPSiteDataQuery)
SPWeb web = SPContext.Current.Web;
SPList myList = web.Lists["Staff ...
0
votes
1answer
44 views
Time in Sharepoint
We have got two method in Sharepoint to get the time. One is ToUniversalTime() an secound is ToLocalTime() But when we are in server and have got a aplication instaled on server which kind data method ...
0
votes
1answer
41 views
Optional Parameters in C# at Sharepoint
How Could I set optional parameters when programing in sharepoint. Now I'm while debuging getting error:
Feature 'optional parameter' cannot be used because it is not part of the 3.0 C# language ...
0
votes
0answers
73 views
Authenticate Site Minder using httpwebrequest and httpwebresponse
We are trying to authenticate the site Minder by using httpWebRequest and httpWebResponse and read the cookies. But we are unable to get the cookies
string url = "https://xxxx/login.jsp";
...
0
votes
1answer
59 views
Gridview not showing date
I'm working with a gridview, so i can show data from my three lists. I get it to show the title, but the date doesn't appear! Check the if statement.
using (SPSite site = new ...
0
votes
1answer
62 views
Search multiple lists
I want to search through my lists. And show it on a repeater control. On my dropdown i got 3 options, (All, List1 and List2). But my If statement wont work. The else is working fine, but it hangs when ...
0
votes
1answer
38 views
Listinstance url
I'm working to show my attachments in a repeater control. It works ALMOST perfectly. I just want to get the full url to my attachment. Right now i'm getting: ...
0
votes
2answers
690 views
Could not load file or assembly 'Microsoft.Sharepoint.Sandbox' or one of its dependencies
I created an ASP.net webapplication and i have used assemblies Microsoft.SharePoint;
and Microsoft.Office.Server.UserProfiles in it.. i get a run time error
"Could not load file or assembly ...
0
votes
1answer
94 views
Repeater control reverse order
I'm working with a repeater control that displays my list items. Everytime i add an listitem it displays it on my repeater. But i want the repeater to display the latest added item at the top.
Any ...
0
votes
0answers
70 views
ASP Calendar double click event get the date of clicked day
I haw got the ASP Calendar. I want to choose range from date to date. If i choose "SelectionChanged" i could only set one date. I think meybe I could set a second date which is end of Date Rannge when ...
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 ...
1
vote
1answer
675 views
The remote server returned an error: (401) Unauthorized sharepoint
Here is my scenario:-
I have my Sharepoint server hosted on Domain A and I have my machine on Domain B.
There is not any trust between Domain A and Domain B.
I am trying to access the Sharepoint ...
-1
votes
3answers
35 views
Two DropDownLists in this same site
I have got two DropDownLists. I want when I set in one value it should change in secound DropDownList the vales. Please Help.
Always the values should look like updated.
0
votes
0answers
57 views
sharepoint 2010 session fixation/session hijaking issue
One of our security consultant has highlighted a possible session fixation issue in our sharepoint 2010 based portal. and advised us to use "a combination of Session.Abandon and a self-implemented ...
1
vote
0answers
55 views
DropDownList change the values in the same times
I have got two DropDownLists, and I want to change if I change in first Drop down list Values then I want to change in secound DropdownList. My first DropDownList has got a code:
SPUserCollection ...
1
vote
0answers
29 views
Problem with finding out loged user
I try to write a procedure, which find out is the user logged or not not loged in the service. I write a code. But it sometimes giving me a true or false if not a person shown. Sometimes it gives me ...
0
votes
1answer
31 views
Sort alphabetically Users
When I'm Adding users, i want to sort them alphabetically. Could You help. Here is my code:
SPUserCollection userzyWszyscy2 = witryna.SiteUsers;
foreach (SPUser oUserKolejny in ...
2
votes
1answer
379 views
Populate a Drop Down List with Unique Values from a list
I have got a list with names of workers. How could I populate a DropDownList with unique values (ie: avoid duplicate) from the list? If the list contains duplicate values I need to avoid inserting the ...
0
votes
1answer
1k views
How to run a popup window from code behind in web Part writen in C#
I must run a popup worning when somebady exceeded a something walues. I try a Sharepoint Modal and javascript, but I don't know how to run something from behind code to run javaScript, or Sharepoint ...
0
votes
1answer
41 views
How to make faster readable elements from the list?
I have an ASP Calendar, which shows elements from the list. If I try to bind the elements to the list, there are a lot of elements for example 35 429 elements. It takes up to 4 minutes to load this ...
1
vote
1answer
53 views
Include in SharePoint 2010
I have a custom HTML menu in my MasterPage. I would like to have it in a separate file so it can be easier to update. Is it possible to do an Include?
0
votes
3answers
212 views
Render TextBox (sever control) in WebPart and manage (text, visibility etc of) the server controls from editor part
My initial goal is to achieve the following
Render dynamic TextBox in custom editor webpart
Manage Text (, visibility, height, width etc) of the TextBox from editor part.
We can consider ...
0
votes
0answers
79 views
Disable value in drop down menu (permanently removed)
In my page, there are 3 drop down menu.
Dropdown 1 : for storing car model which retrieved from CarTab in database (SQL)
Dropdown 2 : for storing username
Dropdown 3 : for storing plate num
The ...
0
votes
1answer
155 views
Remove value in drop down list after being selected
I would like to ask, how to disable the value in drop down menu after being selected? I mean, let says if when User A select value B in drop down list, B is not available to be selected anymore to any ...
1
vote
0answers
100 views
Visual Studio intellisense over WebDav (DAVWWW) does not work. Failed to Start Monitoring
The page lives in a library inside SharePoint 2007 and has inline c#.. no master page or sharepoint references. I can open, edit and save the page via the URL. But getting warnings and no ...
0
votes
1answer
138 views
Rendering linkbutton with image
I have an issue when i try to render the linkbutton with image and text it isn't rendered correctly. I render it from a servercontrol in method OnLoad.
And I do not understand why, maybe someone knows ...
-1
votes
1answer
85 views
Send input values to server [closed]
There is a webpart.
aspx:
<input type="text" id="textField"/>
<input type="text" id="textField2"/>
<input type="button" id="sendButton">
How can i send all input values to ...
1
vote
1answer
263 views
Error with Asp Dropdown List in SharePoint 2010
To start with, I have a template setup that came from Microsoft for Timecard Management. This template basically tracks the project someone is working on and the specific task. On one page, it is ...
5
votes
5answers
511 views
Pros and cons of code vs. no code in SharePoint development?
Here's my situation: I work in a user area and have been tasked with creating usable SharePoint sites for different areas. Some are doc management, some are collaborative work spaces, some are task ...
0
votes
1answer
222 views
How to get Site Map of ASP.NET page from where I am navigated to current page
I want breadcrumb trail from where I navigated to the current page and want to add an extra node to it.
For example:
I was here
A > B > C > D > E (E has a link to Z)
now I am here
A ...
1
vote
1answer
112 views
how to find out parent web address from where we navigated in a userControl
I have a Web 1 and Web 2, I also have a link of Web 2 in Web 1 using a link button in a SharePoint Site.
Now If I click on Link button situated on Web 1 it takes me to Web 2, I Have a User Control on ...
1
vote
1answer
89 views
How to upgrade user controls on Development Server
I just came across User Controls developed by developers who left company now, I tried looking on google on how to upgrade them on development server but couldn't find any blog or post regarding it.
...
0
votes
1answer
3k views
How to copy a Sharepoint page?
In SPD2010 (Sharepoint Designer 2010) under "Site Pages" I created ASPX page ASPControls.aspx, added and configured AdRotator ASP.NET control.
Having ollowed "Using ASP.NET Validation Controls" of ...
1
vote
2answers
172 views
Installing a custom webservice
I am trying to install some (old) bespoke software which contains Sharepoint webservices. Unfortunatly I don't have the documentation for this software, if there ever was any.
I have been reading up ...
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
873 views
How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?
I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
4
votes
2answers
897 views
SharePoint 2010 FBA: Redirect on Sign Out
I'm using the SharePoint 2010 FBA Pack http://sharepoint2010fba.codeplex.com/. Basically, I want to redirect to the homepage once a user Sign's out. I'm unable to find this. Could someone please help ...
0
votes
2answers
1k views
Adding row values to a specific column in a datatable?
I am tryin to retrieve the url of image attachments from a OOTB announcements list and add it to a datatable column I created named "Images". The respective image control in my web part displays the ...
0
votes
1answer
3k views
An example of databinding the repeater control?
I am trying to develop a custom visual web part to display the latest 5 announcements with the images that are attached from the OOTB announcement lsit.I have a repeater control with an Item Template ...
0
votes
2answers
297 views
ThmxTheme Error
I wrote a ASP.NET Handler module for sharepoint 2010 web application.
it is running .But I added this code, occured error
Code:
string tema = "/_catalogs/theme/Classic.thmx";
ThmxTheme tm = ...
0
votes
1answer
384 views
Using the Sharepoint Client Object Model with ASP.NET C# page
So why when I add the line <%@ Import Namespace="Microsoft.Sharepoint" %> does the page error with:
An error occurred during the compilation of the requested file, or one of its ...
1
vote
2answers
186 views
Display the data in spgridview with several column in each row
I need to develop a webpart which takes data from list and populate in spgridview.
The webpart should look like in the image atached.
I am able to display the column 1 i.e one image for each row but
...
1
vote
1answer
128 views
Creating an asp.net page that calls on a SharePoint 2010 Service Application
I am trying to create a simple web page with three text boxes. I then pass the three values to a client for a SharePoint service application. However, when it calls on the SharePoint service ...
0
votes
1answer
283 views
Showing new list element form on button click
does anyone know how to show the new list element form on button click, that I have on my custom aspx page? Like when you have a sharepoint list and you click on "add item" and a new element form ...

