Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

How to add a numeric Keypad to a page

Posted on by 751
Hello,
 
i was surfing the internet and asking Chatgpt on how to add a numeric keypad; something like this:
 
i endup with the following code:
 
however as you can see VS code has issued the following errors:
1- DotNet 'System.Windows.Forms.WebBrowser, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is missing
2- Length of the identifier '/System.Windows.Forms.WebBrowser, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089/' cannot exceed 120 characters
 
Kindly advise,
Regards,
David
  • David Tailor Profile Picture
    David Tailor 751 on at
    How to add a numeric Keypad to a page
    Hi Yun,
     
    i have done the following:
    1- adding "On Prem" is app.json:
    2- adding the following at the beginning of the page:
    3- modifying user settings:
     
    however, the error is still the same.
     
    any idea?
     
    Regards,
    David
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,664 Super User 2024 Season 2 on at
    How to add a numeric Keypad to a page
    Hi, It looks like you didn't declare these DotNet controls.
    More details:
     
    In addition, the DotNet control cannot be used in the current BC SaaS. It is recommended that you try Javascript or Azure Function solutions.
     
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,339 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,177 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans