I am getting mixed results on different servers from the same code.
I have an obout textbox and an obout calendar that extends the textbox, based on its ID. They live inside a control.
The name of the text box is, for simplicity: Start_Date
The obout calendar asks for TextBoxID, so I enter Start_Date.
If i have this code outside of the control, in the main page, it works fine on both servers... but if I have it in the control and it isn't pushing dates to the text field at all... field remains blank.
One thing I found interesting was that if i set the TextBoxID in the calendar to ControlName1$Start_Date, it functions fine on one server, but not the other.
In investigating the output code, i see something interesting...
one server renders the text box's id as:
and the other server as:
I don't see why, but this seems to be causing some issue with the calendar to actually push the clicked date value into the text box.
I tried playing around with ClientIDMode. Tried all the different settings (Static, etc). Same results every time.
Any ideas as to what I could be missing here? Why does one use an underscore, and one use a dollar sign in the ID naming, and is there any way to make this "predictable" (as predictable in clientIDMode didn't seem to affect this)
And any idea why i can't just use the actual text box's ID name "Start_Date" when setting TextBoxId="Start_Date" in the obout calendar?
Thanks for suggestions or tips. I've spent so much time going in circles on this one.