ASP.NET WebForms and MVC - Tips & Tricks (December 2019)
We’ve compiled a short list of interesting support tickets/articles in this month’s Tips & Tricks blog post.
If you have a support ticket you'd like to share with the ASP.NET developer community, feel free to post a link in the comment section below.
Knowledge Base Articles
Below are two articles that describe the most important aspects of document management in our RichEdit and Spreadsheet controls:
RichEdit - General information about document management (T822829)
Spreadsheet - General information about document management (T751231)
You may also find the following article helpful where we described common aspects which may lead to “Your session has expired” error message and the ways to resolve it:
RichEdit/Spreadsheet - Why the "Your session has expired" error might occur (T802885)
Interesting Support Tickets
Common (ASP.NET MVC and Web Forms)
-
Scheduler - How to prevent users from creating appointments for past dates (T829126)
- Scheduler - How to enable editors validation using View Model API in a custom Appointment Dialog (T682079)
ASP.NET Web Forms
- Grid View - Batch Edit - Creating a "View" in a grid displaying invalid records similar to "Preview Changes" (T820277)
- Grid View - How to change the collapse/expand images in a group row based on the group values (T811634)
- Grid View - Master-Detail - How to export content placed into the Detail Grid's template (T815369)
- Grid View - How to prevent selecting specific rows based on a custom condition when the SelectAllRowsOnPage (SelectRows) method is invoked (T821087)
- Scheduler - How to filter Scheduler resources and display only resources containing appointments (T829004)
- Scheduler - How to add hyperlinks to Agenda View appointments and perform custom actions on clicking the hyperlinks (T831824)
- Scheduler - How to change the images' location in Agenda View appointments (T827080)
- Vertical Grid - How to filter Vertical Grid rows by Field Names (T833887)
- Hint - How to bind a Hint component to items of a combobox column in GridView's Edit Form (T803457)
- Charts - How to hide and show the series when you click on the legend element (T833900)
ASP.NET MVC
- Grid View - How to implement CRUD operations for a detail grid located in Edit Form of a master grid (T812560)
- File Manager - How to change a root folder at runtime (on a button click) (T829726)
NuGet Packages
Documentation Updates
Data Annotation Attributes
See our updated Data Annotation Attributes article related to using data attributes in our MVC Extensions.
Grid View
We updated the following topics with corresponding examples of using a corresponding API (client and server) in different scenarios while adding, updating and deleting rows in Grid View:
Spreadsheet
Also, we described in details a common approach to use
Spreadsheet Document API to perform required modifications with
Spreadsheet Control’s document in code.
Online examples
Spreadsheet - How to Modify a Document (WebForms)
Spreadsheet - How to Modify a Document (MVC)