Click here to Skip to main content
14,486,704 members
Rate this:
Please Sign up or sign in to vote.
HI...

I used WebViewPage in mvc but not in ASPCore.

How to pass the page to a function

for example



In MVC
public static DataGridBuilder<object> CreateDataGrid( WebViewPage view){}

In Core
public static DataGridBuilder<object> CreateDataGrid( ??? view){}


؟؟؟=>>>>What kind of input parameters

Thanks

What I have tried:

In MVC
public static DataGridBuilder<object> CreateDataGrid( WebViewPage view){}

In Core
public static DataGridBuilder<object> CreateDataGrid( ??? view){}
Posted
Updated 20-Mar-20 8:43am
Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Hi dear friend


Look, when I was using mvc

public static DataGridBuilder<object> CreateDataGrid( WebViewPage view)
{
DataGridBuilder<object> DataGrid = view.Html

}


Now how to access in Core

public static DataGridBuilder<object> CreateDataGrid( ??? view)
{
DataGridBuilder<object> DataGrid = view.Html
}
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100