Edit this page

OnDataFormCreated

The OnDataFormCreated client-side event is raised after the RadDataForm was created

Two parameters are passed to the event handler:

  • sender - the RadDataForm control that fired the event

  • eventArgs - an event arguments object of type Sys.EventArgs

The following example illustrates how you can handle the OnDataFormCreated event:

 <telerik:RadDataForm RenderMode="Lightweight" runat="server" ID="RadDataForm1">
    <ClientSettings>
        <ClientEvents OnDataFormCreated="onDataFormCreated" />
    </ClientSettings>
</telerik:RadDataForm>
<script type="text/javascript">
 function onDataFormCreated(sender, args) {
     alert("RadDataForm created!");
 }
</script>