Options

ClientExtensibility and Actions>View/Edit

mk511mk511 Member Posts: 6
edited 2010-11-08 in NAV Three Tier
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

Answers

  • Options
    deV.chdeV.ch Member Posts: 543
    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=44164
  • Options
    mk511mk511 Member Posts: 6
    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 Marco
Sign In or Register to comment.