|
Rank: Newbie Groups: Member
Joined: 7/27/2007 Posts: 8
|
Is there a way to force a save (so that when a user clicks on another tab the save occurs) before allowing the user to navigate to the next tab? We need this functionality for a ASP .NET app, with C#
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
You need to set RaisesServerEvent to true.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 7/27/2007 Posts: 8
|
Yes, we had set this property as below:
<eo:TabStrip ID="TabStrip1" MultiPageID="MultiPage1" runat="server" Width="700px" ControlSkinID="None" RaisesServerEvent="True" OnItemClick="TabStrip1_ItemClick1" MultiRow="True" RowSpacing="-1">
When I am on TABA and clicked on TABB the "TabStrip1_ItemClick1" is fired in that TabStrip1.SelectedIndex will give the selected tab (TABB) index, but is there a way to know from which Tab this is clicked (In this case I clicked from TABA), so that to save (TABA) data.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
The TabStrip does not tell you the previous selected index. You will need to handle that by yourself. One way to do it is by storing the previous selected index in view state and fetch it later.
Thanks
|
|