3

直到昨天,我已经把很多linkbutton东西放在一个网络表单上,一切正常。但现在我的 ajax 扩展器无法正常工作并且linkbuttons正在回发。我的一些代码是

 <table  width="460px">
    <tr>
        <td colspan="2" 
            style=" color: #C48239; font-style: normal; font-size: 18px; font-family: 'Bookman Old Style'; text-align:center;height:22px;">
           Manage Your Profile</td>
    </tr>
    <tr>
        <td>
            <asp:LinkButton ID="lnk_per_pro" runat="server" CssClass="linkButton" 
                PostBackUrl="~/User/Edit_profile.aspx">Edit Personal Profile</asp:LinkButton> </td>
        <td>
            <asp:LinkButton ID="lnk_par_pro" runat="server"  CssClass="linkButton">Edit Partner's Profile</asp:LinkButton></td>
    </tr>
    <tr>
        <td>
            <asp:LinkButton ID="lnk_con_det" runat="server" CssClass="linkButton" 
                PostBackUrl="~/User/Edit_profile.aspx">Edit Contect Details</asp:LinkButton></td>
        <td>
            <asp:LinkButton ID="lnk_add_photos" runat="server" CssClass="linkButton">Add Photos</asp:LinkButton></td>
    </tr>
    <tr>
        <td>
            <asp:LinkButton ID="lnk_hob" runat="server" CssClass="linkButton" 
                PostBackUrl="~/User/Edit_profile.aspx">Edit Hobbies and Interests</asp:LinkButton></td>
        <td>
            <asp:LinkButton ID="lnk_del_pro" runat="server" CssClass="linkButton">Remove/Delete Profile</asp:LinkButton></td>
    </tr>
</table></center>
</div>
</div><!-- div 2 end-->
<div id="div3">
<div id="inbox1"><b>About Myself</b>
</div>
<div id="inbox2"><a href="Partner_pre.aspx">Partner Prefrence </a>
</div>
</div>

<div id="div4">
<div id="indiv4"><b>Basics Information</b>
<div id="edit4">
    <asp:LinkButton ID="lnk_edit" runat="server" CssClass="link" 
        PostBackUrl="~/User/Edit_profile.aspx">&nbsp;Edit</asp:LinkButton>&nbsp;<img src="images/edit.png" alt="" />
</div>
</div>
<div id="indiv24">
    <div id="lt"><table class="style1" >
        <tr>
            <td style="color: #666666; width: 180px">
                Age</td>
            <td style="width: 180px">
                <asp:Label ID="lbl_age2" runat="server" Text="Label"></asp:Label>
            </td></tr><tr>
            <td style="color: #666666; width: 180px">
                Mobile Number</td>
            <td>
                <asp:Label ID="lbl_mob2" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="color: #666666; width: 180px">
                Height</td>
            <td style="width: 180px">
                <asp:Label ID="lbl_height2" runat="server" Text="Label"></asp:Label>
            </td></tr><tr>
            <td style="color: #666666; width: 180px">
                Email Id</td>
            <td>
                <asp:Label ID="lbl_eml2" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="color: #666666; width: 180px">
                Marital Status</td>
            <td style="width: 180px">
                <asp:Label ID="lbl_mar_sts2" runat="server" Text="Label"></asp:Label>
            </td></tr>
    </table></div>
a link is shown on hover of linkbutton 
javascript:webforms_DoPostbackWithOption:(NewPostBackoption("","false",true,"false"));
4

3 回答 3

5

您在应用程序中是否有任何验证控件,通过将 Cause validation = false 设置为链接按钮控件来检查一次。

于 2013-11-17T02:47:10.460 回答
0

有时您的系统已更改为旧时(例如一年前),链接按钮也不会重定向

于 2013-11-06T09:25:41.010 回答
0

应用程序内部可能有验证控件,通过设置 Cause validation = false 来检查一次链接按钮控件。

于 2017-03-24T06:01:52.747 回答