.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Survey summary and redirection to diffrent page

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :SharePoint
Hi I'm using standard survey list to gather some opinion around diffrent stuff from the users. Few days ago someone from the bussiness came to me and ask if this is possible to redirect user to some page once he submit his vote, so he will not be redirected to default "overview" page. I was trying to use "?Source={URL}" parameter to achive that but this seems to not work. Does anyone has some idea how to overcome this ? thanks in advance Mariusz Gorzoch Blog : http://mariusz.gorzoch.pl Twitter : http://twitter.com/MariuszGorzoch Facebook: http://www.facebook.com/mariusz.gorzoch

View Complete Post

More Related Resource Links

Survey: Add sentences, titles, groups, page breaks?

Hi community I want to add different things to a sharepoint survey. - Title between questions - create question groups - add a finishing sentence like "Thank you for your time...". - choose the page break manually Does anybody know if it is possible and how? Thx

How to hide the summary page of Web Services?

Hi there, a while ago I came across a way to hide the summary page of Web Services. I think it's an attribute that I can set for the entire web service interface, but I couldn't find it anymore. Does anyone know how it's done? For example, if I implemented a web service interface at using foobar.asmx, if I access foobar.asmx directly, I will see a summary page that tells me about all the webmethods available, etc. How do I prevent that page from being displayed? Thanks,- K. 

Adding ListViewWebPart to a page - how do you set its view to

