Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:759499
More Search Options
RSS Available
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)
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online