title: Adding 'row adding behavior to webdatagrid programatically
body: <p>Can anyone help me adding row adding behavior to webdatagrid programmatically:</p>
  
  <pre><code>Dim RowAdditions As RowAdding =   
  webDataGrid1.Behaviors.EditingCore.Behaviors.CreateBehavior(Of RowAdding)()
  </code></pre>
  
  <p>This is giving me the object null exception.</p>