<com:TPanel ID="ThePanel" GroupingText="Foolio"> Getting textbox from the template!!!<br /> Client ID: <%# $this->ThePanel->getClientID() %> <div><com:TTextBox ID="foo" /></div> <com:TButton ID="lalalala" Text="Llalalaal" OnClick="suboncallback" /> </com:TPanel>