Search

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

Matching Posts

  • Re: Cont: A local error has occurred (formatting fixed)

    Just FYI, I had this "local error" in a one-way trust dev environment: I was trying to search - using FindOne() - for a user in the downstream domain. I fixed this by ensuring the upstream server's primary DNS was pointing to its own domain and the alternate DNS was pointing to the downstream domain.
    Posted to Active Directory and LDAP (Forum) by achenar on 8/27/2009
  • Re: Here we go again: Extending the AdRotator control..

    Like RexRex above, you *can* use the AdCreated event, but it still feels like a hack... here's what I've got working: _arRandomImages = new AdRotator(); _arRandomImages.AdCreated += new AdCreatedEventHandler(_arRandomImages_AdCreated); ... void _arRandomImages_AdCreated(object sender, AdCreatedEventArgs e) { Random rnd = new Random(); int iRandomAd = rnd.Next(0, _images.Count); // The range of return values includes minValue but not MaxValue. e.AlternateText = _images[iRandomAd].AlternateText;
    Posted to Custom Server Controls (Forum) by achenar on 9/14/2007
    Filed under: AdRotator
  • Re: Here we go again: Extending the AdRotator control..

    Good post RexRex - unfortunately I don't have an answer for you - but you're right, it's a poorly document control! I want to know if you can programmatically populate an AdRotator... or why does this fail? private struct TestRandomImage { public int ID; public string ImageUrl; public string NavigateUrl; public string AlternateText; public string Keyword; public int Impressions; public int Width; public int Height; } ... List<TestRandomImage> images = new List<TestRandomImage>
    Posted to Custom Server Controls (Forum) by achenar on 9/14/2007
    Filed under: AdRotator, asp.net 2.0, WebPart, Dynamic Control Generation
Page 1 of 1 (3 items)