我有一个CMS。问题是按钮在iphone浏览器中不起作用(safari,chrome,firefox ..),但在PC中工作正常。在两个弱点之前它在PC和手机上运行良好。突然间问题来了。我在我的应用程序中使用了ASP.net C#。下面是我正在使用的按钮代码。任何人都可以提出解决这个问题的方法吗?
<asp:GridView ID="gridShow" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
DataKeyNames="NewsID" AutoGenerateColumns="False" OnRowCommand="gridRowCommand"
OnRowEditing="EditRecord" OnRowDeleting="DeleteRecord" OnSorting="SortRecords" AllowPaging="True"
AllowSorting="true" PageSize="10"
OnPageIndexChanging="ChangePage" Width="100%" CssClass="aCenter">
<FooterStyle BackColor="#4a4a4a" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#f8f8f8" Height="100" />
<EditRowStyle BackColor="#2ff1BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#4a4a4a" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#4a4a4a" Font-Bold="True" ForeColor="White" CssClass="gridHeader" Height="40px" />
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="40px">
<ItemTemplate>
<asp:ImageButton ID="ibtnApprove" runat="server" ImageUrl="~/images/approve.png" ToolTip="منشور" CommandName="cmdApprove" CommandArgument='<%#Eval("NewsID")%>' />
<asp:ImageButton ID="ibtnBlock" runat="server" ImageUrl="~/images/block.png" ToolTip="إيقاف" CommandName="cmdBlock" CommandArgument='<%#Eval("NewsID")%>' Visible="false" />
<br />
<asp:LinkButton ID="lbtnApprove" runat="server" Text="منشور" CommandName="c" CommandArgument='<%#Eval("NewsID")%>'></asp:LinkButton>
<asp:LinkButton ID="lbtnBlock" runat="server" Text="إيقاف" CommandName="cmdBlock" CommandArgument='<%#Eval("NewsID")%>' Visible="false"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80px">
<ItemTemplate>
<a href="#" data-reveal-id="<%# DataBinder.Eval(Container.DataItem, "NewsID")%>">
<asp:Image ID="imgDetails" runat="server" ImageUrl="~/images/next-item.png" ToolTip="تفاصيل أكثر" />
<br />
<asp:Label ID="lblPDetails" runat="server" Text="التفاصيل"></asp:Label>
</a>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="" ItemStyle-Font-Size="Large" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80px">
<ItemTemplate>
<asp:ImageButton ID="ibtnEdit" runat="server" ImageUrl="~/images/edit.png" ToolTip="تعديل" CommandName="Edit" />
<br />
<asp:LinkButton ID="lbtnEdit" runat="server" Text="تعديل" Font-Bold="true" CommandName="Edit"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="" ItemStyle-Font-Size="Large" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80px">
<ItemTemplate>
<span onclick="return confirm('هل أنت متأكد من الحذف؟')">
<asp:ImageButton ID="ibtnDelete" runat="server" ImageUrl="~/images/delete-item.png" ToolTip="حذف" CommandName="Delete" />
<br />
<asp:LinkButton ID="lbtnDelete" runat="server" Text="حذف" Font-Bold="true" CommandName="Delete"></asp:LinkButton>
</span>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView> ##