Jul 30, 2010

ASP.NET tablpanel ajax control

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="tabpanel.aspx.cs" Inherits="tabpanel" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Tab panel</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
          <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
                                                                    <cc1:TabPanel runat="server" HeaderText="Credit Card/Debit Card" ID="TabPanel1">
                                                                        <ContentTemplate>
                                                                            <table width="100%" align="center">
                                                                                <tr>
                                                                                    <td class="" colspan="2" style="text-align: center;">
                                                                                        <img src="images/visamaster.jpg" />
                                                                                    </td>
                                                                                </tr>
                                                                                <caption>
                                                                                    &nbsp;
                                                                                    <tr>
                                                                                        <td style="text-align: center;">
                                                                                            <asp:Button ID="btnPayNow" runat="server" class="btns" PostBackUrl="~/CS_VPC_3Party_DO.aspx"
                                                                                                Text="Pay Now" />
                                                                                        </td>
                                                                                    </tr>
                                                                                </caption>
                                                                            </table>
                                                                        </ContentTemplate>
                                                                    </cc1:TabPanel>
                                                                    <cc1:TabPanel runat="server" HeaderText="Net Banking" ID="TabPanel2">
                                                                        <ContentTemplate>
                                                                            <table class="style6">
                                                                                <tr>
                                                                                    <td align="left" colspan="3">
                                                                                        <input name='cardOption' value='netBanking' type="hidden" />
                                                                                        <strong>Pay Using Your Internet Enabled Bank Account</strong>
                                                                                    </td>
                                                                                </tr>
                                                                                <table>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="ABN_N1" />ABN AMRO Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" value="UTI_N" type="radio">AXIS Bank</label>&nbsp;
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" value="BOBCO_N" type="radio">Bank of Baroda Corporate
                                                                                                Accounts</label></label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="BOB_N1" />Bank of Baroda Retail
                                                                                                Accounts</label>&nbsp;
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" value="BOI_N" type="radio">Bank of India</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" value="BOM_N" type="radio">Bank of Maharashtra</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="BOR_N" />Bank of Rajasthan</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="CBIBAN_N" />Citibank Bank Account
                                                                                                Online</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="CITIUB_N" />City Union Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="COP_N" />Corporation Bank</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="DEUNB_N" />Deutsche Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="FDEB_N" />Federal Bank</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="HDEB_N" />HDFC Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="IDEB_N" />ICICI Bank</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="IDBI_N" />IDBI Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="NIIB_N" />IndusInd Bank</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="JKB_N" />Jammu and Kashmir Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="KTKB_N" />Karnataka Bank</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="KVB_N" />Karur Vysya Bank<label>&nbsp;</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="NKMB_N" />Kotak Mahindra Bank</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="LVB_N" />Lakshmi Vilas Bank NetBanking</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="OBC_N" />Oriental Bank of Commerce</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="PNBCO_N" />Punjab National Bank
                                                                                                Corporate Accounts</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="NPNB_N" />Punjab National Bank
                                                                                                Retail Accounts</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="SIB_N" />South Indian Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="SBI_N" />State Bank of India</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="SBT_N" />State Bank of Travancore</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="SYNBK_N" />Syndicate Bank</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="UNI_N" />Union Bank of India</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="VJYA_N" />Vijaya Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="YES_N" />YES Bank</label>
                                                                                        </td>
                                                                                        <td>
                                                                                            <label>
                                                                                                <input name="netBankingCards" type="radio" value="BBK_N" />Bank of Bahrain &amp;
                                                                                                Kuwait</label>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td colspan="2" align="center">
                                                                                            <asp:Button ID="Button2" class="btns" runat="server" Text="PayNow" PostBackUrl="https://www.ccavenue.com/servlet/new_txn.PaymentIntegration" />
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </table>
                                                                        </ContentTemplate>
                                                                    </cc1:TabPanel>
                                                                </cc1:TabContainer>
    </div>
    </form>
</body>
</html>



o/p:





































No comments:

Post a Comment