Questions tagged [detailsview]

DetailsView is a data-bound control that renders a single record at a time from its associated data source

In ASP.NET 2.0, DetailsView is a data-bound control that renders a single record at a time from its associated data source. It can optionally provide paging buttons to navigate between records, and a command bar to execute basic operations on the current record (Insert, Update, Delete). DetailsView generates a user interface similar to the Form View of a Microsoft Access database, and is typically used for updating/deleting any currently displayed record or for inserting new records.

603 questions
32
votes
2 answers

How to select second td in detailsview datarow?

I am trying create a new css for shaping my detailsview. But i couldn't reach to second td in detailsviews field rows. do you have any idea to access 2nd td? But please imagine belov code generated by…
uzay95
  • 16,052
  • 31
  • 116
  • 182
22
votes
4 answers

Get Record ID in Entity Framework after insert

I'm developing an ASP.net application using Entity Framework. I'm using DetailsView to insert data into database. There is a table as Client and its primary key is client_id. client_id is auto generated by database. I need to get auto generated…
Bishan
  • 15,211
  • 52
  • 164
  • 258
15
votes
2 answers

Listview Details view not displaying anything

I'm trying to use a details view mode of a ListView in winforms, but none of the items are displaying. The listview itself is growing as items are added, but nothing is being displayed. It is displaying the items in list mode, but just not in…
Kurru
  • 14,180
  • 18
  • 64
  • 84
12
votes
3 answers

Change detail view from MasterDetail iPad app using storyboard

I'm little lost here. I have a basic master-detail aplication, and I want to change the detail view according to the selected row in MasterViewController, but the views have different content, one has an image gallery, and the other one will load a…
Vinícius Albino
  • 527
  • 1
  • 7
  • 23
7
votes
1 answer

DetailsView is not visible when there is no data in DataSource

What to do to show DetailsView even when there is no data in underlying datasource? The problem is that when DetailsView is not visible, the command buttons are also not visible. So I can not insert a new record to a database. I would like to have…
Wodzu
  • 6,932
  • 10
  • 65
  • 105
6
votes
1 answer

What is DetailsView.EnableModelValidation?

The MSDN documentation on DetailsView.EnableModelValidation is very brief: Gets or sets a value that indicates whether data-model validation is enabled. Figuring out that true means enabled and false means disabled is simple, I could have found…
Anders Abel
  • 67,989
  • 17
  • 150
  • 217
6
votes
7 answers

What is the major difference between GridView/DetailsView/FormView in ASP.net

What are the similarities and differences between GridView, DetailView, FormView? What are use case scenarios for when you would use each of these controls and why?
balaweblog
  • 14,982
  • 28
  • 73
  • 95
6
votes
1 answer

How can SFSafariViewController be setup as the Detail Controller for UISplitViewController?

It seems from the documentation and all examples that I have found that a SFSafariViewController must be programmatically instantiated with a specific URL as a setup parameter. Is it possible to use a SFSafariViewController as the Detail Controller…
5
votes
1 answer

Binding dropdownlist to dropdownlist to detailsview ASP.NET C#

I'm trying to bind a Dropdownlist to a Detailsview control in a page where the result of the second Dropdownlist depends on the first one. I could bind a single Dropdownlist to a Detailsview but if I add another Dropdownlist where the result depends…
Loupi
  • 1,102
  • 4
  • 25
  • 42
5
votes
1 answer

asp.net: DetailsView control not interpreting html

I have a asp.net detailsview control on a page. I've noticed that it always displays the raw text from my database field, it doesn't interpret the html in the text -- so it displays < b>mytext< /b> instead of just mytext in bold. Is there anyway to…
Melt
  • 481
  • 2
  • 10
  • 17
4
votes
1 answer

Grouping together DetailsView rows?

If i have a DetailsView with many rows, is it possible to "Group" some of the rows together? Ie. make them seperated from the rest of the rows by using a div and some labels or whatnot. I tried to do this but you cant add asp tags between template…
TheGateKeeper
  • 4,420
  • 19
  • 66
  • 101
4
votes
3 answers

Refresh iPad Master data from detail view

I'd like to be able to refresh the table on the master side of my app, based on an action taken in my detail view controller. In this case, I have an orders table on the left (master) side that drills down to show 3 levels of orders: Open, Held &…
Alan Carter
  • 223
  • 5
  • 16
4
votes
1 answer

DetailsView not updating and changing only after 2 clicks, Cancel not showing editable values in readonly

I created a detailsview which appears after a date is selected in a calender. This detailsview is filled via a select statement in code behind. Here is a list of my problems i encouter: I have to click twice on the edit button to get the…
Dieter
  • 401
  • 1
  • 9
  • 31
4
votes
1 answer

Getting textbox value inside a Detailsview control

I have a DetailsView control with a template field as follows:
Kamyar
  • 18,639
  • 9
  • 97
  • 171
4
votes
2 answers

Are DetailsView /FormView enough rich for Edit and Insert?

I'm wondering are DetailsView/FormView and ObjectDataSource have enough capability for Inserting/Editing your records or not ? Or better ask you Do you prefer use them or make your form by your own ? Because some times it's not easy to use them for…
Mostafa
  • 3,002
  • 10
  • 52
  • 79
1
2 3
40 41