Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Tabcontrol

  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2001
    Messaggi
    532

    tabcontrol

    Come poter simulare in una pagina.aspx un tab control ?

    nella pagina.aspx basata sulla seguente masterpage ho le seguenti imagebutton

    <table >
    <tr>
    <td> <asp:ImageButton ID="ImageButton1" PostBackUrl="~/tab1.aspx" ImageUrl="images/tab1.gif"runat="server"/> </td>

    <td> <asp:ImageButton ID="ImageButton2" PostBackUrl="~/tab2.aspx" ImageUrl="images/tab2.gif"runat="server"/> </td>

    <td> <asp:ImageButton ID="ImageButton3" PostBackUrl="~/tab3.aspx" ImageUrl="images/tab3.gif"runat="server"/> </td>

    </tr>
    </table>

    ogni pagina tab1.aspx, tab2.aspx, tab3.aspx si basa sulla masterpage vista sopra.

    Domanda:

    quello che desidero fare è che quando clikko su imagebutton1, per esempio, desidero che l'immagine tab1.gif sia cambiata in tab1new.gif, emulando così un tabcontrol.

    è possibile farlo ? se si come fare ?

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.