View Full Version : [CLOSED] Anonymous type for ParameterCollection worked in beta but not in release

Sep 27, 2016, 11:32 AM
Hi, the following code worked in Ext.Mobile BETA, but not in RELEASE. I get this error when passing an anonymous object to the Defaults()-method:

Compiler Error Message: CS1503: Argument 1: cannot convert from '<anonymous type: string styleSpec>' to 'System.Action<Ext.Net.Mobile.ParameterCollection>'

var x = Html.X();
.Title("Defaults test")
.Defaults(new { styleSpec="background-color:green;" }) // <-- ERROR

Sep 28, 2016, 12:32 AM

Can you try Ext.NET Mobile off github sources? This has already been fixed in the latest snapshot.

Nov 16, 2016, 3:15 PM
Hello @sveins12!

It's been some days already and we didn't hear back from you regarding this issue. While we are confident we have fixed this already, maybe in your use case scenario something is still not right and knowing it will help us improve Ext.NET Mobile accordingly!

Hope to hear your feedback soon!