1
Answer

UserControl and ASPX page in asp.net

Hello,

I am going to use UserControl in my asp.net project . That UserControl have Few Nominee input fields (FirstName, Lastname, gender, phone no, email) , Submit button and GridView.

On clicking submit button the record is getting added in GridView. Multiple dtls/record can be added from usercontrol and will bind it to gridview.

On ASPX page , I have List<NomineeDetails> NomineeDetails input. I want to bind the gridview to that input without any Conversion issue of list to grid.

I have tried few ways to bind , but somehow either grid is getting null on ASPX page, also not able to convert that Grid to List<NomineeDetails> object.

SO how to pass that gridview details from USERCONTROL to ASPX page

Thanks in advance !

Answers (1)