Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1175
Multiple Visible-Calls causes errors
posted

Hello there,

in reference to my other question, subdatagrid, I have a problem calling multiple times the visible attribute:

When the user presses a button, I show the datagrid with

dgrIndRoleAttributes.Visible = true:

After pressing the button again, I just redo this with the

dgrIndRoleAttributes.Visible = false;

If I press the button again, so I want visible = true again, I get the error that the control with the same ID allready exists. Does Visible = False remove the control or does it just set the CSS?

Is there a bug in my code which causes such error or should I not use this property on that way?

Thanks for your response

Matthias

Parents Reply Children
No Data