Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a page with several linkbuttons, and all of them is not working in Google Chrome. But, they are working well in IE and Firefox. Chrome Inspector can find the linkbutton. The button is placed inside several panels.

C#
<asp:MultiView ID="MultiView1" runat="server">
            <asp:View runat="server" ID="view1">
                <table width="100%">
                    <tr>
                        <td style="padding-removed 10px;">
                            <asp:Label runat="server" ID="lbltitle">
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-removed 10px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSearch" runat="server" OnTextChanged="txtSearch_TextChanged" CssClass="textbox">
                            <%--<asp:Button ID="btnsearch" runat="server" Text="Search"
                                OnClick="GrdSearch_Click" />  Eval("SmartBoxId")--%>
                            <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1"  runat="server" TargetControlID="txtSearch"
                                WatermarkText="--Type Smartbox ID here--">
                            
                        </td>
                    </tr>
                    <tr>
                        <td style="width:100%;">
                            <asp:UpdatePanel ID="updatePanel" runat="server">
                                <contenttemplate>
                                  <%--  <asp:Timer ID="Timer1" runat="server" Interval="50000" OnTick="Timer1_Tick">
                                    --%>
                                    <cc1:PagingGridView ID="grdSmartBox"  runat="server" AutoGenerateColumns="False" CssClass="edtsb"
                                        OnRowCreated="grdSmartBox_Rowcreated" AllowSorting="false" PageSize="10" AllowPaging="true"
                                         önPageIndexChanging="grdSmartBox_PageIndexChanging" HeaderStyle-Height="18pt">
                                        <columns>
                                            <asp:TemplateField SortExpression="sno">
                                                <HeaderTemplate>
                                                    <asp:LinkButton runat="server" ID="lnkSno" Text="<%$ Resources:SB, lblsno %>" OnClick="gridUsers_Sort"
                                                        CommandArgument="sno" Font-Underline="False" ToolTip="<%$ Resources:SB, ttsort %>" />
                                                </HeaderTemplate>
<asp:MultiView ID="MultiView1" runat="server">
            <asp:View runat="server" ID="view1">
                <table width="100%">
                    <tr>
                        <td style="padding-removed 10px;">
                            <asp:Label runat="server" ID="lbltitle">
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-removed 10px;">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSearch" runat="server" OnTextChanged="txtSearch_TextChanged" CssClass="textbox">
                            <%--<asp:Button ID="btnsearch" runat="server" Text="Search"
                                OnClick="GrdSearch_Click" />  Eval("SmartBoxId")--%>
                            <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1"  runat="server" TargetControlID="txtSearch"
                                WatermarkText="--Type Smartbox ID here--">
                            
                        </td>
                    </tr>
                    <tr>
                        <td style="width:100%;">
                            <asp:UpdatePanel ID="updatePanel" runat="server">
                                <contenttemplate>
                                  <%--  <asp:Timer ID="Timer1" runat="server" Interval="50000" OnTick="Timer1_Tick">
                                    --%>
                                    <cc1:PagingGridView ID="grdSmartBox"  runat="server" AutoGenerateColumns="False" CssClass="edtsb"
                                        OnRowCreated="grdSmartBox_Rowcreated" AllowSorting="false" PageSize="10" AllowPaging="true"
                                         önPageIndexChanging="grdSmartBox_PageIndexChanging" HeaderStyle-Height="18pt">
                                        <columns>
                                            <asp:TemplateField SortExpression="sno">
                                                <HeaderTemplate>
                                                    <asp:LinkButton runat="server" ID="lnkSno" Text="<%$ Resources:SB, lblsno %>" OnClick="gridUsers_Sort"
                                                        CommandArgument="sno" Font-Underline="False" ToolTip="<%$ Resources:SB, ttsort %>" />
                                                </HeaderTemplate>
                                                <itemtemplate>
                                                    <%# Container.DataItemIndex + 1 %>
                                                </itemtemplate>
                                                <HeaderStyle CssClass="tabletitlerow" />
                                                <itemstyle cssclass="grdLabel" horizontalalign="Center" />
                                            
                                            <asp:TemplateField SortExpression="id">

<pagerstyle cssclass="paging_gridview_pgr" />
                                    
                                </columns></contenttemplate>
                                <triggers>
                                    <asp:AsyncPostBackTrigger ControlID="txtSearch" EventName="TextChanged" />
                                </triggers>


</td></tr></table></columns></contenttemplate></td></tr></table>


This is the code which using to display the multiview.


Kindly give me some suggestion.
Posted
Updated 30-Aug-11 20:09pm
v4
Comments
[no name] 26-Aug-11 3:00am    
You cannot troubleshoot browser differences using your source code. Post your html markup here. There are slight differences between how different browsers interpret the html tags. Some are more forgiving (missing closing tags, etc.) while some are not. Posting your html markup may help. In FF, you can do this by right-clicking on the page and selecting 'View Page Source'.

Hi Dear,

Just write the following code in app_browser

<browsers>
    <!-- Disable the Menu Adapter for the Safari browser without changing the root browser file -->
    <browser refid="Safari1Plus">
        <controladapters>
            <adapter controltype="System.Web.UI.WebControls.Menu">
                     adapterType="" />
        </adapter></controladapters>
    </browser>
</browsers>


Still any problem,send me a query.
 
Share this answer
 
Comments
Member 7744835 30-Aug-11 7:08am    
Hi,

I have used asp:multiview code, but it was not working in Google Chrome alone. The multiview tab is working properly in IE and Firefox. Can you able to help me?
Hi Dear,
i hope the following link helps you.

Menu Control in chrome

And just check your site with following link for compatabiltiy.
Browser Compatability

still any problem,send me a query.
Have a good time!!!
 
Share this answer
 
v2
Comments
Member 7744835 30-Aug-11 8:30am    
sure, Thank you. I'll check it and update you.
Member 7744835 31-Aug-11 1:08am    
Hi,

I have use the "Menu Control in chrome" link, but it was work out, still the mutiview menu is not displaying in Google Chrome browser, kindly send me any solution to rectify this problem.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900