How can I create CRM-like Web Forms ?
I want to create CRM-like Web Forms using the same visual tools,
styles, etc. used in CRM forms. It seems I do the same steps that were
done to create the genuine CRM forms: I create Web App project, add
references to Microsoft.Crm.Application.***.dll's, and copy some
controls from the CRM aspx's.
Somethig like this:
<%@ Register TagPrefix="frm"
Namespace="Microsoft.Crm.Application.Forms"
Assembly="Microsoft.Crm.Application.Components.App lication" %>
<%@ Page language="c#" Inherits="crmTest02.stage"
CodeBehind="stage.aspx.cs" AutoEventWireup="false" %>
<HTML>
<HEAD>
</HEAD>
<body>
<frm:GenericForm id="crmForm" runat="server">
</frm:GenericForm>
</body>
</HTML>
The result is I recieve "Error Creating Control" for crmForm with
message "Object no set to an instance of an object".
As I said, the CRM dll's are referenced, I can see them properly in the
object browser.
How am I supposed to do that? Did anybody tried to develop Web forms
with CRM controls? Is there a giude for this issue available?
|