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
hi,
i check if it possible to create asp .net ribbon bar component within HTML page in iframe tag
while i'm trying to create a single page with ribbon component, and call him from another HTML page
i have a access problem at the HTML page call to the ribbon with (jquery) -> $("#ribbon");
how to get the original object like in the asp page but in the HTML page, with javascript ?
(Pictures attached)
thanks.
I am using Kenod Treelist to display the hierarchical data and its working fine.
I have placed the edit option to update/delete each row.
Now I am facing issue, how to add new row to each level:
My Treelist is having the hierarchy like below:
--Main Node
-----Parent Node1
------Child Node1
------Child Node2
-----Parent Node2
I should be able to add Main node/Parent Node/Child Node.
I have tried with toolbar: ["create"] which will give me the option to add the main node.
Any other way I can achieve this with Kendo Tree List?
Or any other control I can opt to achieve the Add/Edit/Delete functionality with hierarchical node.
Any help is highly appreciable.
Thanks
Hi
I am trying to use share point's PeopleEditor control in Edit Template in Batch Edit Mode of RadGrid.
RadGrid is not saving the data and not highlighting the editied cell.
Please provide some sample of using People Editor control in Edit Template in Batch Edit Mode of RadGrid.
Thanks
Abhishek
We use the Scheduler control with Exchange to list known service outages. We show three different schedulers, all linked to the same provider, to show last week, this week and next week.
We have recently found that scheduler is not showing new appointments, although creating new appointments in scheduler does push them back to Exchange. Deleting old appointments (which is something we don't want to do) allows the requisite number of future appointments to show, so it would appear that:
1.) ExchangeSchedulerProvider is always retrieving appointments from the beginning of time
2.) There is a limit to the number of appointments retrieved that is too low for our requirements.
So my questions are:
1.) Can I set the provider to only retrieve appointments from a certain date?
2.) If not, can I increase the number of appointments retrieved (far from ideal).
Thanks.
I am facing a problem regarding RadAjaxLoadingPanel.
I am saving records to one table in sql server database. First few seconds, RadAjaxLoadingPanel works fine but after 90 seconds(Approx) it goes off and does not show any progress while data in saving in table.
Can you tell whether is there any way to make it visible all the times till the query finishes. My query takes around 5 minutes to complete.
I tried Explicit Hide/Show way also but still i am getting same result.
Please advise.