473,327 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

dropdown in DetailsView

Greetings,

How do I insert a dropdown box (predefined values=A,B,C,D) in DetailsView
(prefer codeless)?

Thanks
ascll
May 24 '07 #1
2 1754
Is this in a ListView? If so, you can either control the painting for
the entire control, or, you can make a drop down visible at certain points,
overlaying the control where you need it, when you need it.

Either way is going to be very messy though.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"ascll" <as*********@REMOVEyahoo.comREMOVEwrote in message
news:er***************@TK2MSFTNGP05.phx.gbl...
Greetings,

How do I insert a dropdown box (predefined values=A,B,C,D) in DetailsView
(prefer codeless)?

Thanks
ascll


May 24 '07 #2
Hi,

Post more details, You cannot use a dropdown in a ListView, you have to use
a DataGrid.

Now there are way of making it work (like correctly positioning a Combobox).
BUT IMHO a datagridview is better

"ascll" <as*********@REMOVEyahoo.comREMOVEwrote in message
news:er***************@TK2MSFTNGP05.phx.gbl...
Greetings,

How do I insert a dropdown box (predefined values=A,B,C,D) in DetailsView
(prefer codeless)?

Thanks
ascll


May 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Shawn Wildermuth | last post by:
I have a *single* SqlDataSource that loads up a single result set that I show in a GridView. In the GridView, i've added a "Select" button and handling the SelectedItem event. I also have a...
12
by: Jim Hammond | last post by:
I am passing the whole object instead or parameters in my select and update methods. I can get the updated object if I set UpdateMethod, let ASP.NET autogenerate an update button, and then press...
2
by: VB Programmer | last post by:
ASP.NET 2.0.... Building a shopping cart application. 2 tables: Categories and Products I have a Gridview representing Products. When the admin selects a row a DetailsView is populated. ...
0
by: mike | last post by:
Hi, When I programatically Bind a DataSource to DetailsView it does not fire "ModeChanged" event. This is first time i am trying to use ASP.NET DetailsView control. I have played with some of the...
0
by: pintu | last post by:
Hello everybody...Any one plz help in solving my problem mentioned below.. I am creating an application in asp.net 2.0.I want 2 dropdowns i.e customer and branch to be present inside detailsview...
0
by: Chicagoboy27 | last post by:
I am wondering how to set an object datsource or any data source for a dropdown list that is a details view. Here is a brief set up. I have a details view that lists a bunch of information. when a...
1
by: =?Utf-8?B?UmFscGggR3VzdGF2c2Vu?= | last post by:
Im trying to use a dropdown in a detailsview, but I get the error: BC30456: 'DropDown1' is not a member of 'mypage' It works outside the detailsview. What is the correct method to reference a...
8
by: Wingot | last post by:
Hey, I have a program I am trying to write using Visual C#, SQL Server 2005/2008, and Visual Studio 2008, and one part of it includes a Schema called Client. Inside this schema, three tables...
5
by: =?Utf-8?B?bXBhaW5l?= | last post by:
Hello, I am completely lost as to why I can't update a DropDownList inside a DetailsView after I perform an insert into an object datasource. I tried to simply it down to the core demostration:...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.