简体   繁体   English

Delphi中的ASP.Net控件

[英]ASP.Net Controls in Delphi

I'm sure this question has been asked already but I couldn't find any posts. 我确定这个问题已经被问到了,但是我找不到任何帖子。

Is it possible to use an ASP.net control in Delphi 2006 for Win32? 是否可以在Win32的Delphi 2006中使用ASP.net控件? We have some Dev Express ASP.Net visual controls (Chart controls to be exact) that we would like to use in our Delphi application. 我们有一些Dev Express ASP.Net可视控件(确切地说是图表控件),我们想在我们的Delphi应用程序中使用。

Is this possible and how could it be done, preferably without the need to purchase more third party components. 这是可能的以及如何实现的,最好不需要购买更多的第三方组件。

Thank you. 谢谢。

您不能直接在Delphi Win32应用程序中使用这种控件,因为该组件旨在在具有ASP的Web服务器中运行并将结果公开给浏览器客户端,我认为您最好的选择是使用本地(或远程) Web服务器并创建一个接受HTTP请求的网页,然后在Delphi Win32应用程序的TWebBrowser中加载该页面以获取结果。

That is not going to be possible as the DevExpress ASP.NET controls are wired up via handlers in the web.config and not something that can be forced into Delphi. 这是不可能的,因为DevExpress ASP.NET控件是通过web.config中的处理程序连接的,而不是可以强制进入Delphi的东西。 I assume you have looked at DevExpress's VCL controls for ( Delphi and C++ Builder Controls ) on it's website? 我假设您已经在其网站上查看了DevExpress的VCL控件( Delphi和C ++ Builder控件 )? If the VCL product suite does not have what you need then you will need to look elsewhere. 如果VCL产品套件没有您所需要的,那么您将需要寻找其他地方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM