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

Radgrid EditMode="EditForms"

7 Answers 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dru Snyder
Top achievements
Rank 1
Dru Snyder asked on 29 Nov 2010, 08:32 PM
I have a radgrid that uses the default EditMode "EditForms".  I am trying to make a recording and it doesn't record anything when I click the "Insert" button on the EditForm.  Is this a limitation or a bug or did I set something up incorrectly?

Thanks.

7 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 30 Nov 2010, 04:33 PM
Hi Dru,

Can you reproduce the problem on this online example? If so, please elaborate what steps are you recording and which of them are failing.

Sincerely yours,
Pavel
the Telerik team
Interested in Agile Testing?

Tune in Wednesday, December 1st for a very special Webinar focused on Agile Testing. Click here to register for free!
0
Dru Snyder
Top achievements
Rank 1
answered on 30 Nov 2010, 05:32 PM
It worked on your online example.  So I dug a little more and tried to strip away things from my radgrid to see if any of those things were causing a problem.  It appears that this is the culprit.

<

 

 

ClientSettings>

 

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" />

 

 

 

</ClientSettings>

 


As soon as I removed that, it worked.  I'd rather keep this though and still have the test work.  The problem occurs when I try to insert a record.  It records everything including the data entry, except it does not record the actual click of the insert button.  I haven't tested update, but I assume it would have the same problem.  This grid just doesn't have a need for an update command.

Here is the radgrid code in it's entirety.

<

 

 

telerik:RadGrid ID="rgridPrograms" runat="server" AutoGenerateColumns="False"

 

 

 

GridLines="None" Height="200px" Width="268px" OnItemCommand="rgridPrograms_ItemCommand"

 

 

 

OnNeedDataSource="rgridPrograms_NeedDataSource">

 

 

 

<ClientSettings>

 

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" />

 

 

 

</ClientSettings>

 

 

 

<MasterTableView CommandItemDisplay="Top" DataKeyNames="TEXT1" EditMode="EditForms">

 

 

 

<CommandItemTemplate>

 

 

 

<div style="float: left; padding: 8px 5px 10px 10px;">

 

Programs

 

 

</div>

 

 

 

<div style="float: right; padding: 8px 10px 10px 5px;">

 

 

 

<asp:LinkButton ID="LinkButton4" runat="server" CommandName="InitInsert"><img style="border:0px" alt="" src="images/icons/add.png" /> Add New</asp:LinkButton>

 

 

 

</div>

 

 

 

</CommandItemTemplate>

 

 

 

<EditFormSettings>

 

 

 

<EditColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" CancelImageUrl="~/images/icons/cancel.png"

 

 

 

UpdateImageUrl="~/images/icons/accept.png" InsertImageUrl="~/images/icons/accept.png" />

 

 

 

</EditFormSettings>

 

 

 

<Columns>

 

 

 

<telerik:GridBoundColumn DataField="TEXT1" HeaderText="Number">

 

 

 

<HeaderStyle Width="60px" />

 

 

 

<ItemStyle Width="60px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="TEXT2" HeaderText="Description">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ImageUrl="~/images/icons/remove.png"

 

 

 

ConfirmText="Are you sure you want to remove this program?" ConfirmTitle="Confirm Remove">

 

 

 

<HeaderStyle Width="40px" />

 

 

 

<ItemStyle Width="40px" />

 

 

 

</telerik:GridButtonColumn>

 

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

 

</telerik:RadGrid>

 

0
Pavel
Telerik team
answered on 01 Dec 2010, 12:07 PM
Hi Dru,

Thank you for the additional details. I was able to reproduce the problem when scrolling and static headers are enabled for the Grid. We will fix this issue for the next service pack. As a temporary solution I can suggest you to disable the Grid translator when recording this step. I have also updated your Telerik points as a small token of gratitude for bringing this issue to our attention.

Best wishes,
Pavel
the Telerik team
Interested in Agile Testing?

Tune in Wednesday, December 1st for a very special Webinar focused on Agile Testing. Click here to register for free!
0
Balakrishna Reddy
Top achievements
Rank 1
answered on 08 Apr 2013, 03:55 PM
Hi,

I want to display spaces between items in edit form,
? Plese help me how to do..
0
Cody
Telerik team
answered on 08 Apr 2013, 04:17 PM
Hello Balakrishna,

This forum is dedicated to the support of test automation via Telerik Test Studio. It sounds like you need assistance programming our RadGrid control. You will find help using this control in your web application in our Grid forum here:
http://www.telerik.com/community/forums/aspnet-ajax/grid.aspx

Greetings,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Balakrishna Reddy
Top achievements
Rank 1
answered on 09 Apr 2013, 08:18 AM
Hi,
   i am getting like this..My problem is that i want spaces between PRODUCTTYPE , MEDIATYPE and UNTTYPE...So please help me to sort it out..please............
Grid is set as editmode="edotforms"...
 

Add new record Refresh
  MediaTypeID ProductType MediaType UnitType Active  
 
No records to display.

 
0
Balakrishna Reddy
Top achievements
Rank 1
answered on 09 Apr 2013, 09:39 AM
Hi,
   This is the answer..if we increase the height of the editform table..we will get spaces..

<EditFormSettings>                   
                    <FormTableStyle Height="120px"></FormTableStyle>
 </EditFormSettings>
Tags
General Discussions
Asked by
Dru Snyder
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Dru Snyder
Top achievements
Rank 1
Balakrishna Reddy
Top achievements
Rank 1
Cody
Telerik team
Share this question
or