Hi
I have a scenario...
1. Grid with data is generated in Parent page.
2. On Double click of the any record in grid its opening details in a rad window.
3. From the window If i have next previous buttons i nee to get id of the next or previous record of the parent grid and same time its need to highlight the next/previous record. Also need to move to next page first record if last record of first page.
Please help with a sample code.
Please see attached image
Hi,
I am having an issue with the rad grid with keyboard navigation. I am in trial version and new to Telerik. When I use the below code for the key board navigation ,the keys doesn't works. But it works when I remove the EnablePostBackOnRowClick but the grid is not populated.
ClientSettings AllowKeyboardNavigation="true" EnablePostBackOnRowClick="true" >
<Selecting AllowRowSelect="true" />
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
Thanks,
Sindhu
I am trying to open the Raddataform which is in Editform control of Rad Grid in the insert mode ,and as there are no items in the grid it goes to exception as above users,I tried the solution from Ole like inserting an empty template but dint work out. when I have data in the grid it works fine for the new grid to add a record using the dataform it fails.pls suggest.Here is sample.
I also Tried All options mentioned in the other Threads
// gridDataform.DataForm.IsItemInserted = true;
// gridDataform.DataForm.Rebind();
// gridDataform.DataForm.Items[0].FireCommandEvent("InitInsert", "");
gridDataform.DataForm.ShowInsertItem();
gridDataform is the instance of the usercontrol which has Raddataform and this code is beign used in the grid itemcommand.
if (gridDataform == null)
{ throw new Exception("No Grid Found"); }
log.logDebug(logMessage: "Fire Insert Mode for DataForm");
gridDataform.DataForm.Items[0].FireCommandEvent("InitInsert", "");
Also my add buttons are on the mastertableview of the grid
<MasterTableView Width="100%" CommandItemDisplay="Top" ShowGroupFooter="true" AllowFilteringByColumn="true">
<EditFormSettings EditFormType="Template">
<EditColumn UniqueName="EditCommandColumn1" />
<FormTemplate>
<uc1:PageUIControl IsBoundToGrid="true" runat="server" ID="EditFormControl" />
</FormTemplate>
<PopUpSettings ScrollBars="None" />
</EditFormSettings>
<CommandItemTemplate>
<div style="color:black!important;" >
<asp:LinkButton ID="btnEditSelected" runat="server" CommandName="EditSelected" Visible='<%# RadGridUI.EditIndexes.Count == 0 %>'><i class="fa fa-pencil fa-lg"></i></asp:LinkButton>
<asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# RadGridUI.EditIndexes.Count > 0 %>'><i class="fa fa-pencil fa-lg"></i></asp:LinkButton>
<asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" Visible='<%# RadGridUI.EditIndexes.Count > 0 || RadGridUI.MasterTableView.IsItemInserted %>'><i class="fa fa-ban fa-lg"></i></asp:LinkButton>
<asp:LinkButton ID="btnNew" runat="server" CommandName="InitInsert" Visible='<%# !RadGridUI.MasterTableView.IsItemInserted %>'><i class="fa fa-plus-square fa-lg"></i></asp:LinkButton>
<asp:LinkButton ID="btnInsert" runat="server" CommandName="PerformInsert" Visible='<%# RadGridUI.MasterTableView.IsItemInserted %>'><i class="fa fa-plus-square fa-lg"></i></asp:LinkButton>
<asp:LinkButton ID="btnDelete" OnClientClick="javascript:return confirm('Delete all selected customers?')" runat="server" CommandName="DeleteSelected"><i class="fa fa-trash fa-lg"></i></asp:LinkButton>
</div>
</CommandItemTemplate>
</MasterTableView>
Please,
I need a way to make RadDropDownList ReadOnly. I Do not want to disable it, just disable iteration. (or I could use "disabled back color" or something...)
How Could I do it?
Thanks in advance.
Hi Team,
I am using RadListBox and attaching 6000 values to it. When user clicks on select all option of the check box in RadListBox, it takes around 50 sec to check all the items in IE11 and in chrome it takes 4 sec. Can anyone suggest, how to improve the performance of RadListBox?
Regards,
Somnath