File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
DNN Platform/Library/UI/UserControls Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ protected override void OnPreRender(EventArgs e)
271
271
var c = Parent . FindControl ( ControlName ) ;
272
272
if ( c != null )
273
273
{
274
- // label.Attributes["for"] = c.ClientID;
274
+ label . Attributes [ "for" ] = c . ClientID ;
275
275
}
276
276
}
277
277
}
Original file line number Diff line number Diff line change 1
1
<% @ Control Language= " C#" AutoEventWireup= " false" Inherits= " DotNetNuke.UI.UserControls.LabelControl" %>
2
2
<div class =" dnnLabel" >
3
- <label >
4
- <asp:Label ID =" lblLabel" runat =" server" EnableViewState =" False" />
3
+ <label ID = " label " runat = " server " EnableViewState = " false " >
4
+ <asp:Label ID =" lblLabel" runat =" server" EnableViewState =" False" />
5
5
</label >
6
6
<asp:LinkButton ID =" cmdHelp" TabIndex =" -1" runat =" server" CausesValidation =" False"
7
7
EnableViewState =" False" CssClass =" dnnFormHelp" >
You can’t perform that action at this time.
0 commit comments