Is it possible to call single usercontrol in Aspx page with multiple data and how?


i want to display multiple data in aspx page using single user control.data can be taken like dataset from database.


Asked by:- Anjily balan
0
: 1333 At:- 6/10/2019 12:30:00 PM
javascript jquery







1 Answers
profileImage Answered by:- vikas_jk

You can create a Model in .ascx and then get all the data in that model, then pass it to you .aspx page and control.

https://stackoverflow.com/a/19557072

Check the above link, creating Model is like

public MyControlModel Model {get; set;}

hope it helps.

0
At:- 6/11/2019 6:56:42 AM






Login/Register to answer
Or
Register directly by posting answer/details

Full Name *

Email *




By posting your answer you agree on privacy policy & terms of use