R
Richard Myers
Hello
I have a datagrid that has a TemplatedColumn containing a dropdown list
(DDL). This DDL is filled for each datagrid row via the itemcreated created
event.
The first time i postback none of the selections made by the user are
available for each dropdownlist on the server. They all simply have values
equal to the first record of the datasource.... which is not very useful.
However after i have posted back once; on the postbacks that follow i have
access to the selections the user made?
The DDL is hooked up as per usual with runat=server and an ID value. Its not
that it cannot be seen by the server, i can interrogate its values via debug
tools, but they all just equal the value of the first record. This behaviour
is just plain weird as if something hasn't been registered with viewstate
but viewstate is enabled so what gives?
Richard
I have a datagrid that has a TemplatedColumn containing a dropdown list
(DDL). This DDL is filled for each datagrid row via the itemcreated created
event.
The first time i postback none of the selections made by the user are
available for each dropdownlist on the server. They all simply have values
equal to the first record of the datasource.... which is not very useful.
However after i have posted back once; on the postbacks that follow i have
access to the selections the user made?
The DDL is hooked up as per usual with runat=server and an ID value. Its not
that it cannot be seen by the server, i can interrogate its values via debug
tools, but they all just equal the value of the first record. This behaviour
is just plain weird as if something hasn't been registered with viewstate
but viewstate is enabled so what gives?
Richard