Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
dropdownlist
- Page 1
Re: Dropdownlist in Asp.net form
Programming
Web Development
13 Years Ago
by kvprajapati
DropDownList
is a ready to use control in asp.net and you have to put some values in it. [code] DropDownList1.Items.Add("Value1"); .... [/code]
DropDownList help
Programming
Web Development
14 Years Ago
by reptar
… 'add blank to user id ddlist Dim update_status As
DropDownList
= CType(sender,
DropDownList
) If update_Status.Items.Count = 0 Then update_Status.Items.Insert… the real code forthe update Try Dim update_status As
DropDownList
= CType(sender,
DropDownList
) Dim dataGrid_1 As DataGridItem = CType(update_Status.Parent.Parent, …
DropDownList
Programming
Web Development
17 Years Ago
by yatt
… 2nd contain employee name.When I click the 1st
DropDownList
, the 2nd will display the employee name which…are under that department.The problem is the 2nd
DropDownList
will display redundant data and when I choose …will add to the previous employee list in the 2nd
DropDownList
. My code: [code] Protected Sub cboJbtn_SelectedIndexChanged(ByVal …
dropdownlist
Programming
Web Development
15 Years Ago
by chriscross86
…annually"></asp:ListItem> <asp:
dropdownlist
selected="true" value="Monthly">…;</asp:ListItem> <asp:
dropdownlist
selected="true" value="weekly">…;Daily"></asp:ListItem> </asp:
dropdownlist
>[/code] im getting error telling 'cannot have multiple…
Re: dropdownlist
Programming
Web Development
15 Years Ago
by Aneesh_Argent
…, you cannot have multiple items selected on a
Dropdownlist
. You can set only one ListItem's Selected …which will be the default selected Item of your
Dropdownlist
. Your
Dropdownlist
should be something similar like this: [CODE] &…lt;asp:
DropDownList
ID="DropDownList1" runat="server">…
DropDownList....Help
Programming
Web Development
16 Years Ago
by sibotho
Hi all I have a
DropDownList
in in one of my web application's… now i want to display the contents of that
DropDownList
in another Page. Can someone please show me the… in C#. When i try to use the
DropDownList
in this other page it doesn't recognise it… because the
DropDownList
is not in that Page, it is a …
Re: DropDownList
Programming
Web Development
17 Years Ago
by yatt
Yes. I did set the autopostback of both the
dropdownlist
to true. It seem that my program will run the …
DropDownList
Programming
Web Development
17 Years Ago
by raheleh
[COLOR=#000000]I need some information about
dropdownlist
on a web page .[/COLOR] [COLOR=#000000]I want to select items when I type each item on
dropdownlist
without opening
dropdownlist
.[/COLOR]
Re: DropDownList....Help
Programming
Web Development
16 Years Ago
by kokkee
put ur
dropdownlist
in user control. Then u just need to include the user control on any place or any page when u need to use the
dropdownlist
.
Re: DropDownList....Help
Programming
Web Development
16 Years Ago
by sibotho
[quote=kokkee;369739]put ur
dropdownlist
in user control. Then u just need to include the user control on any place or any page when u need to use the
dropdownlist
.[/quote] Can you please explain more about this user control or give me a example. I don't really understand it.
Dropdownlist
Programming
Web Development
13 Years Ago
by sravi.pearl
…, I am new to php, i have a question regarding
dropdownlist
in php file. If i have a table with 3… dropdown list for each row. I am able to display
dropdownlist
under the table but i am not able to display… in each row of the table. Note: i am getting
dropdownlist
data from mysql database table.ie.from a row in…
Re: DropDownList....Help
Programming
Web Development
16 Years Ago
by greeny_1984
hi, it can be written using session.first we create a session for the selected item in the
dropdownlist
and redirect to next page. In the newxt page we retrieve this session and use it for the specified purpose using convert option hope this helps bye
Re: Dropdownlist
Programming
Software Development
12 Years Ago
by hericles
Hi, Create a loop that runs through the
dropdownlist
items. Like so: [CODE] for(int i = 0; i <
dropdownlist
.items.count; i++) { // access each item and do something with it via //
dropdownlist
.items[i].ToString() or whatever suits } [/CODE] Hope that helps,
Dropdownlist.... please help
Programming
Software Development
16 Years Ago
by sibotho
Hi All I have a
dropdownlist
in one page, now I want to display the contents of that
dropdownlist
in a different page, can someone help me with this. Thanks in advance
Dropdownlist
Programming
Software Development
12 Years Ago
by jaejoong
How can I get all the data in
dropdownlist
? For specific data, I encode:
Dropdownlist
.selecteditem.text. But how can I get all the data? Thanks in advance.
Re: DropDownList
Programming
Web Development
17 Years Ago
by mojio
I guess ...
Dropdownlist
could have only one text datafield. Your sql command have … field age in datatextfield so your field age show in
dropdownlist
^^
Re: Dropdownlist
Programming
Web Development
14 Years Ago
by kvprajapati
… a value you are assigned to the
DropDownList
control is not present inside the
DropDownList
's items. Yes, the DropDownControl is empty…
Re: Dropdownlist
Programming
Web Development
14 Years Ago
by Pankaj18
… a value you are assigned to the
DropDownList
control is not present inside the
DropDownList
's items. Yes, the DropDownControl is empty…
Re: Dropdownlist
Programming
Web Development
14 Years Ago
by Pankaj18
Thanks. But it working when
dropdownlist
have some values, i have another case when i have no items in
dropdownlist
,it have only one item 'Select One', it display same error:: 'drpcompname' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value Thanks! Pankaj Singh
Re: Dropdownlist
Programming
Software Development
12 Years Ago
by yorro
If you are planning to put them to an array. [CODE]
dropdownlist
.Items.CopyTo(SomeArray,0) ' First argument, the array. Second is the index of the array. [/CODE]
DropDownList
Programming
Web Development
18 Years Ago
by Fenerbahce
… in one of columns. i cant add them into the
DropDownList
. DropDownList2.DataSource = kisiler DropDownList2.DataTextField = [COLOR=#800000]"name"…
Dropdownlist
Programming
Web Development
14 Years Ago
by Pankaj18
… want to display a text, getting from database, into a
DropdownList
using text property. My Code:: [code=ASP.NET]SqlDataReader drd…
Re: Dropdownlist
Programming
Web Development
14 Years Ago
by kvprajapati
Does your
dropdownlist
contains items? If yes then use [CODE=ASP.NET] drpcompname.SelectedValue=drd.GetValue(0).ToString(); [/CODE]
Re: Dropdownlist
Programming
Web Development
14 Years Ago
by Pankaj18
[QUOTE=adatapost;907622]Does your
dropdownlist
contains items? If yes then use [CODE=ASP.NET] drpcompname.…
Re: Dropdownlist
Programming
Web Development
14 Years Ago
by kvprajapati
First, fill the
dropdownlist
with values.
Re: Dropdownlist
Programming
Web Development
14 Years Ago
by kvprajapati
If
dropdownlist
has no items (values) then you cannot assign a value for selection. This is the fact. Do not assign value if dropdown is empty.
dropdownlist
Programming
Web Development
13 Years Ago
by lm111
… is my code, thanks so much. aspx [code] <asp:
DropDownList
ID="mydropdownList" runat="server" /> [/code…
DropDownList
Programming
Web Development
12 Years Ago
by Netcode
… to be the same with the selectedted item of the
dropdownlist
but it seems not to be working Here's my…
Re: DropDownList
Programming
Web Development
12 Years Ago
by Netcode
Yousuf, how many time do i have to show my code? well, here it is: [CODE]Textbox1.text =
DropDownList
.text.tostring[/CODE]
Re: DropDownList
Programming
Web Development
12 Years Ago
by jaejoong
textbox1.text =
DropDownList
.selecteditem.text
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC