I have a simple test with two buttons and two x asp:panel, a raddatepicker is inside panel2 .
Ajax manager has both buttons as initiator and both panels as updated controls.
If in the page load i set both panels initially to invisibile. Then button1 server side code sets the culture for the datepicker to "nl-NL" (or any other..), turns the visibilty of panel1=true (nothing in it for the purpose of this example) but does not set the visibility on for panel 2 (so still not visible).
Button2 code behind sets the visibility=true for the panel2, the datepicker is also now visible, turns panel1 visibility=false.
drop the calendar down, and the culture is not set.
Click the button1 again which executes the same culture settings (i tried all three, raddatepicker.culture, raddatepicker.calendar.cultureinfo & raddatepicker.dateinput.cultureinfo) and switches the panel visibility, Click button2, datepicker now visible with correct culture setting.
I gues this has something to do with the fact that panel2 has never been visible until the second button1 click, but I don't know how to work around this.
Any help?
Thanks,
Kevin.
p.s i'm using the latest promthius version
p.p.s using normal full calendar control works.
Ajax manager has both buttons as initiator and both panels as updated controls.
If in the page load i set both panels initially to invisibile. Then button1 server side code sets the culture for the datepicker to "nl-NL" (or any other..), turns the visibilty of panel1=true (nothing in it for the purpose of this example) but does not set the visibility on for panel 2 (so still not visible).
Button2 code behind sets the visibility=true for the panel2, the datepicker is also now visible, turns panel1 visibility=false.
drop the calendar down, and the culture is not set.
Click the button1 again which executes the same culture settings (i tried all three, raddatepicker.culture, raddatepicker.calendar.cultureinfo & raddatepicker.dateinput.cultureinfo) and switches the panel visibility, Click button2, datepicker now visible with correct culture setting.
I gues this has something to do with the fact that panel2 has never been visible until the second button1 click, but I don't know how to work around this.
Any help?
Thanks,
Kevin.
p.s i'm using the latest promthius version
p.p.s using normal full calendar control works.