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

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

in this code if i click on edit button so page is refresh how to stop this page refreshing please help me
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