Welcome Guest Search | Active Topics | Sign In | Register

OnItemClick="TabStrip1_ItemClick" does not trigger Options
DeanBlakely
Posted: Thursday, July 3, 2008 5:24:37 PM
Rank: Advanced Member
Groups: Member

Joined: 2/20/2008
Posts: 34
I have a specific problem and a general question...

Specific problem - my tabstrip (pasted below) does not trigger the itemClick event. What might cause this.

General Question - when a Tabstrip, multipage, and multiple pageviews are all hooked together, what are the best events to sense page change i.e. page from, page to, what page am I on, etc?

thanks,
Gary

<eo:TabStrip ID="TabStrip1" runat="server" Width="800px" ControlSkinID="None" MultiRow="True" RowSpacing="-3" MultiPageID="MultiPage1" OnItemClick="TabStrip1_ItemClick">
<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="MyVTHome" Width="159">
</eo:TabItem>
<eo:TabItem Text-Html="4506 Records" Width="159">
</eo:TabItem>
<eo:TabItem Text-Html="SSN Verification" Width="159">
</eo:TabItem>
<eo:TabItem Text-Html="BK Verification" Width="159">
</eo:TabItem>
<eo:TabItem Text-Html="Fraud Report" Width="159">
</eo:TabItem>
</Items>
</TopGroup>
</eo:TabStrip>
eo_support
Posted: Friday, July 4, 2008 7:17:42 AM
Rank: Administration
Groups: Administration

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

For your first question, you would need to set the TabStrip's RaisesServerEvent to true.

For your second question, it would be hard for us to recommend the "best way" because it depends on your specific scenario and preference. But ItemClick is mostly used. Other events you may use are:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.ClientSideOnItemClick.html
http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.BaseNavigator.ItemClick.html
http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.MultiPage.PageDeselected.html
http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.MultiPage.PageSelected.html

Thanks
DeanBlakely
Posted: Friday, July 4, 2008 10:03:14 AM
Rank: Advanced Member
Groups: Member

Joined: 2/20/2008
Posts: 34
thanks, I forgot we have to tell it to raise events....

I see the PageSelected PageDeselected is not reliable. I have a tab/multipage/pageviews inside a pageview that belongs to a parent tab/multipage much like Etrade hirearchial tabs.

If a parent Page is selected or deselected the child multipage triggers a selected event passing the first page in its collection. Seems it should not do this.

Thanks
Gary
eo_support
Posted: Saturday, July 5, 2008 5:07:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
DeanBlakely wrote:
If a parent Page is selected or deselected the child multipage triggers a selected event passing the first page in its collection. Seems it should not do this.


I believe that behavior is by design so that the child PageView gets notified that it is about to be visible so that it can perform whatever task that it would like to perform.

Thanks
DeanBlakely
Posted: Thursday, July 10, 2008 10:18:35 AM
Rank: Advanced Member
Groups: Member

Joined: 2/20/2008
Posts: 34
Actually if ANY of the parent tabs get selected on multipage1, the first pageview in multipage2 gets told it is selected and it's not. There seems to be nothing I can find in e that tells me that the event didn't come from my parent tab but from another tab in the multipage above.



I'm pulling my hair out on this.
Gary
eo_support
Posted: Thursday, July 10, 2008 11:49:42 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Ah. That's something interesting. We will look into it and get back to you as soon as possible.

Thanks
eo_support
Posted: Thursday, July 10, 2008 2:37:29 PM
Rank: Administration
Groups: Administration

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

We tested the scenario and we do NOT see what you described. Can you provide a test page?

Thanks!


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.