Questions tagged [dataitem]
53 questions
1
vote
3 answers
Asp.Net LinkButton Onclick = method( container.dataitem ), need help with syntax
I have a linkbutton that I want to call a method in the code behind. The method takes a parameter of which I need to stick in a container.dataitem. I know the container.dataitem syntax is correct because I use it in other controls. What I don't know…

user84786
- 631
- 7
- 19
- 33
1
vote
1 answer
Get DataItem from Kendo Grid with custom button in Angular
I am trying to pass the dataItem from a kendo grid to a component on Angular 6. Set up as follows.

David Andrews
- 71
- 2
- 8
1
vote
1 answer
Kendo Grid.dataItem loop not working
So my aim it to loop through all selected item in my kendo grid, but after the first iteration the dataItem method returns undefined.
function myFunction() {
var selectedItem = $("#DropDown").val();
var grid = $("#Grid").getKendoGrid();
var…

GeorgeB
- 808
- 1
- 8
- 26
1
vote
0 answers
Android Wear not receiving OnDataChanged call
I have read any thread that is on this topic in the last 2 days.. but I still cannot figure out what is wrong with my code.
I have Mobile and Wear app. the mobile has only widget and widgetconfig activities (no main activity).
Here is the mobile…

gabi
- 1,003
- 5
- 12
- 30
1
vote
1 answer
Sending ArrayList<> DataItem from mobile to wear
Currently my issue is that whenever I try to access the ArrayList<> I've sent via my DataItem layer, it tells me the object is null.
Can someone shed some light as to where the issue is falling?
MOBILE
public class MainActivity extends…

conedmiro
- 103
- 10
1
vote
1 answer
Programatic control using Telerik OpenAccess ORM and the RadGrid
Ok, between following documentation, posts and videos that use syntax and tools that are no longer used or available, I'm really lost as to how to go about even using Telerik's OpenAccess. So I thought I'd ask for some help and hopefully someone…

psurobdude
- 11
- 2
1
vote
2 answers
how to get next item in repeater c#, if list is given as datasource?
How to get next item in repeater by index or any other way?
e.g. in Sitecore if I'm getting the current item in repeater as
Item currentItem = (Item)e.Item.DataItem;
How can I get item which is next in the list which is given as the datasource?

Pratik Wasnik
- 191
- 1
- 17
1
vote
1 answer
Sencha Touch 2: Component DataItem, getRecord() in listitems
i try to build an list with useComponents activated. So far it works fine. The datarecord 'internal_state' which i will represent with togglefield does not contain "0" or "1" as value, but "on" or "off".
So i tried to extend the apply method and…

seppy
- 11
- 2
1
vote
1 answer
DataItem null reference
I have a DataList and I am binding it in page load when it IS NOT a postback, but still I receive a null reference exception when I try to access the DataItem in the ItemCreated event, any suggestion?
protected void Page_Load(object sender,…

user2650066
- 19
- 2
1
vote
2 answers
Items of a ListView have DropDownList: How to get the DataItem when selection changes?
So I have something like this:
Under the "Products" ComboBox there is a ListView that displays the new items that are added when the user clicks the "Add" button to add the selected product.
When the user makes a Product Descriptor selection for…

unnknown
- 1,715
- 2
- 19
- 37
0
votes
1 answer
Getting data from GridView on Button_Click
My problem is:
I have a GridView, which is bound to list of declared DTO objects with column of CheckBoxes. Also, I have a "Save" button on the page. My mission concludes in getting all rows, where CheckBox is checked and get the containing data.…

insomnium_
- 1,800
- 4
- 23
- 39
0
votes
0 answers
NULL Value from SQL Server DB becomes " " when evaluating its cell in RadGrid
I have a grid being populated by SQL data. In my dataBound method I have a numerical condition that evaluates the text of particular cells, for example: if myCell.Text <90
It is possible for the cell to have NULL values, so I want to check before…

SethD02
- 5
- 4
0
votes
1 answer
Kendo grid dataItem always null
I have a kendo grid and I am trying to obtain a dataItem from a dataRow, but my dataItem is always null.
This is the code I am using:
var dataGrid = row.find(".k-grid").data("kendoGrid");
var uidValue = "b318f970-79ec-472e-818f-f0d5adb6b5f3";
var…

gameloverr
- 53
- 1
- 8
0
votes
0 answers
How to fix: cs1061 error dealing with Control and Dataitem
This is my code line:
It shows error cs1061 "'Control' does not contain a…

Sgg
- 3
- 2
0
votes
1 answer
GridView DataItem not persisting between mode changes
im having some wierd issue with my GridView. Basically, im trying to run a delete command on a table. The gridview has 3 fields bound to it, ItemId, ItemSummary, and ItemDate.
Now as i recall, during a mode change (say, between Select and Edit)…

TheGateKeeper
- 4,420
- 19
- 66
- 101