The issue I have is that people in my group are using a link to an Entry Form to post new itmes to a SharePoint list. Everytime they click 'submit' to post new item, SharPoint redirects them to the list.
I need a solution for SharePoint to direct them to the empty Entry form instead, no matter how many times they need to use it.
Is there...
Hi,
I need to add permission levels to a list like: Full Control, Contribute, Manage Hierarchy, view Only, etc.
I see here: "programatically add user permission to a list in sharepoint", that this can be done using the Object Model. How would I do the same using Web Services?
I tried using the permissions.asmx web services, it works for...
I need a list of all file types of text files in CVS (such as .cpp,.h etc. )
can it be done?
...
I am playing around with PortAudio and Python.
data = getData()
stream.write( data )
I want my stream to play sound data, that is represented in Float32 values. Therefore I use the following function:
def getData():
data = []
for i in range( 0, 1024 ):
data.append( 0.25 * math.sin( math.radians( i ) ) )
return dat...
I have a 3 ComboBoxes in a Form, a list of objects. I need to bind the the comboboxes with 3 different members of the class from the list.
(C# 3.0, .NET 3.5)
I am currently doing this
Title_Combo.DataSource = ListContaining.GroupBy(item => item.Title).Where(item => !item.Key.Equals(string.Empty)).ToList();
Title_Combo.DisplayMember = "...
Hi,
I am using List in one of my report. My list is having a detail grouping on a field , and controls like subreports. NOw my requirement changed a bit and i need to have an outer group to the group what i have now and a page break on the outer group.
How do i do this , i tried using the same list , couldn't get an idea how to crea...
Hi,
I'm looking for a way to convert list of tuples which looks like this:
[(1,4),(2,4),(3,4),(4,15),(5,15),(6,23),(7,23),(8,23),(9,15),(10,23),(11,15),(12,15)]
into a dictionary, where key:value pair looks like this:
{4:[1,2,3] ,15:[4,5,9,11,12], 23:[6,7,8,10]}
Second element from a tuple becomes a dictionary key.
First tuple ele...
Hello everyone,
quite a funny question I have.
I am working now on the HTML parser and I was using vector for all my input purposes which seemed quite fine and fast for creating tree.
In another application I need to edit HTML structure and now inserting or reordering of the elements would be extremely painful using vector so I decid...
Hi guys
I was wandering how can I find out if an object already exists in my List.
I'm adding "newPerson" (instance of Person class) in a List, but checking if newPerson contents/properties exists or not in the List.
This piece works fine:
List<Person> people = this.GetPeople();
if (people.Find(p => p.PersonID == newP...
If I have a list of dictionaries, say:
[{'id': 1, 'name': 'paul'},
{'id': 2, 'name': 'john'}]
and I would like to remove the dictionary with id of 2 (or name john), what is the most efficient way to go about this programmatically (that is to say, I don't know the index of the entry in the list so it can't simply be popped).
...
I would like to know how to retrieve the list of users that are logged onto a Remote machine. I can do it with qwinsta /server:xxxx, but would like to do it in C#.
...
If fruits is the list ['apples', 'oranges', 'pears'],
is there a quick way using django template tags to produce "apples, oranges, and pears"?
I know it's not difficult to do this using a loop and {% if counter.last %} statements, but because I'm going to use this repeatedly I think I'm going to have to learn how to write custom tags f...
For arrays and lists in Python and Numpy are the following lines equivalent:
itemlist = []
for j in range(len(myarray)):
item = myarray[j]
itemlist.append(item)
and:
itemlist = []
for item in myarray:
itemlist.append(item)
I'm interested in the order of itemlist. In a few examples that I have tried they are identical, b...
This is a Java question.
What is the fastest way to convert a List<?> to a List<ObjectType>? I am aware that this is possible through iteration please exclude that option.
Example by iteration,
final List<ObjectType> targetList = new ArrayList<ObjectType>();
// API returns List<?> so I have no choice.
List<?> resultList = resultSet.ge...
I have a BindingList(T) that I am displaying in a DataGrid. I'm watching for ListChanged events and performing different actions when the ListChanged event is evoked.
I'm checking the ListChangeType argument of the event to check how the list was changed, and then responding accordingly. However, I noticed that there is a ListChanged ev...
Hi,
I have 3 classes :
public class Transformation
{
private int Id;
private int Type;
private int Ind;
private IList<Action> Actions;
private IList<Condition> Conditions;
private Boolean IsEnabled;
}
public class Action
{
private int m_Id;
private Transformation m_Tr...
Hi,
From two unequal arrays, i need to compare & delete based on the last value of an array.
Example:
m[0] and n[0] are read form a text file & saved as a array, [0] - their column number in text file.
m[0] = [0.00, 1.15, 1.24, 1.35, 1.54, 2.32, 2.85, 3.10, 3.40, 3.80, 4.10, 4.21, 4.44]
n[0] = [0.00, 1.12, 1.34, 1.45, 2.54, 3.12, 3....
I'm trying to write a model containing digital organisms. Within the model i'd liek the environment to be a fixed 2-d array, but each cell needs to contain a list of the organisms in it. I tried using a jagged array, but as the number of occupied elements varies quite a bit throughout the programm run, i need to use something more flexib...
I have seen a SharePoint list (Custom list) where text shows up, whenever a list is empty (only for some views). E.g. to inform users of the guidelines for the list usage.
How can this be implemented?
Ok with javascript/jquery solution
...
I have a Generic list of Objects. Each object has 9 string properties. I want to turn that list into a dataset that i can pass to a datagridview......Whats the best way to go about doing this?
...