Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > DetailsView and DropdownList binding

Reply
Thread Tools

DetailsView and DropdownList binding

 
 
viktor
Guest
Posts: n/a
 
      08-13-2007
Can some body help me. Look at at the code bellow
<InsertItemTemplate>

<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("item_id") %>'
Visible="False"></asp:TextBox>

<aspropDownList ID="DropDownList1" runat="server"
DataSourceID="item_retreive"

DataTextField="item_id" DataValueField="inv_mast_uid" SelectedValue='<%#
Bind("inv_mast_uid") %>' AutoPostBack="True" >

</aspropDownList>

</InsertItemTemplate>

after the post back inv_mastUID field is still empty. what am i doing wrong?


 
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
Binding a DropDownList in DetailsView JJ ASP .Net 1 05-03-2007 12:18 PM
Re-Binding A DropDownList Within A DetailsView 47computers@gmail.com ASP .Net 0 03-23-2007 08:14 PM
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
Binding a textbox to a detailsview in asp.net 2.0 =?Utf-8?B?Q2VyaV9EYXZpZXM=?= ASP .Net 0 03-22-2005 06:11 PM
How to add the DropDownList and TextBox Control in DetailsView Murugan V via DotNetMonster.com ASP .Net 0 01-08-2005 09:27 AM



Advertisments