Your help is appreciated.
Thanks,
Claudz
Hi,
should I use RadHtmlField if I want to replace PublishingWebControls:RichHtmlField? I noticed that RadHtmlField doesnt have the onClientPasteHtml event. How can I then modify the content that has been pasted into RadEditor? Thanks in advance.
Sincerely,
Ishfaq Khan
<telerik:GridNumericColumn DataField="Jan" HeaderText="Jan" AllowSorting="false" AllowFiltering="false" HeaderStyle-Width="90" HeaderStyle-Wrap="false" EditFormColumnIndex="1" EmptyDataText="0" DefaultInsertValue="0" AllowRounding="false" KeepNotRoundedValue="false" ColumnEditorID="GridNumericColumnEditor1" UniqueName="Jan" /> <telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" runat="server" NumericTextBox-Width="125px" NumericTextBox-NumberFormat-DecimalDigits="10" NumericTextBox-NumberFormat-AllowRounding="false" />
Hi
We have a grid that, in edit mode, the user has the options to 'Save this record' or 'Save this record and add another'. When clicking the 2nd option, the current record should be persisted to the database and a new blank form should be presented to allow the user to enter more data. Very often we want to prepopulate the form based on the previous entry. I have the following code to do this:
protected void RadGrid1_InsertCommand(object source, GridCommandEventArgs e) { if (e.CommandSource is LinkButton) { LinkButton sourceLinkButton = (LinkButton)e.CommandSource; if (sourceLinkButton.ID == "SaveThisRecordAndAddAnotherLinkButton") { e.Item.OwnerTableView.PerformInsert(); RadGrid1.MasterTableView.IsItemInserted = true;
//Prepare an IDictionary with the predefined values System.Collections.Specialized.ListDictionary newValues = new System.Collections.Specialized.ListDictionary(); newValues["Remarks"] = "Test remarks";
//Insert the item and rebind e.Item.OwnerTableView.InsertItem(newValues); RadGrid1.Rebind(); Utils.Log("IsItemInserted:" + RadGrid1.MasterTableView.IsItemInserted); } else { RadGrid1.MasterTableView.IsItemInserted = false; } } }RadGrid1.MasterTableView.IsItemInserted = true;' in the Page_Load event and the grid loaded with the insert form open as expected.true;' to show the insert form?RadTabStrip3.Tabs[0].Selected =
true; //first tab in the tabs collection
LoadPlanMenuMon.Visible = true; //corresponding pageview
RadGrid1.Visible = true; //corresponding radgrid inside pageview
Plz help.