Click here to Skip to main content
16,008,469 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: firing an dropdownlist event Pin
N a v a n e e t h12-Aug-07 21:26
N a v a n e e t h12-Aug-07 21:26 
AnswerRe: firing an dropdownlist event Pin
ravi_chandra12-Aug-07 21:27
ravi_chandra12-Aug-07 21:27 
Questionhello everyone Pin
ballameharmurali12-Aug-07 21:01
ballameharmurali12-Aug-07 21:01 
AnswerRe: hello everyone Pin
N a v a n e e t h12-Aug-07 21:29
N a v a n e e t h12-Aug-07 21:29 
AnswerRe: hello everyone [modified] Pin
Nick.cheng.liu12-Aug-07 22:44
Nick.cheng.liu12-Aug-07 22:44 
QuestionProblem in CheckBoxList Pin
ballameharmurali12-Aug-07 20:47
ballameharmurali12-Aug-07 20:47 
AnswerRe: Problem in CheckBoxList Pin
N a r e s h P a t e l13-Aug-07 2:35
N a r e s h P a t e l13-Aug-07 2:35 
QuestionNested Controls Pin
sandrider12-Aug-07 20:46
sandrider12-Aug-07 20:46 
Hi,

I have an asp:Repeater and need to add an asp:DropDownList in it (i.e. nested).

The asp:Repeater works but not the asp:DropDownList.

<code>
Sub R1_ItemDataBound(Sender As Object, e As RepeaterItemEventArgs)

Dim ds As New DataSource
Dim data As New DataSet

data = ds.GetDataFunction

If (e.Item.ItemType = ListItemType.Item) Or _
(e.Item.ItemType = ListItemType.AlternatingItem) Then

Dim a As DropDownList = e.Item.FindControl("ddl")
a.DataSource = data1
a.DataValueField = "ID"
a.DataTextField = "name"
a.DataBind
End If
End Sub
</code>

And the html code

<code>
<asp:DropDownList id="ddl" runat="server" OnItemDataBound="R1_ItemDataBound" />
</code>

The DropDownList shows but it is not populated. What am I doing wrong?

Thanks.

Desmond
AnswerRe: Nested Controls Pin
Venkatesh Mookkan12-Aug-07 21:48
Venkatesh Mookkan12-Aug-07 21:48 
GeneralRe: Nested Controls [modified] Pin
sandrider13-Aug-07 13:48
sandrider13-Aug-07 13:48 
AnswerRe: Nested Controls [modified] Pin
John-ph13-Aug-07 0:01
John-ph13-Aug-07 0:01 
GeneralRe: Nested Controls [modified] Pin
sandrider13-Aug-07 13:56
sandrider13-Aug-07 13:56 
Questiondesign view problem????? Pin
Ron.S12-Aug-07 20:19
Ron.S12-Aug-07 20:19 
AnswerRe: design view problem????? Pin
N a r e s h P a t e l13-Aug-07 2:37
N a r e s h P a t e l13-Aug-07 2:37 
QuestionBULK INSERT WITH ADO.NET @sqlserver Pin
rajmani12-Aug-07 20:10
rajmani12-Aug-07 20:10 
AnswerRe: BULK INSERT WITH ADO.NET @sqlserver Pin
N a v a n e e t h12-Aug-07 21:33
N a v a n e e t h12-Aug-07 21:33 
QuestionFoucs on a Text Box using javascript? Pin
fmlove12-Aug-07 19:33
fmlove12-Aug-07 19:33 
AnswerRe: Foucs on a Text Box using javascript? Pin
Parwej Ahamad12-Aug-07 19:45
professionalParwej Ahamad12-Aug-07 19:45 
AnswerRe: Foucs on a Text Box using javascript? Pin
daniel__c12-Aug-07 19:46
daniel__c12-Aug-07 19:46 
GeneralRe: Foucs on a Text Box using javascript? Pin
Michael Sync12-Aug-07 20:08
Michael Sync12-Aug-07 20:08 
GeneralRe: Foucs on a Text Box using javascript? Pin
daniel__c12-Aug-07 20:46
daniel__c12-Aug-07 20:46 
Questionhow to display 2 or more information within 1 table cell? Pin
veracia12-Aug-07 19:28
veracia12-Aug-07 19:28 
AnswerRe: how to display 2 or more information within 1 table cell? Pin
Parwej Ahamad12-Aug-07 19:48
professionalParwej Ahamad12-Aug-07 19:48 
GeneralRe: how to display 2 or more information within 1 table cell? Pin
veracia12-Aug-07 20:02
veracia12-Aug-07 20:02 
GeneralRe: how to display 2 or more information within 1 table cell? Pin
Parwej Ahamad12-Aug-07 20:10
professionalParwej Ahamad12-Aug-07 20:10 

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.