cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vijaybandari
Level 3

Accessing Dialog controls in Custom Actions

I have a text field placed on my dialog & is associated with a property. If the user passed this property with command line arguments i have to hide the textbox , this is working fine.


When the value passed through command line is invalid then i have to show the textbox. The validation happens in a custom action, so is there any way that we can access the textbox in custom actions.

By default the textbox visible property is false, and its made true when the property is not available - this is done using the control's Conditions tab.

I am using VB Script for custom actions.

Thanks,
Vijay Bandari
Labels (1)
0 Kudos
(2) Replies
ericpaul
Level 6

Hello Vijay,

you might set some other property in you custom action and use that property in the control's Condition tab.

Eric-Paul
0 Kudos
vijaybandari
Level 3

Hey thanks Ericpaul...

I tried the same way and it worked.

For other here is the solution (i did't accessed the controls):
I added one custom action which validates the property passed by command line arugement & sets other property (VALID) and added conditions to the control with the VALID property to hide/show.

Thanks,
Vijay Vandari
0 Kudos