|
I have a need to close a parent form from within child form from a Windows application. What would be the best way to do this?
Started by Jason on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The Form class doesn't provide any kind of reference ....
You need to do it asynchronously, for example you can send a message to parent form.
So it's not a good idea.
When you close form in WinForms it disposes all of it's children.
|
|
Currently I've got a PHP page query.php with a form that presents a list of countries with a submit button:
Countries [] nation1 [] nation2 [] nation3 [] nation4 SUBMIT
they're checkboxes to the same array, and the form references the page <form method...
Started by Andrew Heath on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
/* ....
In this case, you can have a cascade of includes: whenever the input for a form is sent, the form includes the next form.
AJAX for usability, but make sure your form works when JS is disabled/unsupported.
Are great.
|
|
Hi,
I have a winforms form which is inherited from another form.
e.g.
class StartForm : aSyncDialog
aSyncDialog has an onload event
protected override void OnLoad(EventArgs e)
I have noticed that the load event in StartForm is not firing but the OnLoad...
Started by Ace Grace on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
When you override the OnLoad.
For this is that the OnLoad method in the Form class raises the Load event.
|
Ask your Facebook Friends
|
I was wondering if there is a JavaScript based HTML Form builder, similar to what you can do with Zend_Form_Html or with the ExtJS Forms but based on JQuery? There are several form related plugins but you still have to code every form manually. The idea...
Started by Daff on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It is a jQuery....
I don't think there is one for jQuery that supports JSON input, but take a look at:
http://javascript.neyric.com/inputex/ for YUI
Since nothing like this popped up yet, I started my own project on google code called jquery-formbuilder .
|
|
What is the difference between form_for and form_tag? Is anything different for form_remote_for and form_remote_tag?
Started by spin-docta on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
form_for prefers, as its first arg, an activerecord object; it allows to easily make a create or edit form (to use it in a "new" view you should create an empty instance in controller, like:
def new @foo = Foo.new end
It also passes a ....
|
|
I want to open multiple instances of one form and display it in another form or paenel of another form. how to do it
Started by Moon . on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Public Form1() { InitializeComponent(); Form2 embeddedForm = new Form2 the FormBorderStyle to None , unless you ... .
If you're not using MDI, you can still add a form to another form, or to a panel on a form.
With C# @ CodeProject.
|
|
I am trying to submit a form thru javascript on the fly (using jquery-form)
Is it possible to create 'FORM' update bunch of values in that 'FORM' using javascript without having HTML-form ?
Started by Niger on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
JQuery form....
It would look something like this:
$.post(url in the form through
$.ajax({url: XXX, data: { formField1: "value" }})
I think you mean one of the following friend.
Check out jquery's $.post().
form?' The answer is yes.
|
|
I am writing a form using jQuery and encounter some difficulties.
My form works fine in static page (html).
However, when I use the form in dynamic page(aspx), the form does not behave correctly. I cannot append items to the form and call the form.serialize...
Started by Billy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Aren't within their own separate form?
You could possibly group the fields you're interested in within;
then substitute #form-inside with #my-interesting-fields where appropriate - is that helpful at all?
Edit OK, a quick glance at the ....
|
|
How can I click a Button in one form and update text in a TextBox in another form?
Started by JMSA on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Roughly; the one form must have a reference to some underlying object holding the text; this object should fire an event on the update of the text; the TextBox in another form should have a delegate implement a custom event in your "child....
|
|
My Goal is if user is submitting this form with "Product Name" value as "YYY". On submit page should reload but this time "Product Name" should show previous valye as default as in this case "YYY".
Here is my code...
function addnewproduct_page () { return...
Started by Manoj on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use $form_state:
function addnewproduct_form_submit....
Then the next time the form is loaded, I check the $_SESSION variable for the appropriate key, and put the value into the #default_value slot if there's anything present.
|