|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do you populate the Dropdown in IE Web Controls?How can I populate the Dropdown list box in the IE Web Controls (server
side) ? dropdownlist1.add("some","text") did you at least google for this before you
posted it? -- Show quoteHide quoteRegards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc "Paul D. Fox" <pdfo***@rcn.com> wrote in message news:%23G03V$CRFHA.2748@TK2MSFTNGP09.phx.gbl... > How can I populate the Dropdown list box in the IE Web Controls (server > side) ? > Yes I did. Here is what I was trying to do which doesn't work using the Toolbar IE Web Control. I guess I'll need to use a For/Next loop and add each one at a time.
ddlCTSPayPeriods.DataSource = dsPayPeriods.Tables(0).DefaultView ddlCTSPayPeriods.DataTextField = "Pay_Periods" ddlCTSPayPeriods.DataValueField = "Payroll_Period_ID" ddlCTSPayPeriods.DataBind() Dim FirstListItem As New ListItem FirstListItem.Text = "" FirstListItem.Value = "" 'Add a blank item at the first position. ddlCTSPayPeriods.Items.Insert(0, FirstListItem) Show quoteHide quote "Alvin Bruney [MVP - ASP.NET]" <www.lulu.com/owc> wrote in message news:%23HBmEQHRFHA.2252@TK2MSFTNGP15.phx.gbl... > dropdownlist1.add("some","text") did you at least google for this before you > posted it? > > -- > Regards, > Alvin Bruney - ASP.NET MVP > > [Shameless Author Plug] > The Microsoft Office Web Components Black Book with .NET > Now available @ www.lulu.com/owc > "Paul D. Fox" <pdfo***@rcn.com> wrote in message > news:%23G03V$CRFHA.2748@TK2MSFTNGP09.phx.gbl... >> How can I populate the Dropdown list box in the IE Web Controls (server >> side) ? >> > >
Uncheck Checkboxes
Repeat web controls in ASPX page How to validate one of two Required TextBox how to display records in datagrid Dynamic loadcontrol of ascx with dll not in bin path GridView Rows collection refresh within an event Open New Window Server Side AddHandler / Remove Handler? Creating a 3 State Rollover Button DBNull.Value and the dropdownlist |
|||||||||||||||||||||||