It is possible to add controls to a web form at runtime. You do it in
the exact same way as with standard forms (i.a. by calling addControl on
the form's design)
Regards
Peter
________________________________
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of opussolution_pk
Sent: 19 October 2005 12:27
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Re: Add controls runtime on webform
Hi Lars
I asked at Microsoft support because I want to do the same. The answer
was that this isn't possible. It look like the 'addControl' method is
just implemented for next release.
regards
Patrick
--- In development-axapta@yahoogroups.com, "larsj_73" <[EMAIL PROTECTED]> wrote:
>
> I want to add controls to a web form runtime, but that does not seem
> to work. The error message states that 'the object is not
> initialized', and the bottom point in the call stack is the show()
> method in default.asp.
>
> The code I use to connect the field to the data source is:
> NERA_HLPCityLink_IDUEmbeddedMultiplexer.dataField(fieldnum
> (NERA_HLPCityLink,IDUEmbeddedMultiplexer));
> NERA_HLPCityLink_IDUEmbeddedMultiplexer.dataSource(tablenum
> (NERA_HLPCityLink));
>
> I would appreciate any help.
>
> Regards
> Lars H. Jacobsen
>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "development-axapta
<http://groups.yahoo.com/group/development-axapta> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
be>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.