Questions tagged [databound]

The state of (or ability to) being bound to a data source. For example, data-bound controls are user interface controls having the intrinsic ability to display and (in some cases) edit data from a specified data source.

Data binding is a general technique that binds two data/information sources together and maintains synchronization of that data. This is often done with two data/information sources with different types as in XML data binding. However, in UI data binding, data and information objects of the same type are bound together (e.g. C# UI elements to C# objects).

174 questions
0
votes
2 answers

Negate field value to set control visiblity

I have a control with the visible property set to the value of a boolean field. However, I want the visiblity to be the opposite of the boolean field. How do I do this? This code shows the visible property set to the value of the field. I want to…
dmr
  • 21,811
  • 37
  • 100
  • 138
0
votes
1 answer

Adding link dynamically to Template Field

I need to replace the link for each data bound item. I already checked out the databound event of the datarow. The problem with that is I can't control where the link shows up. I'm trying to stay away from javascript and keep it mostly in the code…
Ccorock
  • 892
  • 12
  • 37
0
votes
1 answer

how to handle empty detailsview on ondatabound

I have a record on detailsview. which gets data from onDataBound
EagleFox
  • 1,367
  • 10
  • 34
  • 58
0
votes
2 answers

changing from panel to gridview - error with layout

Hey guys so where before I was hard coding the panel I wanted to display on screen with:
John
  • 3,965
  • 21
  • 77
  • 163
0
votes
1 answer

Events from inside a DataBound Control

I have an asp:Repeater with an asp:DropDownList in it. The DropDownLists in the repeater raise their SelectedIndexChanged events on every postback, regardless of whether they were changed or not. Is this a known issue in ASP.NET? Do you know how…
James Orr
  • 5,005
  • 7
  • 39
  • 63
0
votes
1 answer

How to modify cell content in (data bound) ListView.oniteminvoked event? [W8 Metro UI, WinJS]

I created a data bound listview in a Windows 8 HTML5/JavaScript app, I would like to modify the data bound to the clicked cell. For this I am using the ListView.oniteminvoked event. The data is successfully modified, but the cell does not…
fusio
  • 3,595
  • 6
  • 33
  • 47
0
votes
1 answer

Insert new item to ListView after first item

I am trying to add a new item in a ListView on itemdatabound. What is the best way to do it? Data comes from a dataset with TopicReplyListView.DataSource = TopicReplyDataTable; TopicReplyListView.DataBind(); on …
nLL
  • 5,662
  • 11
  • 52
  • 87
0
votes
2 answers

How to Fade In repeater LinkButton using jquery

I am pretty new to jquery, I've went over a few examples on W3Schools and then googled my question but didn't find an answer that meets my requirements... Anyway, I have a repeater that shows linkbuttons horizontally. Needless to say, each time,…
Yanker
  • 292
  • 5
  • 10
  • 25
0
votes
1 answer

How to stop a Service from running after user stops viewing applications Activities. Android

I have the following code in each of the 5 activities of my app. I wanted to keep the service running that is bound to these five activities. It will play music in the background. However when the user navigates away from the any of these five…
Kevik
  • 9,181
  • 19
  • 92
  • 148
0
votes
7 answers

asp.net asp:DropDownList onSelectedIndexChanged not firing in databound asp:GridView

I'm having troubles with this and I can't figure it out. I have a databound asp:gridview (sqldatasource) with an asp:dropdownlist inside an itemtemplate. The dropdownlist has an onSelectedIndexChanged event listener but it doesn't fire. Here's the…
DerpyNerd
  • 4,743
  • 7
  • 41
  • 92
0
votes
2 answers

how to get id of every item in checkboxlists databound event?

I have a CheckBoxList and I need to get the id of each item in it on its DataBound event and I don't know how to get it, please help me. Here is my code: HTML:
Ram
  • 1,131
  • 10
  • 28
  • 52
0
votes
1 answer

How to get datatextfield value

I am making a web site in visual studio 2012, using asp.net, c#. I created a grid view, which is taking data from my sql server, and created a button field which is bound to id_p, which is one of the collumns taken from a database. I am trying to…
user1649498
  • 121
  • 3
  • 15
0
votes
2 answers

Repeater: javascript to button in itemlist via c#

I've got a repeater with an itemlist, it get's data via C#/sql and a databind. I then want to add onclick javascript to my 'deleteNewsButton' in the itemlist. Im guessing that i have to use OnItemDataBound? Heres my repeater:
Christian Bekker
  • 1,857
  • 4
  • 27
  • 43
0
votes
0 answers

duplication in many to many entry form access

I have three tables tblContact - ContactID(Primary Key), Last_Name, First_Name, MailingID, Phone, Mail_List tblAddress - AddressID(primary Key), Address tblMailingAddress - MailingID(Primary Key),ContactID, AddressID each contact can…
Odesmere
  • 33
  • 3
0
votes
2 answers

Databound Items BEFORE Those Explicitly Declared In RadiboButtonList

I don't seem to be able to find a single hint at this on the Internet anywhere. I've got an ASP.NET page with a RadioButtonList control, databound to a table in an SQL database. That works fine. I've also explicitly declared an extra "Unknown"…
Philip Stratford
  • 4,513
  • 4
  • 45
  • 71
1 2 3
11
12