C#C
C#2y ago
eduardoA

Custom control Binding

I am making a reusable control

I am going to use pastebin for this

I have a customControl

https://pastebin.com/2VyzUbYG

I am using this control on a page called NewTestPage, this page is inheriting from MyLecturePage.

My LecturePageViewModel, looks like this

https://pastebin.com/RzfeHEEa

My testPageViewModel, looks liike this

public partial class NewTestPageViewMode(IAppService appService, IDataService<Models.User> dataService,
    IMeetingService meetingService, IAuthenticationService authenticationService) :
    NewLecturePageViewModel(appService, dataService, meetingService, authenticationService) {
}


As you can see, the only thing this page is doin is inheriting from NewLecturePage

but the bindings dosent seem to work

it dosent want to grab the name

and the checkboxoxes dosent seem to trigger

this is very strange, because MyLecture page works as expected

https://pastebin.com/UTR57V7Z
image.png
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?