How to add Text attribute for RadioButton from Resource file and having meta attribute

Posted by Mahe under ASP.NET on 10/8/2012 | Points: 10 | Views : 1416 | Status : [Member] | Replies : 0
Hi All,

How to add Text attribute for RadioButton from Resource file and having meta attribute

The below is my code, Please correct me

<asp:RadioButton ID="rdoBtn" runat="server" Text="<%$ Resources:PageName, KeyVal %>" meta:resourcekey="rdoBtnResource1" />

I am getting an error as
"Cannot have more than one binding on property 'Text' on 'System.Web.UI.WebControls.RadioButton'. Ensure that this property is not bound through an implicit expression, for example, using meta:resourcekey.
"




Responses

(No response found.)

Login to post response