I have a slider that contains a collection of fiscal years, and I want the right-most fiscal year to be selected by default. I was able to accomplish this in the past by populating hte slider's items in it's Init event handler, and setting its value equal to to its (Items.Count - 1).
In this scenario, however, I cannot populate the slider's items until its Load event handler, because its items depend on another control's SelectedValue, which doesn't equal anything when the any control (or even the page itself) is being initialized.
I've tried playing with Session Variables in order to determine when the slider is being initialized vs. loaded, but to no avail. Does anybody have any suggestions? Thanks!
In this scenario, however, I cannot populate the slider's items until its Load event handler, because its items depend on another control's SelectedValue, which doesn't equal anything when the any control (or even the page itself) is being initialized.
I've tried playing with Session Variables in order to determine when the slider is being initialized vs. loaded, but to no avail. Does anybody have any suggestions? Thanks!