Best way to implement "Preview" functionality in asp .net Mvc3 - asp.net

I am using ASP.NET MVC. I would like to implement preview functionality to a form. i.e. I have a form with number of fields for example name, address etc.. Before the user submits the info, he/she can preview it as to how it will appear on the site.
Thanks

I don't know if this will work for you or not, but you could download the Orchard project and take a look at their preview implementation. I think you're going to have to save the "preview state" of the form as unpublished and then provide a way for the user to view the unpublished state of the form.

Related

Symfony feature to take screenshots of pages that require user to login

I have an app built with Symfony 2. It has a bunch of pages that are secured and require user to login. Once the user is logged in I want there to be a "Download Screenshots" Button. When they click that button, I would like a process to go through all the pages of the site and take screenshots. What tool should I use to take the screenshots? Thanks!
I haven't used this so I can't speak for how well it works, but check out https://github.com/microweber/screen

Implement 'View in browser' functionality with Newsletter

We are using SDL Tridion 2011. We want to implement "view in Browser" functionality with NewsLetter.
We don't find any proper way to achieve this functionality using Tridion Outbound Mailings.
Can someone please help us to implement this ?
For time being we are publishing a newsletter page and we are linking this page from Newsletter.
Please suggest best approach.
I think that is the general approach.
There's nothing out the box to link a published web page to a page Outbound Email uses for a mailing.
I think last time I did this we just used a field in the component to allow an editor to enter the full url to the web page, e.g. http://www.blah.com/subscription/email.html. I guess this could be replaced concatenating your site url to the page's PublishLocationUrl or using PageLink if you wanted a managed link.
They then published the web page first, then created a mailing using the same page.
Cheers

Drupal webform location?

I am working on adding content to an existing site, and I can't figure out how to connect different web forms to different specific pages.
example: http://network.awcbn.com/3blindmicewindowcoverings
I need to replicate this page for other companies listed on the same site. But each webform will be on a different "basic page" and will be sent to a different email address.
I know virtually nothing about coding, and I'm wondering if this can just be done in the webform settings or drupal admin settings. without having to "pop open the hood" and mess with the code?
Basically I just don't know how to place a specific webform on a specific page. Does that make sense?
There's a great module for that called webform:
http://drupal.org/project/webform
When you create a node of type webform, there's a subtab under edit for configuring the fields, email messages, etc. Documentation is here:
http://drupal.org/documentation/modules/webform

Using Facebook Connect for User Data in Drupal

I have a Drupal site where I want to allow users to add their current Facebook Events that they themselves have created into a custom database. I'm not looking to use Facebook Connect as a User Management system, just trying to get someone's info after they accept.
More specifically I'm looking for a way to access a user's Facebook events info from a Drupal Page using PHP. I want them to be able to hit a button and give me access to their events.
Did you take a look at http://drupal.org/project/fb and http://www.drupalforfacebook.org/ ?
The FB module works pretty well, is mostly sane to use, and the author is responsive to bug reports.

The appropriate way to build a registration form in Drupal?

I just started studying Drupal 7 and learned how powerful CCK and Views are. But it still confuses me a bit because it behaves so differently compared to Wordpress. Now I want to build registration form, is it appropriate to build it using CCK? If so, how do I make it so it would make the login system aware that a new user has registered? Or would it be better and easier to modify the built-in registration system to my liking?
A registration form for... what exactly? The site? An event? RSVP? If this is just to register and post comments or blog articles, then use the core login system- thats what it's there for. You can add fields to this form by enabling Profile module and adding fields to capture more data about the user.

Resources