Render a .NET control in a NAV 2009 R2 Page ?

Chemanel
Member Posts: 15
Hi,
With the release of NAV 2009 R2 and his interop with .NET, i was asking myself if we could render some .NET controls directly in a page (for the role center for example)(using c# chart objects could be nice, or objects for image generation, or maybe forms, etc..).
I've made some tests, and nothing concluent by now...
Does someone got some informations?
With the release of NAV 2009 R2 and his interop with .NET, i was asking myself if we could render some .NET controls directly in a page (for the role center for example)(using c# chart objects could be nice, or objects for image generation, or maybe forms, etc..).
I've made some tests, and nothing concluent by now...
Does someone got some informations?
0
Comments
-
You need to use the addin functionality. You can check my Universal WPF addin allowing you to add WPF components on the page dynamically (with some limitations). http://www.mibuso.com/dlinfo.asp?FileID=11950
-
Thanks for your reply..
I've seen your addin before, and i've take a look at it some weeks ago..
It's a very good exemple, but the thing i don't like with addins, it's that we must manually intall them on all the clients.
I was thinking, now that we can use all the .net classes, directly in C/AL code, that maybe, with something like calling a Render() method, it was possible to render a .NET control directly from the .NET Classes..
Do you see what i mean? i've made some test but i find nothing for now...0 -
Yes, I know, but even than I will not go this way for customer. It is not supported and the way could break very easilly...0
-
Hi Chemanel,
looks like you want to circumvent the missing the auto distribution feature by providing custom rendering through .Net / an image.
I cannot see how that would help. If you render the UI image with a client side .Net component, you need to distribute this. XAML file alone from the server is not really sufficient for an interactive control. And rendering of the UI server side would put a lot of stress on the server that does not belog there, and network latency is rather hindering in rendering situations too.
Have you tried the prototype for On-the fly distribution of client side components on Freddy's Blog?
http://blogs.msdn.com/b/freddyk/archive ... nents.aspx“This posting is provided "AS IS" with no warranties, and confers no rights.”
Christian Abeln
Program Manager Microsoft
Dynamics NAV
blogs.msdn.com/cabeln/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions