Problem with multipage in an updatepanel

This post has 1 reply

Not Ranked
Posts: 10
Goalie35 Posted: Sat Jun 27, 2009 @ 3:11 PM
I have a form that contains 2 tabs. These 2 tabs determine which of the 2 pageviews of the multipage control are displayed.

Within these pageviews are linkbuttons that can be clicked. My problem occurs when I click a linkbutton on the 2nd tab, the page ends up redisplaying the data from the 1st tab instead. How can force the multipage control to keep it's focus on the 2nd pageview when I click a link in it?

Here's my code:





<table cellpadding="0" cellspacing="0" border="0">
     <tr>
        <td align="left" style="width:100%;">
           SORT BY:
           &nbsp;|&amp;nbsp
           &nbsp;|&amp;nbsp
           
        </td>
    </tr>
    <tr>
         <td style="padding:5px;width:100%;">
             <div id="posts" />    
         </td>
    </tr>
</table>

              
<table cellpadding="0" cellspacing="0" border="0" width="100%">
     <tr>
          <td class="widget_top_middle" align="center">
               SORT BY:
               &nbsp;|&amp;nbsp
               &nbsp;|&amp;nbsp
               
          </td>
     </tr>
     <tr>
          <td style="padding:5px;width:100%;">
               <div id="questions" class="posts" />
          </td>
     </tr>
</table>
  






Any idea how I can keep it on the 2nd pageview when I click a linkbutton? Thanks.
Top 10 Contributor
Posts: 648
lalit Posted: Thu Dec 3, 2009 @ 11:49 AM

Hello,

 

Thank you for submitting your issue with ComponentArt Forum.

 

I tried to reproduce the issue by making a sample application where I have used TabStrip associated with multipage. I placed the multipage inside the update panel and placed Link button on both multipage and found that focus does not loose from the current tab when clicking on the link button inside multipage.

 

I have tested this sample with ComponentArt version 2009.3.1762.

 

Please check the attached sample. Hope it helps you.

 

Thanks,

Lalit Gauba

Page 1 of 1 (2 items)