Examples interacting with customSnapInPanel

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
Jocke
Posts: 1
Joined: Thu May 19, 2016 6:00 pm

Examples interacting with customSnapInPanel

Post by Jocke » Thu May 19, 2016 6:55 pm

Hi!

I want to implement a customSnapInPanel. I want to make a request to a database and get a list of PDF's (maybe just the Id of the PDFs) in return. From my customSnapInPanel I want to be able to switch PDF's, like next and previous.

I looked at the Search Panel and I like the feature when searching for text and the panel is updated with the result. Do you have example code (using MVC and C#) for this?

I looked at this thread: viewtopic.php?t=5030, it seems I can return data from server using that code? Is there a better way?

/Jocke

Cedric
Posts: 269
Joined: Sun Sep 02, 2012 7:30 pm

Re: Examples interacting with customSnapInPanel

Post by Cedric » Fri May 20, 2016 4:15 pm

Hello,

Custom Action is definitely the way to go and indeed you can return data from the server, I think you should take a look at this MVC/C# tutorial : http://www.docuvieware.com/guides/aspne ... tions.html

The last part of this tutorial demonstrates how to return data from server to client, this is what you want to implement in your custom Snap-In.

You might also want to take a look at the dedicated MVC tutorial about custom Span-In here: http://www.docuvieware.com/guides/aspne ... ation.html

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest