I am reproducing the issue using a simple demo with the following GridWeb:
<acw:GridWeb ID=“GridWeb1” runat=“server” Width=“100%” Height=“100%” ShowLoading=“true” XhtmlMode=“true” OnCustomCommand=“GridWeb1_CustomCommand” PresetStyle=“Standard” EnableAJAX=“true” EnableAsync=“true” RenderHiddenRow=“true”>
<acw:CustomCommandButton Command=“MainMenu” ImageUrl=“Images/MainMenu.png”>
It works perfectly while running on visual studio. However it gets a strange behavior when deployed.The CustomCommandButton’s image appears when the page first opens or when it is refreshed, but when I click on any of the command buttons the image gets broken.
If I look at the source I see that the path changed to ‘…/Images/MainMenu.png’.
I don’t have any code changing the Image path, but every time an action is performed over the gridweb the path changes to an nonexistent one.
Is there some configuration I am missing?
I appreciate any help you could provide.