Aug 07, 2012, 5:28 PM
[CLOSED] Custom Ext.NET components as MVC Helpers?
Hi,
In some of my recent thread discussions we've been talking about custom components and they work great for Web Forms.
I was looking at your source code to see how you create the MVC counterparts, and I think you have a series of builders and builder factory classes etc that help to form the helpers and they all get added to the X class. I presume they are auto-gen'd somehow? It looks neat (still need to study it more deeply).
But, from what I can tell the BuilderFactory, Builder and various other classes you use are partial classes. If I understand that right I think that means I cannot use the same approach in my own project because partial classes have to be in the same project as they all get compiled into one class at compile time.
If that is the case, what is the best way to make a custom Ext.NET component available as an MVC helper - or do you have any examples I can look at?
Many thanks!
In some of my recent thread discussions we've been talking about custom components and they work great for Web Forms.
I was looking at your source code to see how you create the MVC counterparts, and I think you have a series of builders and builder factory classes etc that help to form the helpers and they all get added to the X class. I presume they are auto-gen'd somehow? It looks neat (still need to study it more deeply).
But, from what I can tell the BuilderFactory, Builder and various other classes you use are partial classes. If I understand that right I think that means I cannot use the same approach in my own project because partial classes have to be in the same project as they all get compiled into one class at compile time.
If that is the case, what is the best way to make a custom Ext.NET component available as an MVC helper - or do you have any examples I can look at?
Many thanks!
Last edited by Daniil; Aug 08, 2012 at 9:49 AM.
Reason: [CLOSED]