I have a form inside a bunch of nested frames (Called FormA) that calls a second independent window/form (called FormB). When I close formB I re-submit FormA to reload the data. I now also want to change the values of some of the controls in FormA, using Javascript (basically I would like to amend the function below). Here is how FormA is "resubmitted" in the unload event of FormB:
Code:
function Body_OnUnload(){
if (window.opener && !window.opener.closed){
opener.window.document.getElementById("FormA").submit();
I have a simple ASP.NET web application for data collecting (a webform with two text fields and a Telerik editor, a button for submit with server side OnClick event listener attached).The event listener saves data on DB and then redirects to another page.Under development web server the application works fine.When published under IIS7 the event listener doesn't fire. The only way i found to make it work is to specify the action on the form tag:
I then have an IHttpModule that gets called for every request:
[code].....
And now it's broken again! So to make a long story short, just by accessing the Form collection on the request in the IHttpModule, I somehow screw up the PostBack, and the event never gets fired.
A Login.aspx has been created to enforce security on several forms of a web site.How can it be best called by each form at page load and return to that form after succesful login? How could that requirement be declared in web.config?
I am working in a school and we recently installed a new server running WinServer 2008R2. I want to be able to point people to a URL on our intranet and have them fill out a simple registration form and have this data written to a database. It would also be nice to have some data auto-populate (such as their name).
Is it overkill to set up a sharepoint server and try to do this with Access Webforms? Could I use something like dotnetnuke and find a module that works? Or how about options for writing custom forms?
I have a page with a ScriptManager / UpdatePanel. I currently need to PostBack to a https page from an http page (different ports). I also need the same session data. Currently, I copy my form to a new form, and when I postback to my new Target on a new Port, I get a crash in xmlHttp..something. I will have to post more details later.
I'm currently wondering if this is possible. And does anyone know of such a fix. I even tried to Turn off Partial Rendering and I still get crashes. I can't do this until I pull out the scriptManager / UpdatePanel.
i have created loing form and create user form. then how to apply login rights..? i have 2 types of user. admin and normal user admin can move and use all pages while normal user can acces limited pages.
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 want to show the admin pages only after logging in a form with username and password and also want to logout from the admin pages, if in the browser history select a admin page after logout it should not be shown
I am creating a Payment request form that my customers are going to fill out and submit so they get paid I would classifi it as an invoice. Does any one have any examples or point me to a good place to read about creating this type of form and the database tables to support the application?
The form will basically have some fields they will fill in for the header then in the related stuf come charge amounts with there types aka partnumbers of sorts and also the ablity to put in there own types / aka partnumbers and there amounts. I wont be housing any amounts they will supply all the information of payment amounts and types.
I have a web form where I define an array of type struct and I redirected it in the <script runat="server"> section of the second web form. But when I use that array below, in the <script type="text/javascript"> section in the html code of the same web form an error occured in the for cycle saying that the array (Array1) is undefined, and also the counter which I also defined in <script runat="server"> section.
I have this code in the <script runat="server"> section of the second web form:
public struct Point1 { public float lat; public float long1; } protected void Page_Load(object sender, EventArgs e) { //Retreive from session Point1[] Array1 = Session["s1"] as Point1[]; //Run a Foreach loop int nCnt = 0; foreach (Point1 p1 in Array1) { float x1 = p1.lat; float y1 = p1.long1; nCnt++; } } and in the <script type="text/javascript"> section I have: var for (var i = 0; i < nCnt; i++) { lineString.getCoordinates().pushLatLngAlt(Array1[i][0], Array1[i][1],0); } lineString = ge.createLineString(''); lineStringPlacemark.setGeometry(lineString);
i need a pop up form in asp.net 3.5 like by clicking a button a small pop up form should appear with some controls after entering data that form should disappear and that values should reflect on main form.
I need to develop web application. In my application  i have transaction form. Like sales invoice contains 2 tables,header table and detail table. In my web form i should have gridview, in that gridview user should enter data's and save it to the detail table.
Previously form id in child pages was aspnetform,suddenly now the id has changed to form1, now the problem is there are lots of script used with reference to id aspnetform and they are giving error. So i want to change or override the form1 name to aspnetform to make it work again
i have one independent form where i am checking read only access of an xml file , if the file is read only then i have to display message in the status bar of MDI form. since i am using independent form to valid xml file, status bar of the MDI form is not displaying the error message. now how to display message?
i friends i am having two forms say form a and formb and having two panels in formb and i want to show this panels from forma based on some condition and the code which i am using is
Dim capfrmobj As New CaptureForm capfrmobj.panelvf.Visible = True capfrmobj.pnlc.Visible = False capfrmobj.pnlnc.Visible = False
I have a form that works just fine, problem is that if user leave form open for more than 20 30 min and then click a button on that form the browsers status line shows "Error in page", user then must refresh the page in order for the page function.
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]