Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
37 Points
68 Posts
Apr 12, 2012 04:36 PM|LINK
I think the issue is that I am adding contentEditable="true" to an ASP Label which you can't really do.
I've tried doing this:
<h1 id="h1Test" contenteditable="true" runat="server"><asp:Label ID="h1" runat="server" CssClass="intro"></asp:Label></h1>
But I'm not sure how to get the h1Test assigned to a string variable in the code-behind file
NgJZliam.smi...
Member
37 Points
68 Posts
Re: Using html5 contentEditable to save to db
Apr 12, 2012 04:36 PM|LINK
I think the issue is that I am adding contentEditable="true" to an ASP Label which you can't really do.
I've tried doing this:
<h1 id="h1Test" contenteditable="true" runat="server"><asp:Label ID="h1" runat="server" CssClass="intro"></asp:Label></h1>
But I'm not sure how to get the h1Test assigned to a string variable in the code-behind file