Click here to Skip to main content
15,887,083 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ModalPop_up Pin
Petr Pechovic11-Nov-09 7:35
professionalPetr Pechovic11-Nov-09 7:35 
GeneralRe: ModalPop_up Pin
Ersan Ercek11-Nov-09 8:27
Ersan Ercek11-Nov-09 8:27 
GeneralRe: ModalPop_up Pin
Ersan Ercek12-Nov-09 0:13
Ersan Ercek12-Nov-09 0:13 
QuestionDynamic text box Pin
sris 42611-Nov-09 6:42
sris 42611-Nov-09 6:42 
AnswerRe: Dynamic text box Pin
Abhishek Sur11-Nov-09 6:55
professionalAbhishek Sur11-Nov-09 6:55 
GeneralRe: Dynamic text box Pin
sris 42611-Nov-09 7:00
sris 42611-Nov-09 7:00 
AnswerRe: Dynamic text box Pin
Abhishek Sur11-Nov-09 11:57
professionalAbhishek Sur11-Nov-09 11:57 
Questiondatalist with embedded dropdownlist question 2.) [solved] Pin
Crapaw4511-Nov-09 5:59
Crapaw4511-Nov-09 5:59 
I have a datalist which includes an embedded dropdownlist. The datalist is similar to a simple shopping cart. The dropdownlist is the qty required. I've been able to set the extend price etc, but I'm also trying to set the selected qty of this dropdownlist. It doesn't seem to like any embedded <%# eval()%> in the html. The qty is updated in the database and is returned. This is the html:
===================================================================
<asp:DropDownList ID="ddlQty" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlQty_Changed" >
<asp:listitem runat="server" value="1" Selected='<%# Eval("itemqty")==1 %>' />
<asp:listitem runat="server" value="2" Selected='<%# Eval("itemqty")==2 %>' />
<asp:listitem runat="server" value="3" Selected='<%# Eval("itemqty")==3 %>' />
<asp:listitem runat="server" value="4" Selected='<%# Eval("itemqty")==4 %>' />
<asp:listitem runat="server" value="5" Selected='<%# Eval("itemqty")==5 %>' />
<asp:DropDownList>
====================================================================
Error: Databinding expressions are only supported on objects that have a DataBinding event. System.Web.UI.WebControls.ListItem does not have a DataBinding event.

Any ideas?Confused | :confused:

For referenc, my initial C# question was on 11/5/2009.

Used C# to update the selected value while looping thru the dataset and the datalist.Thumbs Up | :thumbsup:

modified on Thursday, November 12, 2009 3:29 PM

QuestionVersion error Pin
netsooz (Amir Hamidi)11-Nov-09 4:41
netsooz (Amir Hamidi)11-Nov-09 4:41 
AnswerRe: Version error Pin
netsooz (Amir Hamidi)11-Nov-09 4:57
netsooz (Amir Hamidi)11-Nov-09 4:57 
AnswerRe: Version error Pin
Aman Bhullar11-Nov-09 18:36
Aman Bhullar11-Nov-09 18:36 
Questionasp.net files Pin
tamir90111-Nov-09 4:21
tamir90111-Nov-09 4:21 
AnswerRe: asp.net files Pin
N a v a n e e t h11-Nov-09 4:24
N a v a n e e t h11-Nov-09 4:24 
GeneralRe: asp.net files Pin
tamir90111-Nov-09 4:27
tamir90111-Nov-09 4:27 
GeneralRe: asp.net files Pin
Abhishek Sur11-Nov-09 4:56
professionalAbhishek Sur11-Nov-09 4:56 
GeneralRe: asp.net files Pin
tamir90111-Nov-09 19:53
tamir90111-Nov-09 19:53 
GeneralRe: asp.net files Pin
Abhishek Sur11-Nov-09 21:33
professionalAbhishek Sur11-Nov-09 21:33 
AnswerRe: asp.net files Pin
Abhijit Jana11-Nov-09 4:57
professionalAbhijit Jana11-Nov-09 4:57 
Questioncan we send the data of gridview through mail Pin
chandra23411-Nov-09 2:50
chandra23411-Nov-09 2:50 
AnswerRe: can we send the data of gridview through mail Pin
Abhijit Jana11-Nov-09 5:11
professionalAbhijit Jana11-Nov-09 5:11 
AnswerRe: can we send the data of gridview through mail Pin
Aman Bhullar11-Nov-09 18:46
Aman Bhullar11-Nov-09 18:46 
QuestionActive Directory Search is computer in group - help please Pin
sismeya11-Nov-09 2:38
sismeya11-Nov-09 2:38 
QuestionHow we can do for fast execution the page Pin
lrsalunkhe11-Nov-09 2:18
lrsalunkhe11-Nov-09 2:18 
AnswerRe: How we can do for fast execution the page Pin
Kannan Ar11-Nov-09 2:30
professionalKannan Ar11-Nov-09 2:30 
AnswerRe: How we can do for fast execution the page Pin
Abhijit Jana11-Nov-09 5:01
professionalAbhijit Jana11-Nov-09 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.