More in this section
Forums / Developing with Sitefinity / Download PDF - Capture user info before download?

Download PDF - Capture user info before download?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    09 Nov 2007
    01 May 2008
    Link to this post

    a client needs to capture information about the user dependant on the PDF they download

    i.e. there are 5 different PDF's

    When a user clicks on a link to download one of the PDF's they want to display a drop down list asking them a question (how many times they intend to print the PDF)

    On a seperate PDF download page, they just want to capture their name and email address, and email the site owner with their info
    Once they have captured thier info, they dont want to ask them again for this information (so they can download any PDF on this page without asking for their details) I guess this info would be stored in a cookie

    can you let me know how i would achieve this?
    The easiest way i though was to restrict access to the download page, however, this doesn't  work for the client

    any advise would be appreciated

  2. Ivan
    Ivan avatar
    478 posts
    16 Jun 2015
    05 May 2008
    Link to this post
    Hi Quade,

    the easiest thing for you is to wrap the "Download List" control inside of a UserControl. If user viewing this control hasn't answered the questions (you are right, store that in cookie) show questions, otherwise show the download list. Also, you can set several predefined questionnaires (e.g. in multiview) and let the page creator set through a public property which set of questions should be displayed with the particular download list.

    If you feel adventurous, you may try to extend the "Download List" control. We'll try to help as much as possible if you get stuck.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered