ClientExtensibility and Actions>View/Edit

mk511
Member Posts: 6
Hi,
I've a problem with my ClientExtensibility. My control (TextBox) is always enabled, but it shall be disabled at the beginning (like all standard controls in the rtc).
If the user clicks on the menu>actions>edit...all standard-controls will get enabled (ant the other way if the user clicks menu>actions>view)...but not my textbox. How can I do this?
thanks and greets...
Marco
I've a problem with my ClientExtensibility. My control (TextBox) is always enabled, but it shall be disabled at the beginning (like all standard controls in the rtc).
If the user clicks on the menu>actions>edit...all standard-controls will get enabled (ant the other way if the user clicks menu>actions>view)...but not my textbox. How can I do this?
thanks and greets...
Marco
0
Answers
-
Try using the provided events of the base class StringControlAddin.
type "protected override" and you will se the provided events, you should be able to manage it trough that.
Here's a similar topic about it: viewtopic.php?f=32&t=441640 -
Hi,
thanks for your answer, but the solution was another.
The "problem" was, that I've bound not a database-field to my textBox...I've bound a variable (BigTex) to my textBox. So the events does not fired.
The trick is, that I have to bound a database-field (as a helper function) and in this enabled-trigger I have set a bool, that I use to set enabled of my textBox (BigText bounded) to true or false.
Greets Marco0 -
This is a known issue. See:
http://www.mibuso.com/forum/viewtopic.php?f=32&t=40172&hilit=control+addin0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions