Completed
Last Updated: 19 Nov 2014 11:58 by ADMIN
ADMIN
Rumen
Created on: 04 Jul 2014 07:49
Category: UI for ASP.NET AJAX
Type: Feature Request
4
DataForm
Hi guys, 

In Q3 2014, we will introduce a new FormView-like control for ASP.NET AJAX called DataForm. To see what FormView looks like, visit the MSDN article at http://bit.ly/1pZd0RT.

What additional features (not present in FormView) would you like to see in this new control?

Best regards,
Rumen
5 comments
ADMIN
Rumen
Posted on: 08 Oct 2014 07:42
Hi guys,

The Beta is live and you can test the DataForm control. The beta demos are available at http://demos.telerik.com/aspnet-ajax-beta/dataform/overview/defaultcs.aspx.

You can also read the release blog post http://blogs.telerik.com/blogs/14-10-02/check-out-the-new-radgrid-mobile-rendering-and-the-new-controls-in-the-q3-2014-beta

Best regards,
Rumen 
kencox
Posted on: 06 Aug 2014 16:26
Add an option to automatically insert Bootstrap style classes so it wraps nicely for mobile.
Dennis
Posted on: 05 Aug 2014 12:23
The functionality that would be helpful in a "new" FormView are those things that are typically performed in the CodeBehind (so that we can make them declarative).

One that I use all the time --- setting default values in the ForView.ItemCreated event

It would be valuable to me if we could define default values in the declarative part of the form.  This would include strings and "typical" functions.

An example might look like this:

<telerik:RadDataForm ID="myForm" runat="server"  .....>
<telerik:RadDataFormDefaults>
<telerik:RadDataFormDefaultItem ControlID="EmployeeId" Value="Guid" >
<telerik:RadDataFormDefaultItem ControlID="EmployeeCreatedDate" Value="Now" >
<telerik:RadDataFormDefaultItem ControlID="EmployeeActive" Value="true" >
</telerik:RadDataFormDefaults>
<InsertItemTemplate>
<asp:HiddenField ID="EmployeeId" runat="server" Value='<%# Bind("EmployeeId") %>' />
<telerik:RadDatePicker ID="EmployeeCreatedDate" runat="server" SelectedDate='<%# Bind("EmployeeCreatedDate") %>' />
</InsertItemTemplate>
</telerik:RadDataForm>

I can tell you that this functionality would be very useful to me.
Dennis
Posted on: 05 Aug 2014 12:06
The biggest thing I would like to see present in the FormView is the ability to declaratively handle DBNull values for database fields in controls like RadComboBox / RadDropDownList.

The functionality is described in this post:

http://feedback.telerik.com/Project/108/Feedback/Details/135240-combobox-dropdownlist-handle-dbnull-in-formview



STEPHEN
Posted on: 07 Jul 2014 14:34
In the current ASP.NET formview, you must use Formview.FindControl to locate controls inside the formview's template defiinitions (InsertItemTemplate, EditItemTemplate, etc).  It would be nice if you could access the controls directly like controls inside a panel without having to call FindControl.