This is a migrated thread and some comments may be shown as answers.

[Solved] Reagarding Inline Editing In RadGrid

2 Answers 154 Views
Grid
This is a migrated thread and some comments may be shown as answers.
srilatha
Top achievements
Rank 1
srilatha asked on 06 Aug 2009, 12:43 PM
Hi Team,

I use radgrid in that the properties i set true is AllowFiltering,AllowSorting and Allow Paging. For Editing i use the Imagebutton in the GridTemplateColoumn.when i click the edit Imagebutton the grid shows the inline editing even though i did not use the edit mode in the mastertableview 

Please help me
Thanks In Advance

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 Aug 2009, 01:18 PM
Hi Srilatha,

I tried the scenario and found that it is working fine for me, I am getting EditForm when clicking the ImageButton to Edit eventhough I have not set EditMode. My version of RadControls is '2009.02.0701.20' and here is the ASPX markup that I tried.

ASPX:
 
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" 
     DataSourceID="SqlDataSource1" GridLines="None" AllowFilteringByColumn="True"
    <MasterTableView AutoGenerateColumns="False" DataSourceID="SqlDataSource1" >                 
        <Columns> 
           <telerik:GridTemplateColumn UniqueName="TemplateColumn1"
             <ItemTemplate> 
                <asp:ImageButton ID="ImageButton1" ImageUrl="~/Images/Image1.gif" runat="server" CommandName="Edit" /> 
             </ItemTemplate>       
           </telerik:GridTemplateColumn>   
             . . .           
        </Columns> 
    </MasterTableView>     
</telerik:RadGrid> 
Have you tried like this? Can you add EditMode="EditForms" in MasterTableView and see whether it is working fine?
Please feel free to share the comments.

-Shinu.
0
srilatha
Top achievements
Rank 1
answered on 06 Aug 2009, 01:45 PM
Hi shinu

My problem is not that actually u posted but now i solved my problem thanks for reply
Tags
Grid
Asked by
srilatha
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
srilatha
Top achievements
Rank 1
Share this question
or