yolip
September 10th, 2009, 07:52 PM
Hi,
I am trying to dynamically get the value of a button by calling function in the value attribute. However, it doesn't work like this. Can i have give me a hand with it?
<piece:gradientbutton ID="GradientButton1" runat="server" Height="26px"
Width="115px">
<GradientBackground GradientStartColor="White" GradientEndColor="#DFE4EF"
RoundCornerRadius="3" Type="Vertical" BorderColor="LightGray" />
<Text Font="Tahoma, 10pt" HorizontalAlign="Center"
Value='<%=((Survey_Survey_Login)this.Master).getLabel("hra.btnLogin") %> ' VerticalAlign="Center" Color="#002672" />
</piece:gradientbutton>
I am trying to dynamically get the value of a button by calling function in the value attribute. However, it doesn't work like this. Can i have give me a hand with it?
<piece:gradientbutton ID="GradientButton1" runat="server" Height="26px"
Width="115px">
<GradientBackground GradientStartColor="White" GradientEndColor="#DFE4EF"
RoundCornerRadius="3" Type="Vertical" BorderColor="LightGray" />
<Text Font="Tahoma, 10pt" HorizontalAlign="Center"
Value='<%=((Survey_Survey_Login)this.Master).getLabel("hra.btnLogin") %> ' VerticalAlign="Center" Color="#002672" />
</piece:gradientbutton>