problem with asp.net 4 themes and skins
-
Hi guys I tried applying graphics through skin using the way presented in this site http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx It worked with asp .net 3.5 but with 4.0 I didn't work. When I viewed the page source I get
for asp.net 3.5 and i get for asp.net 4.0 It seems asp.net 4.0 doesn't replace ImageUrl attribute with src when rendering My question is: do I have problem with asp.net 4.0 that I need to repair/reinstall or is it something else?
-
Hi guys I tried applying graphics through skin using the way presented in this site http://msdn.microsoft.com/en-us/library/ykzx33wh.aspx It worked with asp .net 3.5 but with 4.0 I didn't work. When I viewed the page source I get
for asp.net 3.5 and i get for asp.net 4.0 It seems asp.net 4.0 doesn't replace ImageUrl attribute with src when rendering My question is: do I have problem with asp.net 4.0 that I need to repair/reinstall or is it something else?
Hi, Are you missing
runat="server"
attribute inimg
tag?<img id="image" runat="server" src="~/App_Themes/test/Contoso.gif" style="border-width:0px;">
ImageUrl is the property of asp:Image (Image control). So, you could also write like:
<asp:Image id="MainContent_Image1" runat="server" ImagerUrl="~/images/Contoso.gif" />
Hope this will help.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.
My latest article: Group GridView Data -
Hi, Are you missing
runat="server"
attribute inimg
tag?<img id="image" runat="server" src="~/App_Themes/test/Contoso.gif" style="border-width:0px;">
ImageUrl is the property of asp:Image (Image control). So, you could also write like:
<asp:Image id="MainContent_Image1" runat="server" ImagerUrl="~/images/Contoso.gif" />
Hope this will help.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.
My latest article: Group GridView Data -
Hi, Are you missing
runat="server"
attribute inimg
tag?<img id="image" runat="server" src="~/App_Themes/test/Contoso.gif" style="border-width:0px;">
ImageUrl is the property of asp:Image (Image control). So, you could also write like:
<asp:Image id="MainContent_Image1" runat="server" ImagerUrl="~/images/Contoso.gif" />
Hope this will help.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.
My latest article: Group GridView Datathanx for the help i managed to solve it. i dunno what was my real problem ... but i started from scratch and it worked this time :S