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
2
votes
0 answers

disable a button control in datagridview cell based on content in same cell

I have a situation where a cell has databound text and a control in it.based on the text in need to enable or disable a cell. text is databound. I tried in ondatadound_row event but there data is not available. plz help me asap
Vin_K
  • 35
  • 3
2
votes
3 answers

ASP.NET Repeater - HiddenField working without being declared

Using ASP.NET 4.0 Bit of a strange one here, my code works but I don't know why! So I have some HTML like so:
Darthtong
  • 1,017
  • 4
  • 18
  • 30
2
votes
5 answers

Display Local Time in GridView

I have an asp.net gridview bound to the following sql server 2008r2 data source:
Rob Bowman
  • 7,632
  • 22
  • 93
  • 200
2
votes
1 answer

How can I change the width of a column from a child band Infragistics.UltraGrid

public class Ticket { public bool Selected { get; set; } public string TicketID { get; set; } public List History {get;set;} } public class TicketHistory { public string Status…
Dan Nick
  • 132
  • 1
  • 2
  • 12
2
votes
3 answers

Is it safe to update a databound DataTable from a thread?

For a project I am working on I have a form with a bunch of DataGridView components that are to display some data. Every DataGridView has it's own DataTable associated it. The data that is to be displayed is send periodically. My application has to…
2
votes
2 answers

ListBox SelectedItem binded: page navigation, getting item, showing its properties in a new view and reset SelectedIndex. How can i do?

i'm trying to apply the MVVM pattern in my application with MVVM Light. I've a databinded ListBox... MainView.xaml [extract]
maxdelia
  • 858
  • 2
  • 14
  • 35
1
vote
1 answer

What event fires when bound controls are refreshed?

Can you tell me what event fires when individual textboxes that are bound to a data source using the properties pane gets refreshed? I wish to use this event to populate a few textboxes that are not bound.
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152
1
vote
1 answer

Data Binding to a LinkedList?

What Works: Web service that manipulates an in-memory LinkedList (of strings). Clients can insert/add/remove/query the contents of the LinkedList. Web service is started from the command line (no UI). What I Would Like to Do: Change the command…
Edward Leno
  • 6,257
  • 3
  • 33
  • 49
1
vote
1 answer

Making databound ListViewColumns resize when adding an item

I'm making an WPF-application that has a databound ListView. When loading the application, the width of the ListViewColumns will auto-resize, but when adding or changing an item it doesn't auto-resize. I've tried refreshing the listview, setting the…
Jona
  • 181
  • 2
  • 9
1
vote
1 answer

Using ASP.Net Web Databound Controls to create Jquery Sliders tickers type controls

I am working on a B2B portal web app, where i need to display upcoming news , products and company info on regular interval (say as slideshows and tickers). For example : Scenario 1. I need to display the latest company(registered in this week) in a…
user240141
1
vote
2 answers

How to redirect from a grid view with the DataKey

I want the grid view to redirect when a row is clicked, so I have the OnRowCreated for the grid view and I am not able to redirect to the page I wanted
Mark
  • 2,720
  • 15
  • 56
  • 87
1
vote
1 answer

ASP.NET Chart - Databound Value, Custom Label

I have a databound chart in ASP.NET C#. One of the databound fields is text and the other is a value. I would like the legend to display the text for the pie chart, and I would like the value to determine how the chart is formed, and also display as…
Will
  • 989
  • 4
  • 19
  • 33
1
vote
4 answers

.NET Event When Binding Was Finished

What do you call the event when binding was finished? Example: 1. An SqlDataSource named SqlDataSource1 is present on the page. 2. A GridView named GridView1 is also present; its DataSource is the SqlDataSource1. Now, I want to run some codes right…
kazinix
  • 28,987
  • 33
  • 107
  • 157
1
vote
2 answers

Set image control image dynamically from server side asp.NET

I have a webforms site where users upload files, the file name etc is saved to DB. These files are then displayed in a datalist. I'm trying to get this datalist to show different images (icons) to represent the file types. This is my code behind.…
Khalid Rahaman
  • 2,292
  • 3
  • 28
  • 40
1 2
3
11 12