I have a web form called default.aspx which has a form with user information. In addition to this, I have an iFrame on the same page that displays a page Secondary-Form.aspx that has a few additional dynamic data fields. I need to do two things.
1. I need to pass the parent form data in real time to the iFrame page to refresh its content and modify it's fields accordingly. Example: If the user submits their Vehicle Choice as Car on parent form, the form item in iFrame will display a radio button that says Honda, and if the user submits their Vehicle Choice as MotorCycle in the parent page, the iFrame will display Harley Davidson as the radio button choice
2. The submit button is on the parent page. I want both pieces of this information (from the parent page, as well as iFrame selection) to be passed to a server side ASPX page to process this information.the default.aspx and Secondary-Form.aspx files are located on different domains.
I have a form where users can store some data for archived documents. All documents are ONLY in PDF format.
There are 2 things I would like to do:
1. there is a "file path" text box on the form. I would like to open a "browse file dialog" box when user clicks the textbox and then the user browses for the file (file is on the users local machine) and selects it. The full file path should be saved to the textbox as string (e.g. "c:archive2010document11122011.pdf"). Also I would like to "limit" the file browser dialog to only show PDF format files...
2. add a code behind command to open the file from the saved path+name (see 1.) in the user's default PDF viewer (Acrobat or Foxit)
i have post detail page (asp.net, umbraco cms), with search box and post replay box.the problem is that when user try to search using the search box, it cause validation error in the post replay box.the search is client side form.the post replay is server side form.you can view it live at:[URL]
I have two asp.net applications webapp1 and webapp2, in each application i have a asp.net form Deafult.aspx
I want to do a form submit from Default.aspx in webapp1 and recieve the value in webapp2.
I tried to do it with simply setting action ="webapp2 location" but it is throwing the bellow error
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
I even added the machinekey element to web.config
but it is still showing the same error.
This is the code for webapp1 form which sends data to webapp2
I have a submit button that saves record successfully.
The problem i have with it is that it can only show ModalPopupExtender after the first save(first click of the submit button).On the second click of the submit button it doesn't show ModalPopupExtender even though record is saved.How do i go about it.
<form id="form1" runat="server" target="ajaxFrame" defaultfocus="userName"> The ajax frame below, is on the login page right before the body closing tag: <iframe id="ajaxFrame" name="ajaxFrame" src="" style="visibility:hidden;"></iframe>
What I need to do is when the data submits redirect the user to a page where they can download a personalised certificate in either PDF or word, which has been partly populated by the data entered in the web form.
Each time i click the submit button i get this error:Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
I've been trying to figure this out all afternoon but my google-fu seems to be failing me. I'm setting up a page with a fairly large form, which has one field that is going to require some kind of popup page that will allow the user to perform a lookup.
At the moment I'm only prototyping the page so I'm actually only attempting to a the button up to fire an alert when the button is clicked instead of generating a lookup screen. However it seems that no matter what I do the button causes the form to submit.
I remember one of the very first ASP .NET beginner videos I ever watched went through configuring a button to perform actions without submitting, but I can't seem to figure out which one it was.
I need to select Merchants(Merchant ID) dynamically,ie I am in a situation where I cannot place the static code like action=https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/1234567890 accept-charset="utf-8">
I would like to pass the MerchantID as a input parameter,ie I would like my site clients to choose their desired merchants dynamically... something like <input type="hidden" name="MerchantID" value="1234567890">
This is very much POSSIBLE with PAYPAL...but i need it from google....
I'm using ASP.NET MVC 2 and am struggling with saving child entities. I have an existing Invoice entity (which I create on a separate form) and then I have a LogHours view that I'd like to use to save InvoiceLog's, which are child entities of Invoice. Here's the view:
In the SaveHours action, it properly sets the values of the InvoiceLog entities after I call TryUpdateModel but when it does SaveChanges it doesn't update the database with the new values. Also, if you manually update the values of the InvoiceLog entries in the database and then go to this page it doesn't populate the textboxes so it's clearly not binding correctly.