Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Selecting Null Item in DropDown

$
0
0
Hello Paul, 

Thank you for writing back. 

Although the Job.Person property is not set to null, you can distinguish if the Id property is 0 or some other default value for the empty Person. Null is not a valid Person instance. That is why the popup grid doesn't create an attached data row for this record. Hence, the selection is not changed in this case. 

The recommended approach is to create an empty Person instance which will be used for the empty selection.

I hope this information helps. If you have any additional questions, please let me know.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.

Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>