Color Style disables after moving to next line
txeriff
Member Posts: 515
Hi all,
Well, I have a small trouble here.
This used to work in classic client.
When the user enters a unit price below certain value it must show some fields (description, no..) in red and turn normal if its equal or higher. This seems not working properly in RTC, when I change the sales line to another the red is gone until i put the focus back in that line.
I used, of course, variables for styleexpr includedInDataset.
Any Ideas?
Edit:
I found the way to fix it, a currpage.update(false) on modify did it.
thanks!
Well, I have a small trouble here.
This used to work in classic client.
When the user enters a unit price below certain value it must show some fields (description, no..) in red and turn normal if its equal or higher. This seems not working properly in RTC, when I change the sales line to another the red is gone until i put the focus back in that line.
I used, of course, variables for styleexpr includedInDataset.
Any Ideas?
Edit:
I found the way to fix it, a currpage.update(false) on modify did it.
thanks!
0
Comments
-
I suppose you are talking about NAV 2009 R2?
The style does not always get reflected. E.g. if you change Style in the validate trigger the grid is not updated - only when you activate the line (as it is re-rendered using different controls). Thus your work-a-round to use CurrPage.Update is likely the only way you can get this to work as you expect it to.
Do you have a (simple) sample page of your exact challenge? I would like to make sure I have fully understood when and what.
/henrik“This posting is provided "AS IS" with no warranties, and confers no rights.”
Henrik Metzger, Software Development Engineer, Dynamics NAV
MSFT0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions