aspx code:
<asp:Panel ID="PanelMain" HorizontalAlign="Left" runat="server" Width="900px" GroupingText="Accounts Report Controller">
<ajaxToolkit:TabContainer ID="TabContainer1" runat="server" Width="900px"
ActiveTabIndex="2">
<ajaxToolkit:TabPanel ID="TabPanel1" runat="server">
<headertemplate>Accounts:</headertemplate>
<contenttemplate><asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate><table align="center" style="width: 850px"><tr><td align="left" class="auto-style3"></td><td align="left"><asp:Label ID="Label2" runat="server" CssClass="labelFont" Font-Bold="true" Font-Size="12px"></asp:Label></td></tr><tr id="TrAcc" visible="false" runat="server"><td id="td1" align="right" class="auto-style3"><asp:Label ID="Label3" runat="server" CssClass="labelFont" Text="Date From:" Font-Bold="true" Font-Size="12px"></asp:Label></td><td id="td2"><asp:TextBox ID="txtDateFrom2" runat="server"></asp:TextBox><asp:RegularExpressionValidator ID="RegularExpressionValidator2"
runat="server" ControlToValidate="txtDateFrom2" ErrorMessage="*"
ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"></asp:RegularExpressionValidator><ajaxToolkit:CalendarExtender ID="CalendarExtender2" runat="server"
Format="dd/MM/yyyy" TargetControlID="txtDateFrom2"></ajaxToolkit:CalendarExtender><ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender2" runat="server"
AcceptNegative="None" DisplayMoney="Left" ErrorTooltipEnabled="True"
Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
TargetControlID="txtDateFrom2"></ajaxToolkit:MaskedEditExtender></td></tr><tr id="Tr2" visible="false" runat="server"><td align="right" class="auto-style3">Date To: </td><td><asp:TextBox ID="txtDateToAcc" runat="server"></asp:TextBox><asp:RegularExpressionValidator ID="RegularExpressionValidator4"
runat="server" ControlToValidate="txtDateToAcc" ErrorMessage="*"
ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"></asp:RegularExpressionValidator><ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server"
Format="dd/MM/yyyy" TargetControlID="txtDateToAcc"></ajaxToolkit:CalendarExtender><ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender3" runat="server"
AcceptNegative="None" DisplayMoney="Left" ErrorTooltipEnabled="True"
Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
TargetControlID="txtDateToAcc" /></td></tr><tr class="rowCss"><td colspan="2" align="left">
<asp:RadioButtonList ID="RadioButtonListAcc" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rdbListGen_SelectedIndexChanged"
Width="100%"><asp:ListItem Text="Account List" Value="4"></asp:ListItem><asp:ListItem Text="Account List Summary" Value="5">
</asp:ListItem></asp:RadioButtonList></td></tr><tr><td align="left" class="auto-style3"></td>
<td align="center">
<asp:Button ID="BtnAcc" runat="server" Text="View" CssClass="button" OnClick="BtnAcc_Click" /></td></tr></table>
</ContentTemplate>
<Triggers><asp:PostBackTrigger ControlID="BtnAcc" />
</Triggers>
</asp:UpdatePanel>
</contenttemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanelGeneral" runat="server">
<headertemplate>Balance Sheet:</headertemplate>
<contenttemplate><asp:UpdatePanel ID="Up1" runat="server"><ContentTemplate><table align="center" style="width: 850px"><tr><td align="left" class="auto-style3"></td><td align="left"><asp:Label ID="lblError" runat="server" CssClass="labelFont" Font-Bold="true" Font-Size="12px"></asp:Label></td></tr><tr id="TrDf" visible="false" runat="server"><td id="tdradio2" align="right" class="auto-style3"><asp:Label ID="Label1" runat="server" CssClass="labelFont" Text="Date From:" Font-Bold="true" Font-Size="12px"></asp:Label></td><td id="tdradio3"><asp:TextBox ID="txtDateFrom" runat="server"></asp:TextBox><asp:RegularExpressionValidator ID="RegularExpressionValidator3"
runat="server" ControlToValidate="txtDateFrom" ErrorMessage="*"
ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"></asp:RegularExpressionValidator><ajaxToolkit:CalendarExtender ID="CalendarExtenderCd" runat="server"
Format="dd/MM/yyyy" TargetControlID="txtDateFrom"></ajaxToolkit:CalendarExtender><ajaxToolkit:MaskedEditExtender ID="MaskedEditExtenderCD" runat="server"
AcceptNegative="None" DisplayMoney="Left" ErrorTooltipEnabled="True"
Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
TargetControlID="txtDateFrom" /></td></tr><tr id="TrDt" visible="false" runat="server"><td align="right" class="auto-style3">Date To: </td><td><asp:TextBox ID="txtDateTo" runat="server"></asp:TextBox><asp:RegularExpressionValidator ID="RegularExpressionValidator1"
runat="server" ControlToValidate="txtDateTo" ErrorMessage="*"
ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"></asp:RegularExpressionValidator><ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server"
Format="dd/MM/yyyy" TargetControlID="txtDateTo"></ajaxToolkit:CalendarExtender><ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server"
AcceptNegative="None" DisplayMoney="Left" ErrorTooltipEnabled="True"
Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
TargetControlID="txtDateTo" /></td></tr><tr><td id="tdradio" colspan="2" align="left"><asp:RadioButtonList ID="rdbListGen" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rdbListGen_SelectedIndexChanged"
Width="100%"><asp:ListItem Text="Balance Sheet" Value="1"></asp:ListItem><asp:ListItem Text="WS Stock Report(Item Wise)" Value="2"></asp:ListItem></asp:RadioButtonList></td></tr><tr><td align="left" class="auto-style3"></td><td align="center"><asp:Button ID="btnGeneral" runat="server" Text="View" CssClass="button" OnClick="btnGeneral_Click" /></td></tr></table></ContentTemplate><Triggers><asp:PostBackTrigger ControlID="btnGeneral" /></Triggers></asp:UpdatePanel></contenttemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanelPl" runat="server">
<headertemplate>Profit & Loss:</headertemplate>
<contenttemplate>
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<ContentTemplate><table align="center" style="width: 850px">
<tr id="TrplDt" visible="true" runat="server">
<td align="left" class="auto-style3"></td>
<td align="left">
<asp:Label ID="Label4" runat="server" CssClass="labelFont" Font-Bold="true" Font-Size="12px"></asp:Label>
</td></tr><tr id="Tr1" visible="true" runat="server">
<td id="td3" align="right" class="auto-style3">
<asp:Label ID="Label5" runat="server" CssClass="labelFont" Text="Date From:" Font-Bold="true" Font-Size="12px"></asp:Label>
</td><td id="td4"><asp:TextBox ID="dfTextBoxPl" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="RegularExpressionValidator5"
runat="server" ControlToValidate="dfTextBoxPl" ErrorMessage="*"
ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"></asp:RegularExpressionValidator><ajaxToolkit:CalendarExtender ID="CalendarExtender4" runat="server"
Format="dd/MM/yyyy" TargetControlID="dfTextBoxPl"></ajaxToolkit:CalendarExtender><%--<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender4" runat="server"
AcceptNegative="None" DisplayMoney="Left" ErrorTooltipEnabled="True"
Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
TargetControlID="dfTextBoxPl"></ajaxToolkit:MaskedEditExtender>--%></td>
</tr>
<tr id="Tr4" visible="true" runat="server"><td align="right" class="auto-style3">Date To: </td>
<td>
<asp:TextBox ID="dtTextBoxPL" runat="server">
</asp:TextBox><asp:RegularExpressionValidator ID="RegularExpressionValidator7"
runat="server" ControlToValidate="dtTextBoxPL" ErrorMessage="*"
ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"></asp:RegularExpressionValidator>
<ajaxToolkit:CalendarExtender ID="CalendarExtender6" runat="server" Format="dd/MM/yyyy" TargetControlID="dtTextBoxPL">
</ajaxToolkit:CalendarExtender><%--<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender6" runat="server"
AcceptNegative="None" DisplayMoney="Left" ErrorTooltipEnabled="True"
Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError"
TargetControlID="dtTextBoxPL" />--%>
</td></tr>
<tr class="rowCss"><td colspan="2" align="left">
<asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rdbListGen_SelectedIndexChanged" Width="100%">
<asp:ListItem Text="P&L (Date Range)" Value="7"></asp:ListItem>
<asp:ListItem Text="P&L (Date Range) Year on Year " Value="8"></asp:ListItem>
<asp:ListItem Text=" P&L" Value="9"></asp:ListItem>
</asp:RadioButtonList>
</td></tr><tr><td align="left" class="auto-style3"></td><td align="center"><asp:Button ID="ButtonPl" runat="server" Text="View" CssClass="button" OnClick="BtnPl_Click" /></td></tr></table>
</ContentTemplate><Triggers><asp:PostBackTrigger ControlID="ButtonPl" /></Triggers>
</asp:UpdatePanel>
</contenttemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanelCashFlow" runat="server">
<headertemplate>Cash Flow:</headertemplate>
<contenttemplate><asp:UpdatePanel runat="server" ID="UpdatePanel2"><ContentTemplate></ContentTemplate></asp:UpdatePanel></contenttemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>
</asp:Panel>
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন