I have added a drop down box which has auto-post back. The problem I have is I can not access that posted data.
When the drop down is changed the page refreshes. Looking at the information sent I can see that correct data is posted as form data.
DropDownCountry:86
Yet when I try and access this information for DropDownCountry I just can't get it.
I have tried using response, commonlogic (all different types) and I just can't get that int.
At the moment I have just tried
CommonLogic.FormCanBeDangerousContent("DropDownCou ntry");
yet nothing.
Can anyone help, I have no idea why I can't access this posted int.
Thanks in advance.
EDIT:
Just to note the code I have posted creates a 500 error if you just load the page as DropDownCountry does not exist. So I know it is correctly seeing the post data when I change the drop down. I just can't do anything with it for some reason.