[development-axapta] Enterprise Portal: Calling a method on clicked with a popup window

2009-03-10 Thread christian.myrvold
Hey all, This seems to be a conundrum. I need to override/replace the "View totals" link in the sales basket web form with something that has the clicked function, so that I can call a self made function when you click the link. I tried with a WebButton, which works great except for one thing:

[development-axapta] Enterprise Portal SalesBasket: How to get the line marks

2009-02-10 Thread christian.myrvold
Hey everybody, I need to catch selected lines on a grid in Enterprise Portal. I know about FormDataSource.getFirst(true) and .getNext(), but for some reason this doesn't work. Even when I mark them at creation in the code - which works fine - Axapta refuses to acknowledge that the web grid has any

Re: SV: [development-axapta] How to show field hidden by user in X++

2009-02-10 Thread christian.myrvold
OTgetProperties(); > Property = SetProperty(Property, "visible", "Yes"); > TreeNode.AOTsetProperties(Property); > TreeNode.AOTcompile(); > TreeNode.AOTsave(); > } > > > From: christian.myrvold mailto:christian.a.myrvold%40gma

[development-axapta] How to show field hidden by user in X++

2009-02-02 Thread christian.myrvold
Hey everyone, I've searched both the group postings and google for this, and haven't found anything yet. I need to either: 1. Show a field in a form immediately after a user hides it (so it looks like the "hide functionality" doesn't work), or 2. Disable the hide functionality when a user right c