How to redirect from list edit form to another page using jquery in sharepoint 2013

hi friends i have been trying to find a way to redirect from list edit form to another page using javascript and jquery
i found lot of codes online but non of them are working for me.
what i need is i have to save the data in the form and after that it has to redirect to another page. it has to get the url from hyperlink field of the item.
please help me in this regards

Not sure if you have gone through below links:
http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPRedirectWithID
http://blogs.askcts.com/2013/02/18/using-spservices-and-jquery-to-perform-a-redirect-from-a-sharepoint-list-newform-to-editform/
Please ensure that you mark a question as Answered once you receive a satisfactory response.

Similar Messages

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • "How to forward from a struts form to a login page?"or "how to connect form

    Can Any boby please let me know
    "How to forward from a struts form to a login page?"or "how to connect form to login session id"?
    Thanks
    Shailajakrishna

    I believe I can not use a
    request.sendRedirectURL("....") in which I would
    encode all my parameters, because:Righto. This is a bit tricky.
    Basically, you have two options, and both of those are a little nasty.
    1) You could use and intermediate JSP page. Just dispatch you request to that page, use the attributes to construct a form with hidden fields, and use Javascript to POST that form to your intended URL on the document's BODY onload event. Would work, but wouldn't be pretty and requires you to use JSPs and Javascript. Still an idea.
    2) This is something that I wouldn't recommend. Open a socket to the URL you you want to post your data. Manually construct a HTTP POST request, encoding your parameters into the headers. Read and parse the response & modify your HttpServletResponse object accordingly.
    Take a look at i.e. http://javaalmanac.com/egs/java.net/PostSocket.html?l=new for some pointers.
    I'd go with item #1.
    For my own edification, I'd be also interested in
    knowing why such a function does not exist in the
    current httpServletRequest api.I suppose it's a little out of scope. Servlets were ment to interoperate inside one container, not across domains and different implementations.
    I'm guessing I must be missing something fundamentals
    maybe?No, you're not.
    .P.

  • Upload data from excel to forms 9.0.4 using webutil 1.0.5

    Hi,
    can anybody provide me the code how to upload the data from excel to forms 9.0.4 using ole2 fuction. From forms to excel it is working fine.
    Regards

    Hello,
    Instead of selecting one key figure in data view, please select all key figures of the planning book and then try all the steps which you have carried out.
    please revert after you carry out this.
    Regards,
    Prafulla

  • How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?

    Hi All,
    We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
    Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.

    Hi,
    Here you go..
    1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
    Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
    2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
    3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
    This step you get query reference sheet or column or query general UUID for next step.
    4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
    Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
    Hope this helps.
    Please keep in mind, it might take more time depends on how many query elements you have in the system...
    Comments added for better DB performance by: Arun Thangaraj

  • How to switch from  one Data base to another data base

    Hi,
    How to switch from one Data base to another data base if first data base server like in restoring,blocking,network disconnected state.
    Please help out for the same.
    Regards,
    Anilkumar

    Sounds like a problem for forums/support from the DB provider, as this problem is normally solved through some form of HA provided by the DB (or some cluster software, but still not Java) with, normally, a shared (virtual) IP address.

  • How to hide Jump list's Tasks in Windows 7 using userChrome.css

    How to hide Jump list's Tasks in Windows 7 using userChrome.css

    Try to disable some browser.taskbar.*enable prefs on the about:config page.
    * http://kb.mozillazine.org/about%3Aconfig

  • How to pass from a document pdf towards another

    Hello,
    I have two open documents.
    In javascript, how to pass from a document pdf towards another.
    David G

    You need to mark each document as "disclosed", in order for them to talk to each other. See the Acrobat JavaScript docs on "this.disclosed".
    Leonard

  • How to switch from a word doc to another using a keyboard shortcut?

    how to switch from a word doc to another using a keyboard shortcut?

    Cmd+tilde to switch between open Word documents, or
    Cmd+tab to switch between open applications, if that's what you are after?

  • Data transfer from one adobe form to another adobe form (offline)

    Hi,
    Is it possible to transfer data from one adobe form to another adobe form(offline).
    Advance Thaks
    Murali Papana.

    I dont know what your requirement but simple way is use 'Save' or 'Save as' to create a copy of offline form. ...:-)

  • Grant read permission on List for Anonymous user for public facing site in Sharepoint 2013 Online

    I have a public facing SP site ( SP online 2013 with Office 365 ). There are certain app parts added to it which read data from a
    custom list created on that site. By default anonymous users do not have read permissions list. I want users to see the list data without login in . I tried modifying the settings for anonymous users , however I am unable to do it as the "anonymous user"
    permissions cannot be checked by me.
    How do I provide read permissions to anonymous users?
    Thanks in advance

    once you make the web site online anonymous users get the read access to list.
    You can add the list view webpart and show the details to anonymous users. In the below link i have added the announcement list view webpart to a page.
    https://velegandla-public.sharepoint.com/Pages/Page.aspx
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to set cookie value in one page and retrieve in another page using setA

    How to set cookie value in one page and retrieve in another page using setActionListener?
    I have tried with following code srcpage.jspx->destpage.jspx
    srcpage.jspx
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
    var="emp" rows="#{bindings.EMPView1.rangeSize}"
    first="#{bindings.EMPView1.rangeStart}"
    emptyText="#{bindings.DepartmentsView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="EmployeeName" sortable="false"
    headerText="Cookie Testing">
    <af:commandLink text="#{emp.EmployeeName}" action="success">
    <af:setActionListener from="#{emp.EmployeeName}"
    to="#{cookie}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    espage.jspx
    <af:outputText value="Test Cookie Value: #{cookie}"/>
    ,Here Test Cookie Value prints the following instead of its original String value
    {JSESSIONID=javax.servlet.http.Cookie@7da288, oracle.uix=javax.servlet.http.Cookie@399f62}
    I have passed employee name "Robert" to cookie in srcpage.jspx,but it prints "JSESSIONID....." instead of "Robert" in destpage.jspx
    Thanks in advance
    Kalee

    Hi,
    "cookie" is a reserved name. If you want to write to a session scope attribute called "cookie" then you have to call #{sessionScope.cookie}. If you want to use EL to set and read from cookies then you will have to use
    #{cookie.cookieName}
    Note that #{cookie} writes to and returns a map
    check this: http://www.informit.com/articles/article.aspx?p=30946&seqNum=7
    Frank

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Can we use SSRS in sharepoint 2013 standard and sql server standard edition

    can we use SSRS in sharepoint 2013 standard and sql server standard edition
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Yes you can. You do lose some features:
    http://msdn.microsoft.com/en-us/library/cc645993.aspx#Reporting
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How can I make a photo book of 125 pages using I-Photo??

    How can I make a photo book of 125 pages using I-Photo?

    You can't.  There's a 100 page (50 pages both sides) limit.
    OT

