I would like to loop throught all label and button controls of myPage and modifie their text property (in fact I want to translate the text depending on the language of the user).

I tried this :
VB Code:
  1. For Each myControl As Control In Page.Controls
  2.                 Dim test As String = myControl.ID
  3.                 ListBox1.Items.Add(myControl.ID)
  4.             Next

but this does not give me the list of all controls.
I thought that I could loop through all controls, test for each if it is a control or button and then change the property .text to a new value depending on their old value.

Would to nice if anybody could give me a littel help...

Thank you in advance!

Fabian