I am working on asp.net 3.5.I have a requirement like dynamically generated a list of html input controls of type='radio'.I write a onclick() event to all controls.So if i click on any radio control,it will go to javascript function and then it will submit the form.Based on the value of the clicked radio input,related data is loaded to another control.

The all functionalities are working fine .
But now my problem is after page is submitted(after postback) the clicked radio input is not checked.
So how to retain the state of clicked radio button.

Actually i store the clicked radio button to the hidden field in javascript function.Then i tried to retrieve value from that hidden field and converted to radio button to set the property checked=true.But its not working.

So please help me.

```
protected void Page_Init(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            IQueryable<tblOrganization> orglist = from o in db.tblOrganizations
                                              where o.CreatedBy == "Licensee" && o.RefID == user.UserID
                                              select o;
        if (orglist != null && orglist.Count() > 0)
        {
            string list = "<table border='0' cellpadding='0' cellspacing='0' width='350px'>";
            foreach (tblOrganization o in orglist)
            {
                list += "<tr>";
                list += "<td style='width:25px;' align='right' valign='top'><input type='radio' runat='server' name='org' id='" + o.OrgID + "' ViewStateEnabled='true' onclick='javascript:fnBindGroup(" + o.OrgID + ",this)'  /></td>";
                list += "<td style='width:325px;hieght:25px' align='left' valign='top'><a id='" + o.OrgID + "' href='#' onclick='javascript:fnSelectOrg(" + o.OrgID + ")' >" + o.OrgName + "</a></td>";
                list += "</tr>";
            }
            list += "</table>";
            divOrg.InnerHtml = list;
        }
        }
    }

```