A generic way to find ASP.NET ClientIDs with jQuery

Posted by: Rick Strahls WebLog, on 15 Oct 2009 | View original | Bookmarked: 0 time(s)

Ive been using a small hack to deal with the ASP.NET naming container morass that is so prevalent in client side development with ASP.NET. Particularly in Master Pages all server control IDs are basically munged  because the master page place holders are naming containers. To recap the problem is that if you are dealing with something as simple as this: <div class="contentcontainer" runat="server" id="PageContent"> <h2>Stock Quote Lookup</h2> ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1051 | Hits: 120

Similar Posts

  • Speaking at the Portland Area .NET User Group on Tuesday Sept 1st more
  • Script# (Script Sharp) writing javascript in C# more
  • Custom Events in jQuery more
  • Creating jQuery plug-ins from MicrosoftAjax components more
  • Using jQuery Grid With ASP.NET MVC more
  • XML serialization using generics more
  • new Repository<T>().DoMagic() more
  • jQuery and ASP.NET Article Posted more
  • jQuery and ASP.NET Article Part 2 Posted more
  • jQuery Intellisense in VS 2008 more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD