M
matt_randle
Can anyone tell me why this is not working ?
I have an aspx page with the following definition,
<asp:ImageButton ID="MenuBtnOpen" ImageUrl='<%#
Page.ClientScript.GetWebResourceUrl(typeof(WebResources.Resource),
"A.gif")%>' />
When the page is processed by asp.net, the src attribute for the image
is always blank.
If I put this code in the Page_Load event,
MenuBtnOpen.ImageUrl =
Page.ClientScript.GetWebResourceUrl(typeof(WebResources.Resource),
"A.gif");
It works ok.
Ive spent an entire day trying to work this out.
Please tell me im doing something stupid and its not a bug in asp.net.
I have an aspx page with the following definition,
<asp:ImageButton ID="MenuBtnOpen" ImageUrl='<%#
Page.ClientScript.GetWebResourceUrl(typeof(WebResources.Resource),
"A.gif")%>' />
When the page is processed by asp.net, the src attribute for the image
is always blank.
If I put this code in the Page_Load event,
MenuBtnOpen.ImageUrl =
Page.ClientScript.GetWebResourceUrl(typeof(WebResources.Resource),
"A.gif");
It works ok.
Ive spent an entire day trying to work this out.
Please tell me im doing something stupid and its not a bug in asp.net.