How to Create a Fully Functional Pagination Component - Part 2: Logic and Code behind

preview_player
Показать описание
In this video, first, I'll explain what information we need to pass to the pagination component, i.e., the pagination parameters.

Next, I'll show how to display dynamic data like the current page in the Html markup.

Then, I'll explain how to bind the input controls to the C# properties and write the event handlers for them.

I'll also talk about different events happening in a component like OnInitialized, OnAfterRender and OnParametersSet, their applications and when to use each one.

Finally, I'll show you how to notify the parent (grid) component of a change in the child (pagination) component using the events and callbacks (EventCallback delegate).
Рекомендации по теме
join shbcf.ru