Welcome Guest Search | Active Topics | Sign In | Register

LinkButton on MultiPage in Callbackpanel Options
KoenL
Posted: Sunday, December 9, 2007 11:42:35 PM
Rank: Member
Groups: Member

Joined: 11/16/2007
Posts: 13
Hey ,

I have a callbackpanel with a Multipage on one of the two pages is a linkbutton .
When a click the button i get an javascript error .
'WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("saveButton", "", true, "", "", false, true))'

Code looks like :

<eo:CallbackPanel ID=pnl1 runat=server Triggers="{ControlID:TabStrip;Parameter:},{ControlID:saveButton;Parameter:}" Width=600>
<table>

<tr>
<td align=left style="width: 600px">

<eo:TabStrip ID="TabStrip" runat="server" ControlSkinID="None" OnItemClick="tabStrip_OnClick" MultiPageID="MultiPage" RaisesServerEvent="True" Visible=false>
<TopGroup>
<Items>
<eo:TabItem Text-Html="_Personalia1" Value=1 Disabled=true>
</eo:TabItem>
<eo:TabItem Text-Html="_Personalia2" Value=2 Disabled=true>
</eo:TabItem>

</Items>
</TopGroup>
<LookItems>
<eo:TabItem Height="21" HoverStyle-CssText="position: relative; top: 2px; background-image: url(00010002); background-repeat: repeat-x"
ItemID="_Default" LeftIcon-HoverUrl="00010006" LeftIcon-SelectedUrl="00010008"
LeftIcon-Url="00010004" NormalStyle-CssText="position: relative; top: 2px; background-image: url(00010001); background-repeat: repeat-x"
RightIcon-HoverUrl="00010007" RightIcon-SelectedUrl="00010009" RightIcon-Url="00010005"
SelectedStyle-CssText="background-image: url(00010003); background-repeat: repeat-x"
Text-Padding-Bottom="2" Text-Padding-Top="1">
<SubGroup ItemSpacing="1" Style-CssText="background-image:url(00010000);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>

</eo:TabStrip>
<br />
</td>
</tr>
<tr>
<td style="width: 600px">
<eo:MultiPage runat="server" id="MultiPage" Visible=false >
<eo:PageView id="Pageview1" runat="server">
<table>
<tr>
</tr>
</table>
</eo:PageView>
<eo:PageView id="Pageview2" runat="server">
<table>
<tr>
</tr>
<tr>
<td><asp:LinkButton id=saveButton runat="server" Visible=false ><img runat=server id=imgSaveButton border=0 /></asp:LinkButton></td>
</tr>
</table>
</eo:PageView>
</eo:MultiPage>
</td>
</tr>
</table>
</eo:CallbackPanel>
eo_support
Posted: Monday, December 10, 2007 6:35:25 AM
Rank: Administration
Groups: Administration

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

I believe the latest build (2007.2.16) addressed this issue. Please try that and see if it works. Also try to:

1. Put a regular asp:Button in the page;
2. Put a asp:CustomValidator in the page;
3. Set both control's ValidationGroup to "test";

Make sure that both controls are placed outside of the CallbackPanel. Run the page and see if it works.

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.