web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Web control compilation issue

(0) ShareShare
ReportReport
Posted on by 692
Hi all

I have been having an issue with compiling web controls in the AOT that I have made modifications to. I have discovered that the issue is that the tag "CodeFile" has been changed to "CodeBehind". Here is an example:

<%@ Control Language="C#" AutoEventWireup="true" Inherits="CaseAddEdit" Codebehind="CaseAddEdit.ascx.cs" %> <%@ Register Assembly="Microsoft.Dynamics.Framework.Portal, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.Dynamics.Framework.Portal.UI.WebControls" TagPrefix="dynamics" %>

I didnt change this tag, and am 99% that this was changed by visual studio. I guess I am doing something wrong when editing the web controls, but am not sure what.

When I edit a web control, I double click it in Visual Studio which automatically creates a web application project and adds the web control to it.

Can anyone suggest what I am doing wrong?

Thanks,
Joe

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rony Cooremans Profile Picture
    2 on at

    Wild guess , are the ep development extentions installed on your machine ?

  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    The steps you take are the right ones, so nothing wrong here (the way you work). If you try right now to edit another standard web control, does it do the same? I would suggest to look in Visual Studio immediately after opening the web control to see if the tag has changed.

  • JoeBrewer Profile Picture
    692 on at

    Hi Rony

    Yes, I have been doing EP developments on the machine I am using for some time.

    Joe

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans