How to get meta:resourcekey programatically?

L

LM

I just want to get at runtime meta:resourcekey value.

This is my code:
<asp:Button ID="Button1" runat="server"
meta:resourcekey="Button1Resource1" Text="Button" />
The problem is that it's not an attribute of the control.
I'd like to know what is the value of meta:resourcekey. I mean, not the
content of the resource, but the value of this attribute. In this case
what I want to get as the result at runtime is "Button1Resource1"
Any idea how to get it?
Thanks
Luciano
 
G

Guest

Luciano,
You could use commandargument="Button1Resource1"
and use the command.

Good Luck
DWS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top