<system.webServer> <handlers> <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2011.2.915.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> </handlers> </system.webServer><asp:ValidationSummary ID="ValidationErrors" runat="server" /><telerik:RadDataForm ID="DataForm" runat="server" SelectMethod="GetDetails" UpdateMethod="UpdateDetails" ItemType="MyData" DataKeyNames="ID" OnPreRender="DataForm_PreRender" ItemPlaceholderID="itemPlaceholder1"> <LayoutTemplate> <div id="itemPlaceholder1" runat="server"></div> </LayoutTemplate> <ItemTemplate>Empty Read Only Page</ItemTemplate> <EditItemTemplate> <div> <telerik:RadButton ID="InsertButton1" runat="server" ButtonType="StandardButton" CommandName="Update" Text="Update" /> <telerik:RadButton ID="CancelButton1" runat="server" ButtonType="StandardButton" CausesValidation="False" CommandName="Cancel" Text="Cancel Changes" /> </div> <table> <tr> <td><telerik:RadLabel ID="NameLabel" runat="server" AssociatedControlID="NameTBox">Name:</telerik:RadLabel></td> <td> <telerik:TextBox ID="NameTBox" runat="server" Text="<%# BindItem.Name %>"></telerik:TextBox> <asp:RequiredFieldValidator ID="NameValidator" runat="server" ControlToValidate="NameTBox" ErrorMessage="Name is required" Text="!" Display="Static" /> <asp:CustomValidator ID="NameCustomValidator" runat="server" ControlToValidate="NameTBox" OnServerValidate="NameCustomValidator_ServerValidate" ErrorMessage="Name is required" Text="!" Display="Static" /> </td> </tr> </table> </EditItemTemplate></telerik:RadDataForm>
Start DataForm in edit mode
protected void DataForm_PreRender(object sender, EventArgs e){ // Display Edit mode when first loaded // Stay in Edit mode after update RadDataForm editForm = (RadDataForm) sender; if (editForm.Items.Count() > 0) { RadDataFormItem item = editForm.Items[0]; item.FireCommandEvent("Edit", ""); }}
This does get called.
protected void NameCustomValidator_ServerValidate(object source, ServerValidateEventArgs args){ args.IsValid = !string.IsNullOrEmpty(args.Value);}
Thanks
hello everyone , im new in this forum , i just started with a company, this company use a telerik user controls,
we must do a wizard for a client , and im working for a maket thats is look like to a skin METROTOUCH wizard ,
but im wondered that i cant add a button in the navigation button bar (next , previous , cancel , finish) that process my logic , and wondered that an old wizard it contain a commandarea wich can created and handled on the code behind , it regroup all button and you can add a button on the code too.
can any one suggest to me how to add a button on navigation Bar
Hi,
I'm trying to implement a RadEditor with an Undo tool through EditorContextMenu (the right-click menu), the menu actually comes up with an "Undo" text and the icon but when I click it nothing happens. I can get the Undo function to work with telerik:EditorToolGroup (the toolbar icon), but not with the EditorContextMenu. As I recall I was able to do this in the past?
Can anyone please confirm if it's still possible and if so, how would I go about implementing it?
Thanks,
Patrick.

Hello Support,
We have Telerik grid in our application
We are facing the problem of sorting for date field column It sort only for date and month field not for year field
we have set the autogenerated column is true and all columns are dynamically generated that are bound to grid
Please help us to resolve the problem
Thank you
Sandip Katore

Using a Kendo grid with AJAX.
The default filter of the initial grid load is defined as:
var ds = $("#history-grid").data("kendoGrid").dataSource;
if ($("#history-search").val().trim().length == 0) {
if (!user) { user = $("#username").text().trim(); }
ds.filter({
field: "RequestOwner"
, operator: "equals"
, value: user
})
}
The above worked great, grid would be filtered according to RequestOwner, and the checkbox for the specific user in the RequestOwner column's filter dropdown would be marked as checked when the grid was first loaded.
Then I added filterMenuInit to the grid initialization, which did sort the filter items appropriately, but removed the check from the checkbox for the specific user in the RequestOwner column's filter dropdown (On initial grid load). The filter itself is correctly applied to the grid, I just cannot get the checkbox for that value to show as checked (On initial grid load).
How I am defining filterMenuInit :
, filterable: true
, , filterMenuInit: function (e) {
if (e.field === "RequestOwner") {
var filterMultiCheck = this.thead.find("[data-field=" + e.field + "]").data("kendoFilterMultiCheck")
filterMultiCheck.container.empty();
filterMultiCheck.checkSource.sort({ field: e.field, dir: "asc" });
filterMultiCheck.checkSource.data(filterMultiCheck.checkSource.view().toJSON());
filterMultiCheck.createCheckBoxes();
}
}
Please advise.