Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/06/2009, 03:57
Avatar de menxucp27
menxucp27
 
Fecha de Ingreso: enero-2009
Ubicación: Sagunto
Mensajes: 50
Antigüedad: 15 años, 4 meses
Puntos: 0
Respuesta: propiedad text de un boton

ya lo he solucionado

he creado una funcion para la propiedad text, igual que hago con la url que necesito.

<asp:Button ID="btn_detalles" Text='<%# btn_detalles() %>' runat="server" CssClass="btn" PostBackUrl='<%# url_boton() %>' />

Protected Function btn_detalles() As String
Dim rdo As String = ""
Dim id As String = Session("idioma")

If id = "esp" Then
rdo = "Detalles"
ElseIf id = "ale" Then
rdo = "Details"
ElseIf id = "fra" Then
rdo = "Détails"
ElseIf id = "ita" Then
rdo = "Dettagli"
ElseIf id = "por" Then
rdo = "Detalhes"
Else
rdo = "Details"
End If

Return rdo
End Function

Saludosssssssss