how to display a document in my aspx page - asp.net

My apsx page basically displays the product description.
A user designs his own classified add and the description is displayed on an aspx page as he has designed it. To make the description more elaborate and instead of designing more components I thought that user should design an additional file (catalog of his product) and upload that at the time of designing the advert.
Now what format of file should I allow the user to create a catalog and how to show the file in the same description page? Can I use update panel? iframe?

You can ask the user to upload PDF file and use iframe to show it.
Basic example
PDF is very popular these days and most people have reader installed including plugins for their browser.
Edit: also possible to ask them for either PDF or Word file (.doc) and in case of Word document convert it to PDF on the fly.

Related

Drupal add link to another page in header of a block

In Drupal 7 I created a views page, and I want users to have the option to view the results either as a list, or with thumbnails (like on a lot of websites). The only way I can think of doing that is creating one page with the results as a list, and having a link to another page with the results that have thumbnails.
But my question is, how do I add just a random link to the top of my block page that will direct users to the 'thumbnail' page?
I tried to use 'unfiltered text' in the header and put the html for a link in there, and when I went to the page it looked like a link, but I couldn't click it. Any suggestions?
For every view you can create set of templates to style it. When you edit you view open "Advanced options" and then at bottom click on "Theming options" (or suggestions...can't remember real text).
That way you'll get a very useful popup which displays all templates used by view...in specific theme. So if you want to change some template just click on it's original name, pick up it's original code (copy) and create a file. Save it at your theme templates directory, pick some of suggested names, add your link or what ever html you need and clear the cache.
Templating is a bit broad subject to discuss in details for you questions's answer - find some tutorial on net, but general idea is to use custom view template and store your html there.
BTW, I hope you have only one view and different displays for you different pages.

Wordpress embed pdf automatically after upload via media

I want to upload pdf files via media->add new which should be automatically embedded to a unique page for displaying it. So that I can just give that page link to my client to view the uploaded pdf.
Please help me.
I am not sure what you mean by "embedded to a unique page"
But when you upload a file in Wordpress, it gives you the direct URL to the uploaded file in many locations .
You can simply give that URL to anyone you desire.
and also in the Edit Media screen
As well in other places as well - > But I think you get the point .

Opening pdf in DotNetNuke

I have a pdf file uploaded from the filemanager, this file must be shown in a new tab when a user clicks on the download button.
For now I just create the link manually, because I don't know how else I could do it.
Is there any other way to do this (for example via the settings page)?
You could add a link to the PDF in the DNN Navigation Menu by adding a new Page, but in the URL options for the page point to the PDF file, instead of an actual DNN page.

ASP.Net webform/mvc3 - add link to each page of a multi-page pdf document

My upcoming mobile web application project would include linking from a web page to each page of a multi-page pdf document.
There will be a menu on the left with all the page titles, and when the user clicks on one, it will take them to that page inside the pdf document.
Is it possible to link the individual pages this way?
The pdf will be dynamically chosen from a list of pdfs.
Thanks in advance and any help is appreciated.
You can open PDF at a specific page using URLs like the following
http://www.example.com/my.pdf#page=3
You should somehow find out titles for pages, though.

Edit Sharepoint shared web part CSS for extra actions

Currently I have a web part with some custom CSS. This is a Document Library web part which also contains the link to "Add a new document" below.
Once I click Add new document I am taken to the upload document page. Is there any way to have the upload document section displayed on the same page or is there an easy way to custom style the upload document page for just this library only?
Well, the upload page is also a web part page which hosts a list form web part. You can add the web part to any page and add custom CSS to that page, even using Content Editor WP. The problem is that the Add new document link always points to the page that is designated as the New form page of the list, you can change this setting using SharePoint Designer in 2007 (it's even simpler in 2010).

Resources