REQUIRED AN ALERT OF SUCCESS OR FAILURE AFTER FORM POST

john rob

Total Post:108

Points:756
Posted by  john rob
 993  View(s)
Ratings:
Rate this:

I have an input box and a html file uploader in my form. 

I want to submit the text of the input box and uploaded file which will be saved in database and then I need an success or failure alert in my html page. 

I've no idea how can I do this. I have already done the procedure of getting the post value and save it in database but I can't give any alert to my web page.net mvc3.

 I am using asp.net mvc3. Any kind of help will be appriciated.

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: Required an alert of success or failure after form post

    Hi John, 

    try this:

    HttpContext.Current.Response.Write

                    ("<script>alert('" + pageTable[page].Dequeue() + "');</script>");

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!