Hi there,
I have a large application with some 2009 vol. 1 controls. For some pages, the default placement of the "calendar popup" is fine, but on one particular page, I need to be able to set where the 'calendar popup' appears. How can I do this? Everything I've tried thus far has failed to work.
Thank you in advance,
Adrian Bromfield
HI,
Please read this help link - on the DropDownAlignment property.
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.1/CLR3.5/html/WebCalendar_Align_WebCalendar_with_WebDateChoosers_Drop_Down_List.html
Hello again. I was able to use absolute positioning on the calendar drop down using javascript (jQuery to be specific). I used the AfterDropDown client-side event to expose the drop down to javascript and then manipulate from there.
The new problem is that after positioning the drop down, all controls become dead. I cannot click on any of the days nor the month & year drop downs. They don't show as disabled, however they act like it. If i comment out the line of javascript that manipulates the css, functionality is restored.
Any suggestions? I absolutely have to reposition the drop down.
Here is my javascript :
function cboStartDate_AfterDrop(oDateChooser, dropDownPanel, oEvent) { var posL = $("#startDateContainer").offset().left - $(".FormContentContainer").offset().left; var posT = $("#startDateContainer").offset().top - 102; $(dropDownPanel).css("position", "absolute").css("left", posL + "px").css("top", posT + "px"); }
Thanks,
Andrew
Thank you for your help. Although it was not quite what I needed help with, it did lead me to DropDownStyle property where I was able to use margin-left and margin-top to manually and absolutely position the 'calendar popup' where i wanted.
Thanks again,
Adrian