Click here to Skip to main content
15,120,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
this is my aspx code
XML
<telerik:RadCodeBlock ID="RadCodeBlock1"  runat="server">
       <script type="text/javascript">
       </script>
   <telerik:RadAjaxManager ID="RadAjaxManager1"  runat="server">
       <ajaxsettings>
           <telerik:ajaxsetting ajaxcontrolid="gwList" xmlns:telerik="#unknown">
         </telerik:ajaxsetting>
         </ajaxsettings>
   <br />
       <telerik:RadGrid ID="gwList" AutoGenerateEditColumn="false" Skin="Forest"  runat="server" AutoGenerateColumns="false"
       AllowPaging="True" PagerStyle-AlwaysVisible="true" AllowSorting="true"  OnNeedDataSource="RadGrid1_NeedDataSource"
         önItemDataBound="gwList_OnItemDataBound">
       <mastertableview editmode="PopUp" commanditemdisplay="Top" datakeynames="RecID">
       <columns>
      <telerik:gridbuttoncolumn commandname="Edit" text="Edit" uniquename="Edcolumn" >
      </telerik:gridbuttoncolumn>
       <telerik:gridboundcolumn uniquename="Name" headertext="Name" allowfiltering="true" datafield="Name" >
       </telerik:gridboundcolumn>
       <telerik:gridboundcolumn uniquename="Abr" headertext="Abr" allowfiltering="true" datafield="Abr" >
       </telerik:gridboundcolumn>

       <telerik:gridbuttoncolumn commandname="Delete" text="Delete" uniquename="Delcolumn" ></telerik:gridbuttoncolumn>
       </columns>
       <editformsettings insertcaption="Add new item">
               EditFormType="Template" CaptionDataField="RecID" FormCaptionStyle-BackColor="ForestGreen" PopUpSettings-Modal="true" CaptionFormatString="BankID : {0}"  >
       <FormTemplate>
       <table id="table01" cellspacing="1" cellpadding="1" width="250" border="0">
        <tr>
            <td>
                Name:
            </td>
            <td>
             <asp:TextBox ID="TextBox10" Text='<%# Bind( "Name") %>'runat="server">
            </td>
        </tr>
        <tr>
           <td>
              Abr:
           </td>
           <td>
             <asp:TextBox ID="TextBox1" Text='<%# Bind( "Abr") %>' runat="server">
           </td>
        </tr>
        <tr>
          <td>
             Status:
          </td>
          <td>
             <telerik:radcombobox id="ComboStatus"  runat="server" >
           <items>
             <telerik:radcomboboxitem value="-1" text="Select" />
             <telerik:radcomboboxitem value="1" text="Active" />
             <telerik:radcomboboxitem value="0" text="In Active" />
           </items>
          </td>
        </tr>
        <br />
        <tr>
         <td colspan="2">
      <asp:Button Text="Submit" runat="server" CommandName="Insert" ID="Submit"  />
         </td>
   </tr>
       </table>
       </FormTemplate>
       </editformsettings>
       </mastertableview>

in this code if i click on edit button so page is refresh how to stop this page refreshing please help me
Posted
v4
Comments
Arsalaan Ahmed 24-Sep-13 2:01am
   
sorry code is missing .. i am trying to 3 to 4 time code not updating
......
Thanks7872 24-Sep-13 2:10am
   
Whats this? I have updated the code,you can update it if you want to high light or add some thing.
Arsalaan Ahmed 24-Sep-13 2:21am
   
Please Answer my problem.....

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