Hi All,
I have a problem in displaying the user control(.ascx) in .aspx page which is openned as a popup.
On selected Index change of combo1 Iam loaing the combo2 using XMLHttp.
(Iam not posting back). Iam sending the data in XML format and the combo2 object to following function.
After the funtion is executed Iam getting the combo2 as expected but one of the user control (Date Control) which was there previously disappears.
The function is as follows:


function fillCombo(objCombo, xmlValue, allowBlank, isClear, Options, option, ID)
{
if(objCombo)
{
var xmlDoc = new ActiveXObject("MSXML2.FreeThreadedDOMDocument.3.0");
xmlDoc.async = false;
xmlDoc.loadXML(xmlValue);

if(objCombo)
{
if(!Options)
Options = _OPTIONS;
if(!option)
option = _OPTION;
if(!ID)
ID = _ID;

if(isClear != false)
{
//Clear the list
objCombo.options.length = 0;
}

var xmlRoot = xmlDoc.documentElement; //Lookups
if(xmlRoot)
{
if(allowBlank == true)
{
var objOption = document.createElement("OPTION");
//Add to the list
objCombo.add(objOption);
objOption.value = 0;
}

var xmlOptions = xmlRoot.selectNodes(Options + "/" + option);

//loop through the elements to populate the list
for(var counter =0; counter < xmlOptions.length; counter++)
{
var xmlOption = xmlOptions[counter];
var objOption = document.createElement("OPTION");

//Add to the list
objCombo.add(objOption);

objOption.value = xmlOption.getAttribute(ID);
objOption.innerText = xmlOption.text;



}
}
}
}
}

I don't get the user control after the statement "objCombo.add(objOption)"
is executed.
Can sombody explain me what's the problem and also the solution for this.
Thanks a lot in advance.
swarna