Welcome Guest Search | Active Topics | Sign In | Register

Problem with TabStrip when using custom image Options
sgosselin
Posted: Tuesday, July 22, 2008 12:33:10 PM
Rank: Member
Groups: Member

Joined: 6/13/2008
Posts: 11
Hi!

When I use my own image in the TabStrip control 2008 I'm getting this error

Line 6
this.auv.avd is null or is not an object.

Somebody have an idea why?

eo_support
Posted: Tuesday, July 22, 2008 12:45:40 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

If you can post your TabStrip definition we will be able to take a look as soon as possible.

Thanks!
sgosselin
Posted: Wednesday, July 23, 2008 6:46:55 AM
Rank: Member
Groups: Member

Joined: 6/13/2008
Posts: 11
Here's

<eo:TabStrip ID="tabStrip" runat="server" Width="400px" ControlSkinID="None"
MultiRow="True" RowSpacing="-3" SelectedIndex="4">
<LookItems>
<eo:TabItem Height="21"
HoverStyle-CssText="position: relative; top: 2px; background-image: url(00010502); background-repeat: repeat-x"
ItemID="_Default" LeftIcon-HoverUrl="00010506" LeftIcon-SelectedUrl="00010508"
LeftIcon-Url="00010504"
NormalStyle-CssText="position: relative; top: 2px; background-image: url(00010501); background-repeat: repeat-x"
RightIcon-HoverUrl="00010507" RightIcon-SelectedUrl="00010509"
RightIcon-Url="00010505"
SelectedStyle-CssText="background-image: url(00010503); background-repeat: repeat-x"
Text-Padding-Bottom="2" Text-Padding-Top="1">
<SubGroup ItemSpacing="1"
Style-CssText="background-image:url(00010510);background-position-y:bottom;background-repeat:repeat-x;color:black;cursor:hand;font-family:'Microsoft Sans Serif',Verdana;font-size:8.25pt;">
</SubGroup>
</eo:TabItem>
</LookItems>
<TopGroup>
<Items>
<eo:TabItem Text-Html="Crédit" Width="120" Image-Url="~/Images/Tab-Bg.png">
</eo:TabItem>
<eo:TabItem Text-Html="Couverture" Width="153">
</eo:TabItem>
<eo:TabItem Text-Html="Lieu" Width="124">
</eo:TabItem>
<eo:TabItem Text-Html="Tarif" Width="124">
</eo:TabItem>
<eo:TabItem Selected="True" Text-Html="Horaire" Width="163">
</eo:TabItem>
</Items>
</TopGroup>
</eo:TabStrip>
eo_support
Posted: Wednesday, July 23, 2008 7:08:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

You won't be able to use Image-Url on a TabStrip (even if it had worked, it would have replaced Text-Html). Try to set the image as a background image in "NormalStyle".

Thanks
sgosselin
Posted: Friday, July 25, 2008 6:22:52 AM
Rank: Member
Groups: Member

Joined: 6/13/2008
Posts: 11
Ok thank you!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.