Marker Interface - An interface that does not require explicit implementation.
public partial class UCRepeater : System.Web.UI.UserControl, INamingContainer
Programming Journal C#, Java, SQL and to a lesser extent HTML, CSS, XML, and regex. I made this so other programmers could benefit from my experience.
Tuesday, February 5, 2008
Web Control IDs INamingContainer to avoid duplicate IDs
The ID property of the WebUserControl for controls that may be used mulitiple times in an aspx page should not be repeated. Simple implment the INamingContainer to prevent duplicate IDs as follows:
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(54)
-
▼
February
(13)
- Lazy Load Panel Courtesy of TabContainer and Updat...
- Simple and Complex Drilldown for ASP.Net Objects
- Web User Control Library error
- Prevent RadioButtonList from forcing a line break
- Using Web.config hash for variables using add, key...
- Drilling down a nested master page in ASP.NET to r...
- Intercepting return in list menu items in ASP.NET
- FindContol Solution to add Javascript to a control...
- How to show and hide CalendarExtender and Collapsi...
- Understanding Default Values for User Web Controls
- Creating a ListItemCollection Template User Control
- Installing CA Anti-virus with error on open
- Web Control IDs INamingContainer to avoid duplicat...
-
▼
February
(13)
No comments:
Post a Comment