I am using Q2 2011 and having some issues with the images for Tabs.
On Page_Load, I am adding tabs to a RadTabStrip. The TabStrip is in an RadAjaxPanel with EnableAjax set to true.
When the page loads, the tabs look great and the images are displayed correctly. The first tab is selected by default. When I click on another tab, the callback occurs and I handle the TabClick server event. During the callback, the tabs are not modified at all. When the page comes back, the images are now broken and the paths have changed.
So I am on a DNN site, on an edit page. The URL of the page is: http://localhost/MyProject/Orders/tabid/54/ctl/EditOrder/mid/363/Default.aspx
After the page loads, the URL of the image is
http://localhost/MyProject/DesktopModules/MyModule/images/ok.gif
After the callback, the URL of the image is
http://localhost/MyProject/Orders/tabid/54/ctl/EditOrder/mid/363/DesktopModules/MyModule/images/ok.gif
Any reason for the change in the ImageURL when the tabs werent modified during the callback? Am I missing something?
Also, if I disable Ajax, the Images work correctly and the ImageURL does not change.
On Page_Load, I am adding tabs to a RadTabStrip. The TabStrip is in an RadAjaxPanel with EnableAjax set to true.
<
telerik:RadTabStrip
id
=
"rtsTabs"
runat
=
"server"
skin
=
"Office2007"
AutoPostBack
=
"true"
></
telerik:RadTabStrip
>
For
Each
warehouse as OrderWarehouse
In
Destination.OrderWarehouses
Dim
newTab as
New
RadTab(warehouse.Name, warehouse.ID)
newTab.ImageURL =
"~/DesktopModules/MyModule/Images/ok.gif"
rtsTabs.Tabs.Add(newTab)
Next
When the page loads, the tabs look great and the images are displayed correctly. The first tab is selected by default. When I click on another tab, the callback occurs and I handle the TabClick server event. During the callback, the tabs are not modified at all. When the page comes back, the images are now broken and the paths have changed.
So I am on a DNN site, on an edit page. The URL of the page is: http://localhost/MyProject/Orders/tabid/54/ctl/EditOrder/mid/363/Default.aspx
After the page loads, the URL of the image is
http://localhost/MyProject/DesktopModules/MyModule/images/ok.gif
After the callback, the URL of the image is
http://localhost/MyProject/Orders/tabid/54/ctl/EditOrder/mid/363/DesktopModules/MyModule/images/ok.gif
Any reason for the change in the ImageURL when the tabs werent modified during the callback? Am I missing something?
Also, if I disable Ajax, the Images work correctly and the ImageURL does not change.