This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - How to call a User Control or a Custom control (developed using Asp.net and C#) on Aras Forms.

Amit - Thursday, April 9, 2009 5:18 AM:

Hello Everyone,


I have designed a user control and a custom control using asp.net and c#. Now i wanted to call this user control and custom control in ARAS Innovator Form. Since i have designed the entire page with the functionality using asp.net and c#, i want that to be displayed as it is on the ARAS Forms, just by adding the user control or custom control into any ARAS Form.

Note:

1. In case of user control it does not create any .dll files whereas it has an extension of .asax file, When it requires to call a user control in a web page, we used to register the user control defining the source of the user control.
<%@ Register Src="~/UIControls/webUserCtrlPatientInfo.ascx" TagName="webUserCtrlPatientInfo" TagPrefix="uc1" %>

2. In case of custom control it generates a .dll file. Which we browse and add into the toolbox, where it shows an icon. So dragging that icon and dropping on the web page calls the custom control. It automatically register to the web page as below.

<%@ Register Assembly="GoogleCalendarLink" Namespace="OnlineScorekeeper" TagPrefix="cc1" %>

<cc1:GoogleCalendarEventLink ID="GoogleCalendarEventLink1" runat="server" >


Now i am not getting how to call user control and custom control on my ARAS Forms.


It would be great if anyone helps me out with the process and the snippet code.

Thanks

Amit



Ketaki Garde - Thursday, June 16, 2011 7:36 AM:

Hi All,

I want to use custom .NET controls in ARAS form. How can we do it?

Is anybody having any idea about this?

Thanking in advance.

Regards,

Ketaki

 



Gorinich - Friday, June 17, 2011 12:51 AM:

See Programmers Guide, 7.16 Need to add C# control

www.aras.com/.../DocumentView.aspx



Ketaki Garde - Friday, June 17, 2011 2:58 AM:

Hi,

Thanks for your reply.

On the same lines can we use standard.net controls on ARAS forms? (Like may be checkbox, linkbutton,etc.)

Regards,

Ketaki