If you add a ListViewWebPart to a wiki/web part page (such as the Links list), it will default to the <summary View>.  If you add it using code, it will default to the default view.  How can I set it to use the <Summary View>? I tried setting node.Attributes["BaseViewID"].Value = "0" in the web part view xml, but that didn't do anything. Any thoughts? ListViewWebPart wpLinks = new ListViewWebPart(); SPList listLinks = site.Lists["Links"]; wpLinks.ListName = listLinks.ID.ToString("B").ToUpper(); wpLinks.ViewGuid = listLinks.DefaultView.ID.ToString("B").ToUpper(); AddToolBar(wpLinks, "Add new link"); private void AddToolBar(System.Web.UI.WebControls.WebParts.WebPart wp, string label) { // Get the view used in the web part by using reflection PropertyInfo viewProp = wp.GetType().GetProperty("View", BindingFlags.NonPublic | BindingFlags.Instance); SPView webPartView = viewProp.GetValue(wp, null) as SPView; // This is necessary after the infrastructure update, without it you can't get to the XML of the view webPartView.GetType().InvokeMember("EnsureFullBlownXmlDocument", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.InvokeMethod, null, webPartView, null, System.Globalization.CultureInfo.Current

Adding a custom Label on each Survey page

Hi, I created a Survey with 10 questions (Yes/No choices).  The first 5 questions are related to a specific topic and the last 5 ones to another topic.  Thus, each set of 5 questions is separated by a Page Separator.  What I'd like to do is to display a custom "Label" for each set of questions.  For example, the first set would be "2010 courses" and the second one would be "2011 courses".  I think this should be done using SP Designer but I'm not sure how. Thanks.

Remove content type from Graphical summary view of survey?

Hi I need to remove the content type on the graphical summary view of a survey right underneath the results? How do I do this?

Validation summary not showing in master page

Hi, I am using User controls in my web page. I have validation controls in my user control and the validation summary control is placed in the master page. Problem is I am not getting the errors displayed when I am running my application. Any help is appreciated.   Thanks.

1 page, 2 validationgroups and 2 validation summary issues


Hi all,

I have one page, on which I have a part with controls and one validationgroup, with the respective validation summary.

I have another part on the same page with another validation group, and another validation summary.

The thing is that, when I press btnGo or btnGo2, both validationsummaries trigger, and both show all validation messages. For other words, it seems that the validationgroups are not working.

My html:

<!--Group 1-->
<tr style="padding-top:3px;">
    <td class="mgmCell">
    <td style="padding-left:5px;">
        <asp:TextBox ID="txtName" runat="server" ValidationGroup="Group1"/>
        <asp:RequiredFieldValidator ID="rfvName" runat="server" ErrorMessage="Name" Text="*" ValidationGroup="Group1" ControlToValidate="txtName" />
    <td colspan="2">
        <asp:Button ID="btnGo" runat="server" Text="Go" ValidationGroup="Group1" OnClick="ClickEvent" />
        <asp:ValidationSummary ID="vs1" runat="server" ShowSummary="fal

how to customize the graphical summary view of the survey list

Hi, I created a survey list with a number of open questions. The out-of-box graphical summary view, however, list all questions by default.

This means one bar for every single answer of each open question because most of those answers are expected to be unique.. I tried using Javascript trick to hide certain questions, but there is simply no identifier I can use for each question block..

Is there any way I can choose what questions to present in the graphical view or any other workaround..

Thanks in advance

Life is simple.

How do I adjust the # of posts visible on the main page of a blog? Summary view?


So while I love the basic summary view used by the blog, I would like to limit the main page to showing just the 5 most recent updates.  Most views this is easy to edit by adjusting the item limit on the list, but since the Summary view of the posts list doesn't show up anywhere I am unsure where I can set the limit.

I have looked at the editable views in designer but again I do not see the Summary view listed anywnere.  Help


Automatic Redirection the user to sharepoint page after domain login



I have created some reports on report viewer webpart and have placed them on A,B,C aspx pages now i want to redirect the Users A,B,C to their specfic aspx pages A,B,C as applicable... after they are logged on sharepoint site through Domain Credentials.

Is it possible?



SharePoint Survey Thank you page



I want to create a custom Thank you page for my survey which should appear once the finish button on the survey has been clicked, and the thank you page show redirect users to the home page. How can i do this without happening to do any coding. Thank you very much in advance!!!





After membership authentication,no redirection to the original page occurs.Why?



I am sorry. I wrote a similar post. Maybe i didn't make myself clear so nobody gives me a reply. So I rewrote my question:

We have multiple web applications(in one machine), we want all those  web applications to be authenticated by a single login page, that is, after logging in, you can visit any page in all those web applications. The login page is placed in a dedicated web application called Membership. The following is the config of the Membership web app.

    <add name="MyMembershipConnString" connectionString="server=.;database=aspnetdb;trusted_connection=true" providerName="System.Data.SqlClient"/>


<membership defaultProvider="MyMembershipProvider">
        <add name="MyMembershipProvider" type="System.Web.Security.SqlMembershipProvider"
        connectionStringName="MyMembershipConnString" enablePasswordRetrieval="false"
        enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="MyMembership"

Thank you page survey


Hi Guys,

I want to redirect users to thank you page once they click finish button.

"?source=" works only when there is newform.aspx invloved but I have branching also (editform.aspx) so source will not work in that case.....any other solution




Login Control , LoginView, Page Redirection


Hi and thanx for giving your time.

I have Default.aspx page with Login control.


protected void Login2_Authenticate(object sender, System.Web.UI.WebControls.AuthenticateEventArgs e)
            //verify that the username/password is valid
            if (Membership.ValidateUser(Login2.UserName, Login2.Password))

                if (Roles.IsUserInRole(Login2.UserName, "Administrator"))

WSS3.0 - Survey Web Part Graphical Summary Width


Good morning,

I am currently exploring the use of Sharepoint 3.0 in our environment and have been running through the evaluation guide.  I created a Survey and added the web part to the right side of the main page using the Graphical Summary view.  The column width appears to hold firm at 375pt and the adjustment through modifying the Web Part doesn't have any effect.  How can I go about narrowing this web part so that it lines up with the rest of my right side content?  Any help is most appreciated.

Thank you,

Can I customize survey page to allow anonymous reply?

As title, can I allow anonymous reply for survey page? e.g. Use Service A/C or Guest A/C.

Is it possible if I want to add a "Anonymous finish" button as http://lh5.ggpht.com/_uc-Dl5bSnZE/Sx86EiX3QiI/AAAAAAAAADc/tZ8bNWjTTg0/s912/3.jpg ?

Then user can click "Finish" or "Anonymous finish" to submit survey.

Could you please advise me is it possible or not? If yes, how can I add a "Anonymous finish" button?

Redirect to a custom page once survey completed

I'm using MOSS 200 Ent
I would like to know how to redirect to a custom page to show 'Thank you for completed the survey" once the survey completed by user. The survey builded using survey template in MOSS
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend