Change Visibility of an UI Element at runtime.
I have an UI element "Explanation" on my web dynpro View. I want to make it visible or invisible at run time by using some events. To access its visible property I have created an attribute of type "WDUI_VISIBILITY" and given it the default value '02' for visible. I have assigned it to the UI element as its visible property value. Now I want to make the field invisible at run time by changing the attribute's value to '01'(for invisible). But the problem is that when i run the application the UI element is not visible however I have given it the value '02' by default. Please suggest what to do.
Thanks and Regards,