Page 54 - DCAP312_WEB_TECHNOLOGIES_II
P. 54
Web Technologies-II
Notes • Data Member property: If the data source is a Dataset and Data Member is set, then the
RadTreeView is bound to the Data Table with the respective name in the Dataset. If Data
Member is not set, the RadTreeView is bound to the first Data Table in the Dataset.
• DataFieldID property: This is the field name from the data source used to uniquely identify
each row. This field is required when binding to hierarchical data.
• DataFieldParentID property: This is the field name from the data source used to identify
the row for the parent node. This field is required when binding to hierarchical data.
• DataTextField property: This is the field name from the data source that populates each
Node’s Text property during binding.
• DataValueField property: This is the field name from the data source that populates each
Node’s Value property during binding.
• DataNavigateUrlField property: This is the field name from the data source that populates
each Node’s NavigateUrlField property during binding.
• Data Bind method: Call this method after we have set the aforementioned properties when
binding at runtime. This method is mandatory for binding at runtime.
Write a program for data binding.
Self Assessment Questions
Multiple Choice Questions
1. The ASP.NET is a technology available on .NET platform for developing...................
( a) Trigger
( b) Processing
( c) Dynamic and data driven web applications
( d) Post Back
2. ......................will have their own Auto Post Back property
( a) Procedure (b) Web controls
( c) controlling (d) Net property
3. Microsoft started development on the .NET Framework the first beta versions of .NET
( a) 2000 (b) 2003
( c) 1999 (d) 1994
4. Dynamic Data provides, provide to the .................................for rendering these controls.
( a) Registering (b) data layer support
( c) Data model (d) None of these
5. The Data-bound control is.........................
( a) Object data source or SQL Data Source control
( b) Connect to web
( c) Both (a) and (b)
( d) None of these
48 LOVELY PROFESSIONAL UNIVERSITY