Questions tagged [databound-controls]
55 questions
0
votes
2 answers
How are DataTextField and DataValueFields evaluated
For a data bound control it is common scenario where we provide data text field and data value field ( in simple controls like Dropdownlist) but more fields in controls like Gridview. Generally the datasource is of type IEnumerable.
How does the…

Deeptechtons
- 10,945
- 27
- 96
- 178
0
votes
1 answer
Asp.Net Databound and Sessions Conditional Logic
Hello There I'm trying to set the visibility of button in list view item template based on the session object and databound property

Muhammad Usman
- 163
- 1
- 4
- 20
0
votes
1 answer
Repeated code in databound controls
I'm sure I'm missing something obvious here.
I have a about twenty data-bound GridViews, each of which share some common features. Let's say they're all lists of people, and every one starts with about 10 columns which are complex linkButtons with…

philw
- 661
- 10
- 20
0
votes
3 answers
Bind data without database call on page load
I'm trying to find a best practice for getting values for a databound control. The way my application works now (and usually) is on page load I call a getSettings() or something and that makes a database call for each of the DropDownLists or…

tedski
- 2,271
- 3
- 27
- 48
0
votes
2 answers
Looking for suitable DataBound control to implement questions page
I looking forward to find a suitable asp.net DataBound control (C#) to implement in my application.
I wanted to create a exam page where each page show 10 questions, each question got a Label control and a radiobutton control to display the choices,…

sams5817
- 1,037
- 10
- 34
- 49
0
votes
1 answer
How can I access the parent datasource in data expression syntax in Asp.net?
I have a Repeater inside the TemplateField for a GridView. GridView is bound to datasource1 and the repeater to datasource2. How can i access datasource1 from the ItemTemplate of repeater in data binding syntax (<%# %>) of repeater itemtemplate?

suhair
- 10,895
- 11
- 52
- 63
0
votes
2 answers
Is a dispatcher needed to change data-bound properties in WPF .Net Core 3 or newer?
A lot of examples (even from MS) use a dispatcher to update data-bound properties and a bunch of different answers could be found. Does an 'official' statement exist?
Currently, I always use a dispatcher and I would only change this if I can be…

Tom1000
- 1
0
votes
2 answers
VB6 and data-bound MSHFlexGrid, moving and populating columns
I'm working on a VB6 program that connects to a SQL Server 2008 R2 database. In the past I have always used the MSFlexGrid control and populated it manually. Now, however, the guy who is paying me for this wants me to use data-bound grids instead,…

Kevin
- 15
- 2
- 4
0
votes
2 answers
In what point a Repeater differs from DataList web-server control?
They are both data bound controls. They both have template related features. Can you explain in what point Repeater differs from DataList web-server control? And when one should be picked to be used?
Thanks!

pencilCake
- 51,323
- 85
- 226
- 363
0
votes
1 answer
Databound controls with null value being rendered
Although I'm a huge fan of Databound controls since ASP.Net 2.0 and have been using them a lot since learning them, I seem to have stumbled upon an unnoticed(or rather not cared about) issue that these controls seem to have.
I'm using ASP.Net 3.5…

Anchit
- 548
- 2
- 8
- 25
0
votes
1 answer
What is the equivalent to EditItemIndex of DataList in a ListView control?
Acutallly I want to fire item editing events.
But how do I find the control?
I mean to say as we find the control in edititem event of DataList using EditItemIndex. What is the equivalent to EditItemIndex in a ListView?

ram singh
- 1
- 4
0
votes
1 answer
Modifying control with javascript - Invalid postback or callback argument
I have a a dropdown on a page
and I on occasion want to add items to it using javascript/jquery.
When I…

thegunner
- 6,883
- 30
- 94
- 143
0
votes
1 answer
WPF background worker need a dispatcher for bound data
I have all my data bound from WPF controls to properties in an object that my Window can access. When I run a backgroundworker thread, do I need a dispatcher to access these underlying properties, or since I'm not explicitly accessing the UI…

tbischel
- 6,337
- 11
- 51
- 73
0
votes
2 answers
Which Control can is equvalent to databound list combox box of vb6 in vb.net windows form application
I think there should a control like databound list control of vb6 in vb.net windows form application too which can show up data from database.
I have confused and staring my database applications in vb.net....
so can you suggest which control can be…

KoolKabin
- 17,157
- 35
- 107
- 145
0
votes
2 answers
Accessing ComboBox.Items with Contains method for DataBound ComboBox
Summary:
I want to check the current ComboBox.text value against the list of items in a ComboBox that is assigned a DataSource at run time. If the text doesn't match an item in the list then it will select the first item in the list.
Here is what I…

вʀaᴎᴅᴏƞ вєнᴎєƞ
- 1,678
- 1
- 13
- 36