A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source. For more information about handling events, see NIB: Consuming Events.
If it's bound via Linq Data Source, Sql Data Source or Object Data Source I suggest you have a look at the Updating Event.
One of the flexible and new features came with ASP. This data bound control is used to display the values of a single record from a data source in an HTML table, where each table row represents a field of the record.
I have a Details View with a Drop Down List in an Edit Item Template, I know, pretty cool right?
But when I try to Update the table with a new value from the Drop Down List the table does not get updated with the new value.
I'm new at this and I'm sure I'm overlooking something simple here.
I'll post the ASP code, hopefully someone can help me with this one.
While the List View control provides editing support, it requires a bit more work from the page developer to get it going.
The reason is because the List View is defined by templates whereas the Grid View and Details View are defined by fields.The Grid View and Details View controls offer built-in editing functionality that can be turned on with the tick of a checkbox.Without writing a line of declarative markup or server-side source code, the page developer gets a decent out of the box editing interface.Namely, each field in the Grid View or Details View is rendered in its editing interface; Bound Fields display a Text Box control while Check Box Fields display an enabled checkbox.Moreover, a Command Field is added, which displays the Edit, Update, and Cancel buttons, as needed.I want to check validations that if a particular textbox (cell) remains empty or blank then it should not update its value.