Hi,
How can I programmatically remove a RadToolBarButton item (server side)?
I know there's Toolbar.Items.Remove(...)
But I can neither use the Value property nor the CommandName on a Dropdown in order to get a reference to the object to pass to the Remove method. There is no ID on the items either.
I can't / won't use ByText, because it's a multilingual system and I don't want to depend on such a criterion.
Do I have to use attributes or is there a smarter way?
Thanks,
Stefan
How can I programmatically remove a RadToolBarButton item (server side)?
I know there's Toolbar.Items.Remove(...)
But I can neither use the Value property nor the CommandName on a Dropdown in order to get a reference to the object to pass to the Remove method. There is no ID on the items either.
I can't / won't use ByText, because it's a multilingual system and I don't want to depend on such a criterion.
Do I have to use attributes or is there a smarter way?
Thanks,
Stefan