The problem is a limitation in the current implementation. It is due to the fact that when drag and drop are enabled the grid selects the item(mousedown) using the built-in selection logic. Later when click is fired the row is again selected. The selection logic is designed in such way that if you try to select an item which is already selected it will first deselect it and later select it. It is rather complex and handles various scenarios, altering it will result in a breaking change which is not desirable.
Currently RadGrid supports strongly typed binding to a model and the use of OnCalling DataMethods, but requires additional non-documented code to get it to work correctly. See forum post at http://www.telerik.com/forums/model-binding-selectmethod-defined-in-a-business-object#jyvrnG4qhEOdaXv_pBVt8g for the code requirements. Request putting the ItemType and OnCallingDataMethods into the MasterTableView markup and eliminate the need to override the OnInit call. The markup would end up looking like: <MasterTableView DataKeyNames="intOfficeId" ItemType="Models.OfficeModel" OnCallingDataMethods="grdAssignments_CallingDataMethods" SelectMethod="GetOffice" UpdateMethod="UpdateOffice" DeleteMethod="DeleteOffice" > This would also pave the way to strongly bind the detail grid.
Hi, RadWindow has a property as "KeepInScreenBounds", on setting of which the radwindow can not be moved out of screen area. Lets have the similar or kind of property on Edit Popup of RadGrid with Editmode=Popup? The expectation is, edit popup of radgrid should not be moved outside of screen area that is visible to the user. This is perfectly achieved by for radwindows with "KeepInScreenBounds" property. Ticket url: http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=953219 Thanks, Sunil
For the time being the following workaround can be used:
CSS:
<style>
.RadGrid_Default .RadButton_Simple input {
border: 0 none;
}
</style>
ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server">
<MasterTableView>
<Columns>
<telerik:GridTemplateColumn UniqueName="EditColumn" AllowFiltering="false">
<HeaderStyle Width="70px" />
<ItemTemplate>
<telerik:RadButton ID="rbEdit" runat="server" Text="Select" Skin="Simple"
AutoPostBack="false">
</telerik:RadButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
where Simple is the name of the used Skin.