Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Newbie: Help with DetailsView insert

Reply
Thread Tools

Newbie: Help with DetailsView insert

 
 
news.sbcglobal.net
Guest
Posts: n/a
 
      10-02-2006
Hi. I'm hoping this is a simple problem...

I have a web page with a drop down list box containing data (colors for
example) and a DetailsView control where the item selected in the drop down
list box can be edited or a new item added. It's adding items that I'm
having trouble with.

When my user inserts a new value in the DetailsView, I would like that item
to be selected automatically in the drop down list box. Any idea how to
make this happen?

Thanks!


 
Reply With Quote
 
 
 
 
news.sbcglobal.net
Guest
Posts: n/a
 
      10-02-2006
It thought I'd try to clarify this question a bit. Using one or both of the
two events which are fired when an item is inserted (ItemInserting and
ItemInserted) using the DetailsView control, I would like to capture the
value of the item being inserted, requery the dropdownlistbox, and select
the newly inserted item in the dropdownlistbox. Thanks again for any help
you can offer.

"news.sbcglobal.net" <(E-Mail Removed)> wrote in message
news:Fi%Tg.8168$(E-Mail Removed) m...
> Hi. I'm hoping this is a simple problem...
>
> I have a web page with a drop down list box containing data (colors for
> example) and a DetailsView control where the item selected in the drop
> down list box can be edited or a new item added. It's adding items that
> I'm having trouble with.
>
> When my user inserts a new value in the DetailsView, I would like that
> item to be selected automatically in the drop down list box. Any idea how
> to make this happen?
>
> Thanks!
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert & Insert/Repeat buttons in a detailsview eagle ASP .Net Datagrid Control 0 07-12-2007 12:47 PM
Detailsview loses insert mode contents when Insert fails... cannontrodder ASP .Net 1 07-25-2006 08:38 AM
DetailsView - Changing to Insert Mode (Not By Using the Insert Button In the DetailsView Control) Feege ASP .Net Web Controls 0 12-20-2005 12:28 AM
Detailsview empty dataset insert Eric Zhao ASP .Net 2 08-30-2005 08:02 PM
Detailsview empty dataset insert Justin Rich ASP .Net 2 05-19-2005 08:44 PM



Advertisments