Ask a Question related to ASP.NET General, Design and Development.
-
Jesse #1
DropDownList.SelectedValue not changing
I have a DropDownList that is bound and properly filled from my DataSet
when the page loads. but when the I try to retrieve any value I always
get the first value...Any ideas?
Jesse Guest
-
changing the dropdownlist
I read in the MSDN that it is not possible to add attributes to listitems of dropdownlist control in c# web application. I wanted to know if... -
Retrieving SelectedValue from DropDownList
I have a few DropDownList controls used for new record entry in the footer of a datagrid and I want to limit the options available in one list based... -
Losing one row of datagrid when changing dropdownlist inside it.
Thanks in advance for your time- Hello. I have a datagrid with one row. I have a button that adds a new row. I am trying to implement that... -
Changing text without changing frames.
I have a small flash movie that is basically a color chooser. Rather than changing the color of an item by putting the color in a frame I change... -
Persisting DDL.SelectedValue or DDL.SelectedItem.Value without Viewstate
Use the forms collection. Something like Request.Form("myDDL") in VB. "Paul Aspinall" <paul@nospamaspy.co.uk> wrote in message... -
Teemu Keiski #2
Re: DropDownList.SelectedValue not changing
Do you bind the DroPDownList only on initial request that is checking
!IsPostBack (Not isPostBack)?
--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
[url]http://www.mansoft.fi[/url]
AspInsiders Member, [url]www.aspinsiders.com[/url]
ASP.NET Forums Moderator, [url]www.asp.net[/url]
AspAlliance Columnist, [url]www.aspalliance.com[/url]
"Jesse" <spootwo@hotmail.com> wrote in message
news:u91a3LgUDHA.2052@TK2MSFTNGP10.phx.gbl...> I have a DropDownList that is bound and properly filled from my DataSet
> when the page loads. but when the I try to retrieve any value I always
> get the first value...Any ideas?
>
Teemu Keiski Guest
-
Jesse #3
Re: DropDownList.SelectedValue not changing
Thank you...I had no idea
Teemu Keiski wrote:
> Do you bind the DroPDownList only on initial request that is checking
> !IsPostBack (Not isPostBack)?
>Jesse Guest
-
DudeGuy #4
DropDownList.SelectedValue not changing
Please Set "Autopost back" PROPERT to "true" and you will
be cool.
from my DataSet>-----Original Message-----
>I have a DropDownList that is bound and properly filledvalue I always>when the page loads. but when the I try to retrieve any>get the first value...Any ideas?
>
>.
>DudeGuy Guest
-
Rose #5
Re: DropDownList.SelectedValue not changing
Add AppendDataBoundItems="true" in dropdown Properties
asp:DropDownList ID="ddlProject" runat="server" AutoPostBack="true" AppendDataBoundItems="true"
onselectedindexchanged="ddlProject_SelectedIndexCh anged"Rose Guest
-
Unregistered #6
DropDownList.SelectedValue not changing
my dropdownlist's selectedvalue is showing 0 always?
any idea to change it accrding to selectionUnregistered Guest



Reply With Quote

