Click here to Skip to main content
15,885,182 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

i have a pre-compiled project, and store all my resources in there

but for some reason i can't reference the resource inline (on the webform control directly)

VB
<asp:GridView ID="MyGridView1" runat="server"  
EmptyDataText="<%$ Resources:global.connectx.Resources.UI_language, chat_gv_empty_text %>" />



but i can reference it on code...

VB
MyGridView1.EmptyDataText = global.connectx.Resources.UI_language.chat_gv_empty_text


any one have an idea?

M:)

PS I've updated the question part of ths posting around how to put this in a server control didn't come through on the first posting.
Posted
Updated 22-Aug-11 17:34pm
v3

1 solution

 
Share this answer
 
Comments
Martin Stevens 23-Aug-11 7:29am    
Thanks Mark, yeah my first post was missing the following from the empty text "<%$ Resources:global.connectx.Resources.UI_language, chat_gv_empty_text %>" otherwise it would be a peivce of cake. I just cant quite reference it within the precompiled assembly from a server control.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900