I have asp.net form that contains fields. When I access this window, my javascript functions can access the fields via the DOM with the getElementById() method and when I postpack to the server I am receiving the updates made by the client.
However, when I launch the form as a child window using Telerik's RadWindow control, the javascript can not access the hidden fields on the child form. Instead I get null.
My questions are:
- Are hidden fields on a child window not accessible when the window is launched from a parent asp.net form?
- Has anyone attempted this with Telerik controls and run into issues?
EDIT Craig pointed out that the id may be different. Two additional questions then:
- Can you ensure that the id you assign at the server is actually used?
- Is using getElementByName() a better mechanism to access DOM elements?