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

javascript error when model for DropDownListFor is null

$
0
0
Hello Alex,

From the provided information it seems that the source if the issue is the column template that you are using. In order to support null values you should access the nested fields only if the parent field is not null. Please check the updated code below:

.ClientTemplate("#=FailureStrategyLookup ? FailureStrategyLookup.FailureStrategy : 'no value'#")

Regards,
Vladimir Iliev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 99250

Trending Articles



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