Radio Button in Grid Where XML generate dynamicaly

My grid XML generate dynamically.



I want first column contain ratio button.



res += " " +

“Select Flight”+

" Flight No " +

" Airways " +

" Source " +

" Destination " +

" Departure Time " +

" Arrival Time " +

" Via " +

" Stops " +

" Aircraft Type " +

" " +

" px " +

" " +

" ";







and



res += “”;

res += “”; // For Radio button

foreach (XmlElement param in xmlDoc.GetElementsByTagName(“param”))

{



if (param.Attributes[“name”].Value == “AirwaysCode”)

{

switch (drTrain[param.Attributes[“name”].Value].ToString().Trim())

{

case “DN”:





res += “<![CDATA[ ]]>”;

break;

case “S2”:

res += “<![CDATA[ ]]>”;

break;

case “9W”:

res += “<![CDATA[ ]]>”;

break;

case “AI”:

res += “<![CDATA[ ]]>”;

break;

case “IT”:

res += “<![CDATA[ ]]>”;

break;





}

}

else

{

res += “” + drTrain[param.Attributes[“name”].Value].ToString() + “”;

}

}

res += “”;

}



}

return res;





but they don’t display radio button



The same code works correctly in case of local samples ( attached )
Please be sure that you set correct image path ( grid.setImagePath ) , because it may affect radion button rendering.

By the way, row tag must have id attribute

1219395517.zip (89.1 KB)