locked
asp.net popup with parameter RRS feed

  • Question

  • I Got A Parameter with 3000 Char(s) I want to pass it to process in popup.aspx

    can i? Because Get Method Can pass value in limit .

    I Found Post Method Can but i don't understand.

    Tuesday, October 25, 2011 6:37 AM

Answers

  • Add method="post" in your form tag, and it'll use post method.

    Or if you prefer AJAX way, jQuery.post() .

    Tuesday, October 25, 2011 9:12 AM
  • Hi INUYASHA03,

    Actually your requirement is about ASP.NET web development, if your problem could not be resolved here in the current forum, please post in the ASP.NET Forum for specialized support.

    ASP.NET Post method is viable but you need to write some additional code that it is not convenient to use, there is a sample here in this walkthrough:
    http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx.

    I suggest that you use Session State to perform this, as it is so simple to use. Let's see the official statement:
    If your application redirects (navigates) from one ASP.NET Web page to another, you will frequently want to pass information from the source page to the target page. For example, you might have a page where users can select items to purchase. When users submit the page, you want to call another page that can process the information that the user has entered.
    Please check out this MSDN library: http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx.

    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, October 26, 2011 4:57 AM
    Moderator

All replies

  • Add method="post" in your form tag, and it'll use post method.

    Or if you prefer AJAX way, jQuery.post() .

    Tuesday, October 25, 2011 9:12 AM
  • Hi INUYASHA03,

    Actually your requirement is about ASP.NET web development, if your problem could not be resolved here in the current forum, please post in the ASP.NET Forum for specialized support.

    ASP.NET Post method is viable but you need to write some additional code that it is not convenient to use, there is a sample here in this walkthrough:
    http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx.

    I suggest that you use Session State to perform this, as it is so simple to use. Let's see the official statement:
    If your application redirects (navigates) from one ASP.NET Web page to another, you will frequently want to pass information from the source page to the target page. For example, you might have a page where users can select items to purchase. When users submit the page, you want to call another page that can process the information that the user has entered.
    Please check out this MSDN library: http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx.

    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, October 26, 2011 4:57 AM
    Moderator