R
Robert Dufour
I have a content page in a site that references a master page. In the
content page I have an aspnet Dropdownlist control that has autopostback set
to true.
I think that when I select another item I should get the value of the
selected item in vb code behind as
Dim myval as string
myval = Request("mydropdownlist")
This works in a page that is not a content page using a master page.
If I use this code in a page that is referencing a master page the value of
Request("mydropdownlist") remains at nothing.
There must be some other way to reference dropdownlist control and the value
of it's selected item that must be different when the content page
references a master page.
Can anyone tell me what it needs to be?
A bit of sample code would be appreciated
Thanks in advance for any help,
Bob
content page I have an aspnet Dropdownlist control that has autopostback set
to true.
I think that when I select another item I should get the value of the
selected item in vb code behind as
Dim myval as string
myval = Request("mydropdownlist")
This works in a page that is not a content page using a master page.
If I use this code in a page that is referencing a master page the value of
Request("mydropdownlist") remains at nothing.
There must be some other way to reference dropdownlist control and the value
of it's selected item that must be different when the content page
references a master page.
Can anyone tell me what it needs to be?
A bit of sample code would be appreciated
Thanks in advance for any help,
Bob