Maybe you are looking for

  • How to send a Varying Array param to a PL/SQL Stored Procedure from Java

    * I am VERY new to jdbc, and even somewhat new to Java * I'm using Java 1.5, Oracle 10g. * I need to call the following PL/SQL Stored Procedure from Java: procedure setEventStatus i_deQueueStatus in deQueueStatus_type *deQueueStatus_type is the follo

  • Variant for a Web Report

    Hi Guys, I was wondering if there was a way of creating a variant for a web report, the way we can create one for a BEx report. I would like to be able to store the variable values in a variant and then select one of the avaialable ones. Thanks, Doni

  • Order related Billing : Performance enhancement

    Hi Billing experts, We use order related standard CRM Billing (Periodic) and we have the below scenario. 100 Customer share 1000 contracts with 0.5 Million Sales orders, undergo billing every month. currently it is taking 30 hours to finish the billi

  • 10.6.5 Update - Bluetooth Mouse not Connecting

    First off, the fact that exfat/fat64 is now supported is an absolute Godsend. That solves a good 75% of the problems I have dealing with a mixed environment. However, Once I updated an iMac 5,1 (intel) when the machine boots I have to push the "disco

  • Can one use Adobe CS4 in a 64 bits computer ?

    Hi I have a couple of  queries and I would be grateful if anyone could help me out with them. a) Will Adobe CS4 softwares, like After Effects, Premiere, Photoshop etc work on a 64 bits  computers ?  And if it does work, will it work with all its func