TabStrip.htc仅在IE中有效.需要解决其他浏览器 [英] TabStrip.htc only works in IE. need work around for other browser
本文介绍了TabStrip.htc仅在IE中有效.需要解决其他浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有此页面需要重新编码,因为它使用的是TabStrip.htc,它恰巧在Firefox,safari和chrome中无法正常工作(甚至无法显示).
我需要解决的帮助.
我正在使用.Net 2.0并尝试使用Menu和MultiView替换TabStrip.htc中的选项卡式菜单,但是当我使用索引页运行它时,我无法选择其他菜单,并且其视图均未加载.我真的需要帮助.
Hi,
I have this page that needs re-coding because it uses TabStrip.htc which happens to not working properly (even displaying) in Firefox, safari and chrome.
I need help for a work around.
I''m using .Net 2.0 and tried the Menu and MultiView to replace the tabbed menu in TabStrip.htc but when i ran it with the index page, i can''t select the other menu and its view is not loading neither. I really need a help on this.
<asp:Menu id="myMenu" runat="server" Orientation="Horizontal" StaticMenuItemStyle-CssClass="tab" StaticSelectedStyle-CssClass="selectedTab"
CssClass="tabs" OnMenuItemClick="myMenu_MenuItemClick">
<Items>
<asp:MenuItem Text="Update Compliance" Value="0" />
<asp:MenuItem Text="List of Manually Tagged Vouchers" Value="1" Selected="true" />
</Items>
</asp:Menu>
<div class="tabContents"\>
<asp:MultiView id="MultiView1" ActiveViewIndex="1" runat="server">
<asp:View ID="View1" runat="server"><br />
<table>
<tr>
<td>Entity:</td>
<td>
<asp:dropdownlist id="Entity_TaggingTab_Ddl" runat="server" autopostback="false"></asp:dropdownlist>
</td>
<td>Voucher paid on:</td>
<td>
<asp:dropdownlist id="Month_TaggingTab_Ddl" runat="server" autopostback="false"></asp:dropdownlist>
</td>
</tr>
<tr>
<td>Voucher ID:</td>
<td colspan="4">
<input id="Text1" type="text" maxlength="10" runat="server" onkeydown="Do_Tagging_Available();" önkeyup="Do_Tagging_Available();" />
</td>
</tr>
<tr>
<td>
<input id="Hidden5" type="hidden" runat="server" style="VISIBILITY:hidden" />
<input id="Button1" type="button" value="Select Reason" runat="server" önclick="changing_tagging_Entity();changing_tagging_Month();Select_Reason_Click();" disabled="disabled" />
</td>
</tr>
</table>
</asp:View>
<asp:View ID="View2" runat="server">
<br />
<table>
<tr>
<td>Entity:</td>
<td><select id="Entity_ListTab_Ddl" runat="server" önchange="onvaluechange();" enableviewstate="true"></select></td>
</tr>
<tr>
<td>Voucher paid on:</td>
<td>
<asp:dropdownlist id="Month_ListTab_Ddl" runat="server" autopostback="false"></asp:dropdownlist>
</td>
</tr>
<tr>
<td colspan="4" align="center" id="Td1" style="display:none; border-removed1 solid #999999; border-removed1 solid #999999; padding:2px; background-color:#cccccc;">
You have changed the
<span style="background-color:yellow">highlighted</span>
values. Click <input name="update" id="Button2" type="button" class="minibutton" style="height:18px" önclick="on_update();"
value="here" /> to update the report.
</td>
</tr>
<tr>
<td><input id="Button3" type="button" runat="server" value="Undo Tagging" disabled="disabled" önclick="if(Confirm_do_tagging()==false)return;" />
<span class="ToolTip" onmouseover="javascript:this.className='ToolTipHover'" önmouseout="javascript:this.className='ToolTip'">
<img id="IMG2" class="link" src="../images/expand_help_9x9.gif">
<div>
<table>
<tr>
<td class="medHeader" style="font-size:11px;">
UndoTagging Functionality:
</td>
</tr>
<tr>
<td>
It is possible to reverse the compliance of a voucher that has been
manually marked compliant.
</td>
</tr>
</table>
</div>
</span>
</td>
</tr>
</table>
<asp:datagrid id="ManuallyTaggedVouchers" runat="server" AutoGenerateColumns="False"
BorderColor="white" Width="100%" Height="24px" BorderWidth="10px" ShowFooter="true">
<HeaderStyle ForeColor="White" BackColor="#0099cc"></HeaderStyle>
<FooterStyle ForeColor="White" BackColor="#0099cc"></FooterStyle>
<Columns>
<asp:TemplateColumn>
<HeaderTemplate>
<asp:CheckBox ID="selectAllCheck" runat="server" onclick="Select_deselectAll();" Checked="False" Enabled="true"></asp:CheckBox>
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox runat="server" ID="chk_check" onclick="Active_desactivate_btn(this,1);"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:ButtonColumn Visible="False" Text="Select" HeaderText="Select" CommandName="Select"></asp:ButtonColumn>
<asp:BoundColumn DataField="Company" HeaderText="Company"></asp:BoundColumn>
<asp:BoundColumn DataField="FY" HeaderText="FY"></asp:BoundColumn>
<asp:BoundColumn DataField="Voucher ID" HeaderText="Voucher ID"></asp:BoundColumn>
<asp:BoundColumn DataField="Vendor" HeaderText="Vendor"></asp:BoundColumn>
<asp:BoundColumn DataField="Paid On" HeaderText="Paid On"></asp:BoundColumn>
<asp:BoundColumn DataField="Net Amount" HeaderText="Net Amount"><ItemStyle HorizontalAlign="Right"></ItemStyle></asp:BoundColumn>
<asp:BoundColumn DataField="Requester Name" HeaderText="Requester Name"></asp:BoundColumn>
<asp:BoundColumn DataField="Time" HeaderText="Time"></asp:BoundColumn>
<asp:BoundColumn DataField="Set By" HeaderText="Set By"></asp:BoundColumn>
<asp:BoundColumn DataField="Reason" HeaderText="Reason"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="CanCheck" HeaderText="AllowCheck"></asp:BoundColumn>
</Columns>
</asp:datagrid>
</asp:View>
</asp:MultiView>
推荐答案
this is solved. i re-coded it.
this is solved. i re-coded it.
这篇关于TabStrip.htc仅在IE中有效.需要解决其他浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文