예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         OpenIdAjaxTextBox1.Focus();
     }
 }
예제 #2
0
 protected void OpenIdAjaxTextBox1_UnconfirmedPositiveAssertion(object sender, OpenIdEventArgs e)
 {
     // This is where we register extensions that we want to have available in javascript
     // on the browser.
     OpenIdAjaxTextBox1.RegisterClientScriptExtension <ClaimsResponse>("sreg");
 }