5 questions
0
votes
1
answer
54
views
Sortable toArray() occasionally creates list with a duplicate at the end
I want to use a form to let users rank a list of items and store the ranking in a form field called ranking. I am using "Sortable" to and "toArray" for this:
<ul id="items&...
0
votes
0
answers
65
views
Is there any method or way that I can get a value of an attribute of an object from a list of dynamics object's fields?
I need to get that single date which is underlined in red in the image, and store it into a variable, so I can create a conditional and use it as a param.
Through front end it comes dynamically ...
1
vote
4
answers
26k
views
Converting a list of Strings to an array using .ToArray()
When using the .ToArray() function is it necessary to implicitly define the size of the array in order to hold of the characters that were in the list you're converting?
String [] array = List....
28
votes
7
answers
47k
views
jQuery UI: sortable('toArray') returns an empty array
This has me stumped. The follow code returns ",,,,,,":
<script type="text/javascript">
$(function() {
$('#listB').sortable({
connectWith: '#listA',
update: function(event, ...
1
vote
2
answers
682
views
Does calling ToArray on IQueryable de-attach the entity in LinqToSql?
I have a LinqToSql query that returns an array of Article objects like so:
return db.Articles.ToArray();
I then loop over this array and start to delete some items that meet a certain criteria, for ...