Welcome to EMC Consulting Blogs Sign in | Join | Help

Howard van Rooijen's EMC Consulting Blog (2004 - 2010)

This blog has now moved to http://howard.vanrooijen.co.uk/blog - please update your subscriptions if you wish to receive new content.

Adventures in ASP.NET 2.0

I'm currently doing a lot of work using ASP.NET 2.0 (Beta 1) and have been coming across a lot of "beta features" that don't make a great deal of sense - or don't work properly. In a new on-going series of posts I'm going to list out any of these oddities in the hope that someone out there will be able to answer my questions / say that it is a bug / tell me I'm an idiot and aren't using it properly.

Todays questions are:

  1. Why do you have to nest a <% $ Resources:Localisation, SearchBar.AllCategories, '' %> in a Literal control?
  2. How do you localise the text in a <asp:ListItem /> tag as they wont allow child controls (i.e the literal control required).
  3. Why can't controls contained within a usercontrol be referenced in the form's  defaultfocus  & defaultbutton properties without using the fully qualified rendered control name i.e. ctl00$UserControlName$ControlName
Published 24 February 2005 18:20 by howard.vanrooijen
Filed under: , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

This blog has now moved - please visit http://howard.vanrooijen.co.uk/blog for new content!
Add to Live.com
Powered by Community Server (Personal Edition), by Telligent Systems