Search

You searched for the word(s): userid:693705

Matching Posts

  • Re: changepassword NewPasswordRegularExpressionErrorMessage ignored

    Actually I have just found that the ChangePasswordFailureText will be displayed if either the current password is incorrect or the new password doesn't meet the password strength requirements :(. I have implemented a hack that works though: Add an event handler for the ChangePassword.ChangingPassword event. Implement the event handler as follows: protected void ChangePassword_ChangingPassword( object sender, LoginCancelEventArgs e) { if (!Membership.ValidateUser(User.Identity.Name, ctrlChangePassword
    Posted to Web Forms (Forum) by ticanaer on 9/4/2007
  • Re: changepassword NewPasswordRegularExpressionErrorMessage ignored

    I think that the problem is that the Membership Provider 's minimum password security requirements are causing the password change to fail before the ChangePassword control's NewPasswordRegularExpression is checked, which causes the default provider error message to get displayed instead of the NewPasswordRegularExpressionErrorMessage . By default I believe that the MembershipProvider's minimum password length is 7 and the minimum number of non-alphanumeric characters is 1. Try setting
    Posted to Web Forms (Forum) by ticanaer on 9/4/2007
    Filed under: Password, asp .net 2.0, asp .net 2.0 regular expression, asp.NET 2.0 C#, CreateUserWizard, Membership, Asp.net2.0, Create User Wizard, ASP.NET 2.0, Asp.net Configuration
  • Re: CSS Adapters cause multiple PostBacks in IE

    Sorry I pasted the wrong code in my last reply - the correct patch is as follows: bool clientSubmit = (changePwd.ChangePasswordButtonType == ButtonType.Link); PostBackOptions options = new PostBackOptions(btn, "" , "" , false , false , false , clientSubmit, true , changePwd.UniqueID); The previous post didn't actually use the clientSubmit variable Cheers, Tana
  • Re: CSS Adapters cause multiple PostBacks in IE

    Hi there, It sounds like the double postback problem - give the following a go: In the ChangePasswordAdapter.cs file locate the WriteSubmitPanel method. In this method l ocate the following line of code: PostBackOptions options = new PostBackOptions(btn, "" , "" , false , false , false , true , true , changePwd.UniqueID); and replace it with these lines: bool clientSubmit = (changePwd.ChangePasswordButtonType == ButtonType.Link); PostBackOptions options = new PostBackOptions(btn
  • Re: CSS Adapters cause multiple PostBacks in IE

    Hi there, Have you tried debugging the code when you click the create button? How about giving us some more info, like: - Is the form posting back to server (i.e. it's not getting stopped by javascript validation)? - If you examine the Request.Form items collection do you see the values that you entered on the screen? - If you examine the properties on the CreateUser control after the page load event fires are they populated with the values that you entered? It might be worth posting a snippet
    Posted to CSS Friendly Control Adapters (Forum) by ticanaer on 5/20/2007
  • Re: CSS Adapter breaks CreateUserWizard

    Hi there, If you haven't already given up on using the adapter for the CreateUserWizard then would you like to give the following a go? Replace the WebControlAdapterExtender.MakeNameFromId method with the following: static public string MakeNameFromId( string id) { string name = "" ; for ( int i=0; i char thisChar = id[i]; char prevChar = ((i - 1) > -1) ? id[i - 1] : ' ' ; char nextChar = ((i + 1) < id.Length) ? id[i + 1] : ' ' ; if (thisChar == '_' && prevChar != '_' && i >
    Posted to CSS Friendly Control Adapters (Forum) by ticanaer on 4/29/2007
    Filed under: CSS Control Adapters
  • Re: CSS Adapters cause multiple PostBacks in IE

    Cheers for the compliment Russ and the invitation to contribute to the project. I am happy to help out where possible as I have enjoyed the benefits of using the CSS Adapters in several projects now and it would only be fair to give something back in return. I'll flick Brian a message now and ask him to sign me up. Regards, Tana
    Posted to CSS Friendly Control Adapters (Forum) by ticanaer on 4/22/2007
  • Re: Adapters break CreateUserWizard?

    Hi guys, I've just posted an solution for this at http://forums.asp.net/1676119/ShowThread.aspx#1676119 which should serve as an interim fix until the CSS Adapters team releases a new version. Enjoy , Tana
    Posted to CSS Friendly Control Adapters (Forum) by ticanaer on 4/21/2007
  • Re: Problems with Registration Control

    Hi guys, I've just posted an solution for this at http://forums.asp.net/1676119/ShowThread.aspx#1676119 which should serve as an in the interim fix until the CSS Adapters team releases a new version. Enjoy , Tana
    Posted to CSS Friendly Control Adapters (Forum) by ticanaer on 4/21/2007
  • Re: CSS Adapter breaks CreateUserWizard

    Hey Steve, I've just posted an solution for this at http://forums.asp.net/1676119/ShowThread.aspx#1676119 which should serve as an in the interim fix until the CSS Adapters team releases a new version. Enjoy, Tana
    Posted to CSS Friendly Control Adapters (Forum) by ticanaer on 4/21/2007
Page 1 of 2 (11 items) 1 2 Next >