Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
495
How to bind a class properties which is a property in the datasource class while using a Hierarchical Grid
posted

I have a class which is populated like this

var Signer2 = new SignerInformation()
           {
               SignerIndex = 2,
               SignerName = "Rob",
               SignatureStatus = false,
               eSign = SignerInformation.eSignature.Remote,
               SignerAuth = new SignerAuthentication                     {                         AuthenticationMode = SignerAuthentication.AuthenticationType.Password                        ,EmailAddress       = "tes2t@immonline.com"                        ,Details            = "Signer2 Details"                     }
           };
           var SignersInfoCol = new List<SignerInformation>();          
           SignersInfoCol.Add(Signer2);
           return SignersInfoCol.AsQueryable();
My Hierarchical grid columns are defined like this below:
grid.AutoGenerateLayouts = false;
          grid.AutoGenerateColumns = false;
          grid.PrimaryKey = "SignerIndex";
          grid.Width = "100%";
          grid.Columns.Add(new GridColumn() { HeaderText = "Signer Index",Key = "SignerIndex",DataType = "number",Width = "10%", Hidden=true});
          grid.Columns.Add(new GridColumn() { HeaderText = "Signer Name",Key = "SignerName",DataType = "string",Width = "10%" });
          grid.Columns.Add(new GridColumn() { HeaderText = "Status",Key = "SignatureStatus",DataType = "string",Width = "10%" });
          grid.Columns.Add(new GridColumn() { HeaderText = "Signer Information",Key = "eSign",DataType = "string",Width = "10%" });
                    grid.Columns.Add(new GridColumn() { HeaderText = "Authentication Mode",Key = "SignerAuth.AuthenticationMode",DataType = "string",Width = "10%" });           grid.Columns.Add(new GridColumn() { HeaderText = "EmailAddress",Key = "SignerAuth.EmailAddress",DataType = "string",Width = "10%" });           grid.Columns.Add(new GridColumn() { HeaderText = "Details",Key = "SignerAuth.Details",DataType = "string",Width = "20%" });
1) So How can I set the complex property? 
2) How to format the Status to radio button in control code? and set its status?
You help is much appreciated.