Posted on 2009-05-11
Weird weird one this.
Since the panel is in a custom control in a content placeholder in a masterpage .. the id of the field changes to:
<div id="ctl00_ContentPlaceHolder1_SelectMultipleUsers1_PopupPanel" class="PopupPanel" style="display:none;">
var theDiv = document.getElementById("ctl00_ContentPlaceHolder1_SelectMultipleUsers1_PopupPanel");
This is all fine until i put it on a different server and for some unknow reason its changed the prefix!! Its now:
I dont know whats different on that server but the server admin has told me they should be the same! I was never 100% happy using the full name but ah well.
So my question is:
Is there any way to specify what prefix is used with master pages / controls?
Thanks in advance