Click here to Skip to main content
15,885,063 members
Articles / Web Development / ASP.NET

Creating Multilingual Websites - Part 2

Rate me:
Please Sign up or sign in to vote.
4.83/5 (64 votes)
25 Aug 2004CPOL14 min read 482.6K   6K   211  
Creating multilingual websites - Part 2
Public Class index
    Inherits System.Web.UI.Page

   Protected WithEvents login As Localization.LocalizedButton
   Protected WithEvents welcome As Localization.LocalizedLiteral
   Protected WithEvents usernameLabel As Localization.LocalizedLiteral
   Protected WithEvents username As System.Web.UI.WebControls.TextBox
   Protected WithEvents reqUsername As Localization.LocalizedRequiredFieldValidator
   Protected WithEvents passwordLabel As Localization.LocalizedLiteral
   Protected WithEvents password As System.Web.UI.WebControls.TextBox
   Protected WithEvents reqPasswprd As Localization.LocalizedRequiredFieldValidator
   Protected WithEvents remember As Localization.LocalizedCheckBox
   Protected WithEvents forgotPassword As Localization.LocalizedLiteral
   Protected seeBinding As Localization.LocalizedLiteral

#Region " Web Form Designer Generated Code "
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

   End Sub
    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        InitializeComponent()
    End Sub
#End Region

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
      seeBinding.Controls.Add(New Localization.Parameter("url", "BindingSample.aspx"))

    End Sub

   Private Sub login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles login.Click
      Page.Validate()
      If Page.IsValid Then

      End If
   End Sub
End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions