Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

ASP.NET
<div>
      State :
</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>



Regards,Krunal
Posted
Updated 12-Oct-11 20:54pm
v2

1 solution

did you link it with update panel trigger property ?
 
Share this answer
 

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



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