search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Pass Parameters to BackendController Dpc Class Onfinish

Asked by Anonymous
9 years ago.

Hi,

I'm trying to run a LINQ query in the BackendController Dpc Class Onfinish method. The problem is that the LINQ query needs a few parameters. How can I send parameters from the client to this method in Daypilot ASP.NET MVC?

Thanks!

Pete

Answer posted by Dan Letecky [DayPilot]
9 years ago.

1. You can use the ClientState property:

http://doc.daypilot.org/scheduler/clientstate/

2. Or you can modify the .backendUrl dynamically on the client side and read the query string it in the controller.

I would recommend #1.

Comment posted by Anonymous
9 years ago.

Thank you Dan . . . I will give this a try . . .

Pete

Comment posted by Anonymous
9 years ago.

Dan,

Can I use clientstate to pass parameters on a button click or does it have to be related to the calendar control?

Thanks,

Pete

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.