Questions tagged [datafield]

64 questions
0
votes
0 answers

For WCF Web service how to allow nullable fileds in data contract

I have a WCF web service with data contract as [DataContract] public class Employee { [DataMember(IsRequired = true)] public int EmployeeNumber {get;set;} [DataMember(IsRequired = true)] public string EmployeeName…
0
votes
1 answer

how to create item template/templatefield for dynamic gridview

I have a code to create a GridView. It displays fine except for the SenderDetails column. I need to create an item template for this. The Message and Date DataFields come from a class called Chat and they display fine in the grid. But SenderDetails…
user123456789
  • 1,914
  • 7
  • 44
  • 100
0
votes
1 answer

Custom DataControlField does not retain value after postback

I have a problem. I created a couple of custom DataControlFields because I need to display data that doesn't come from a DataSource on a DataGrid. I managed to get the controls unto the GridView but I can't manage to solve a couple of issues. My…
LeonidasFett
  • 3,052
  • 4
  • 46
  • 76
0
votes
2 answers

how to bind property abc of type IList to textbox as a datafield

I am working on a report and I have a property of type IList as follows: public IList abc { get; set; } I have populated this list in code, but how can I assign this populated list to textbox's datafield property in order to get list data…
Freelancer
  • 73
  • 9
0
votes
2 answers

Flex DataGrid reads a field from lastResult.node as number

Why does Flex 3 DataGrid read a string from XML lastResult.node as number? A field is saved as var_char in mysql, php reads it as string and pass it OK. If there are more then 16 charaters it gets rounded.... For example: this in database…
Nemi
  • 1,012
  • 10
  • 19
0
votes
1 answer

Matlab: modifying one field of defined structure in other used function

I have defined a data structure data with 7 fields. Two of the fields is as: n = 4; data = struct(); data.Aeq = zeros(n); data.beq = zeros(n,1); m =3; Now, there is another function ul(data,m) that I am passing the data and m as inputs. Inside…
Royeh
  • 433
  • 5
  • 21
0
votes
1 answer

Displaying a property of an entity in a databound control datafield

I have a linq to sql query From tbl in tableentity select tbl which gives me the table. The table has relations so some properties points to other tables. Heres the problem: I want to display a property from a table that is pointed by a property in…
Sharon Dorot
  • 542
  • 1
  • 4
  • 15
0
votes
1 answer

How to replicate/achieve Text='<% #Bind("field") %>' by only using code behind? (asp.net C#)

I am creating a custom control which takes in a filepath (string) to an xml file and a dictionary of column headers, column fields and creates a gridview dynamically with CRUD operations. What I want to know is how to replicate/achieve Text='<%…
Tom
  • 195
  • 2
  • 12
0
votes
0 answers

JavaScript and Django: How can I access Django subfields?

I'm writing a JavaScript function that makes use of Django objects. I have an object, which I'll call item, which has a field user. So item.user should give me an instance of a Django User object. Now a User object has a number of subfields,…
Micah Walter
  • 908
  • 9
  • 19
0
votes
1 answer

How to change the dataField on the fly?

I've got a dataGrid that has some columns, those columns have usually a fixed dataField, everything works ok. However, under special circumstances, I need to change that dataField to another one, but I'm not sure how to do it. I've tried to capture…
Artemix
  • 8,497
  • 14
  • 48
  • 75
0
votes
1 answer

DocuSign Prefill custom data fields

I am attempting to request signature via a template and prefill some data fields using RESTAPI. The only unsuccessful part of my quest is setting the data field value(s). The envelope with document is sent with only the standard tags and their…
user3447048
  • 1
  • 1
  • 3
0
votes
1 answer

flex: display number of children in datagrid column

I have a XML-file looking like this: 0 1 0 1
Lammar
  • 1
0
votes
2 answers

Refresh the Gridview

I am updating the table in database by entering some fields in same page containing INPUT fields and Grid. but grid which is connected to that table is not refreshing after submit the value. I have to open that page in new tab to view the changes.…
CodeXerox
  • 95
  • 1
  • 4
  • 18
0
votes
2 answers

Paypal API USER, PWD, SIGNATURE field lengths

I've gone through a number of pages and PDFs within the Paypal guides and x.com, but I can't find any reference to the maximum field lengths for the API login/connection. I see the Transaction ID maxes out at 19 characters, but they seem to avoid…
Exit
  • 973
  • 2
  • 13
  • 28
0
votes
1 answer

How to show from database to Django Data Field?

I select date using DateField and insert date value using this. form = DateField(widget=SelectDateWidget(years=BIRTH_YEAR_CHOICES)) and then, I want to show selected value using DateField(form) in HTML from database (when create profileForm()) …
Haibane
  • 67
  • 5