changing content template in webdialogbox

2 replies. Last post: January 12, 2011 9:46 PM by Fung Inter
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Fung InterMember

Hi,

I am trying to retrieve a label ('lblTesting') from the web dialog box (content template) using getElementById. But I get nothing. Is there any way to retreive a control inside the content template of a dialog box?

ASPX Code:
    <ISWebDesktop:WebDialogBox ID="WebDialogBox1" runat="server" Height="150px" Width="400px" ShowOnLoad="false">
    <ContentTemplate>
    <asp:Label ID="lblTesting" runat="server"></asp:Label>    
    </ContentTemplate>
    <CommandButtons>
    <ISWebDesktop:WebDialogBoxButton Type="OK" Text= "Close" Name= "X" />
    </CommandButtons>
    </ISWebDesktop:WebDialogBox>

Thanks and Regards,

Fung

All times are GMT -5. The time now is 9:25 AM.
Previous Next