关于Ajax中的更新面板 [英] Regarding Update Panel In Ajax

查看:54
本文介绍了关于Ajax中的更新面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在ajax中开发一个项目
但是我有如下的问题
请告诉我

如何在Ajax和更新面板中使用编辑单击"按钮
我如何进入更新面板触发器中的Repeater编辑按钮ID.

这是我的代码

Hello,

I am devloping One Project in ajax
but i have prpblem like below
please tell me that

how to use edit click button use in ajax and update panel
how i get inside Repeater edit button id in update panel trigger.

Here is my code

<div>
      <span class="Textfonts">State :</span>
</div>
<div>
       <asp:Repeater ID="Rpt" runat="server" 

      OnItemDataBound="Rpt_ItemDataBou">
        <HeaderTemplate>
         <table><tr><td>State</td><td> <asp:ImageButton ID="btnedit" ImageUrl="~/Images/Buttons/a2.png" Width="25px" Height="25px"

                                                                                CssClass="btn" Font-Bold="True" runat="server" CommandName="Ed" Text="Edit" ToolTip="Click To Edit Record"

                                                                                OnClick=" btnedit_Click" /></td>
        </HeaderTemplate>
        <itemtemplate>  
        <table><tbody><tr><td align="center"><asp:Literal ID="txtsrno" runat="server"></td></tr></tbody></table>
       <itemtemplate>

</itemtemplate></itemtemplate></tr></table></div>




问候,Krunal




Regards,Krunal

推荐答案

您是否将其与更新面板触发器属性链接?
did you link it with update panel trigger property ?


这篇关于关于Ajax中的更新面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