Search

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

Matching Posts

  • Re: Setting Membership/Profile/Role provider's connection string at runtime...?

    RGabo you're a star. Your post prompted me to create my own custom SqlMembershipProvider class to tidy this up. namespace MyNamespace { public class MyMembershipProvider : SqlMembershipProvider { public override void Initialize( string name, System.Collections.Specialized.NameValueCollection config) { base .Initialize(name, config); // Update the private connection string field in the base class. string connectionString = "my new connection string value that I get from a custom decryption
    Posted to Security (Forum) by antmx on 10/2/2008
  • Re: Disabled validation control with Javascript...

    Thanks Peter, point 3 of your post solved a similar problem I was having, although I had to tweak it a little. I needed to have a CustomValidator validate a textbox's contents as a UK postcode only if the country dropdownlist was set to UK. To do this I called ValidatorEnable (note upper case V) with an object ref to the validator (as opposed to just its id as a string). In the page onload I put this: ddlPartyLeaderCountry.Attributes[ "onchange" ] = string .Format( "javascript:ValidatorEnable( document
    Posted to Web Forms (Forum) by antmx on 12/12/2006
Page 1 of 1 (2 items)