Mar 04, 2010, 9:18 AM
[CLOSED] How to get Item selected from a CycleButton inside the method InitializeCulture()?
Hi,
The method that makes possible the translation "InitializeCulture()" is executed when the page is loaded before any other method or event is exected.
I am using a CycleButton to change the languge causing a postback to execute InitializeCulture()
Because this method is executed before the ItemClick event I am not sure how to get the item seleted in the InitializeCulture() method, could you help me with this please?
The following example code shows how to do what I want using a asp DropDownList.
The method that makes possible the translation "InitializeCulture()" is executed when the page is loaded before any other method or event is exected.
I am using a CycleButton to change the languge causing a postback to execute InitializeCulture()
Because this method is executed before the ItemClick event I am not sure how to get the item seleted in the InitializeCulture() method, could you help me with this please?
The following example code shows how to do what I want using a asp DropDownList.
protected override void InitializeCulture()
{
string culture = Request["DropDownLanguage"];
}