My requirement is I ve to create a dialog class when clicking button in the form. Dialog class should ve four fields. The first two fields should ve the data from the form when dialog is opening. I passed the datasource as argument to the dialog class but unable to fill the field when dialog is opened. How can it be done?