I am currently working in a small windows forms project in C# using Visual studio 2008.
I have added a custom class to the project, but in this class I am unable to access the forms controls (like listbox, textbox, buttons ) in order to programmatically change their properties.
The class file has using system.windows.forms included and ...
Having problems with this setup what im trying to do is like so.
Steps
Fill out all elements of a Ajax.BeginForm().
Click submit
The Ajax form then renders a partial view.
The partial view has a list of tabs that handle different tasks.
All tabs essentially have their own partial view.
When each partial view is loaded they perform the...
Is there a well-supported, common behavior that I can expect if I do something like this in HTML:
<form method="get" action="/somePage.html?param1=foo¶m2=foo">
<input name="param2"></input>
<input name="param3"></input>
</form>
Seems like this sort of thing is inherently ridiculous, but I've seen it used here and there and I w...
I am using a rails helper that creates 3 select lists for the purpose of letting a user select a date. If I assign the helper a name, it sets all 3 select lists to have that name, and then only the last one goes through (it overwrites the previous). What I need to know is: What is the best way to take a set of 3 select lists (day, mont...
Hi, currently I am using yet 1.1 specs, so I am trying to make simple what is too complex for me :p, managing backing beans with conflicting navigation rules, external params breaking rules and so on... for example when I need a backing bean used by other "views" simply I call it using FacesContext inside other backing beans, but often i...
When I have a valid Django form, I can access the data with form.cleaned_data. But how do I get at the data a user entered when the form is not valid i.e., form.is_valid is false.
I'm trying to access forms within a form set, so form.data seems to just give me a mess.
...
I have a queryset. I'm trying to display a feedback form for each of items in the queryset. What's a good way to approach this? Attach the model to a fieldset and then iterate through the forms in a fieldset, displaying the model information? Or loop through both the queryset and fieldsets separately in the template?
...
I need to build a form for data input, let's say FirstName and LastName. I know how to do this with a table. In the first <td> I'd put a label tag and in the second I'd use an input tag with a type="text" attribute. This way the labels and textboxes would be lined up in two columns.
Is there a way to do this with CSS?
Thanks Lars
...
I am making a restrictive portal to a WiFi network using symfony, and I want to send a form as web service to other sites that want to use this portal. How should I solve this? I realize I could go the SOAP/WSDL route, but since symfony is already RESTful, it seems to me I could go the RESTful route with considerably less pain and loss o...
I have problem with I18N in JSP, specifically, with forms.
When I enter some Czech characters (e.g., "ěščřžýá...") into my page one form, into the field "fieldOne", and then show text from that field on page two, instead of Czech characters I see this as "ÄÄ". (Note, the second page gets the Czech characters with "request.getProperty...
Hi, I'm here again :D...
I have the same near as here
but with forms in struts, how I can to intercionalizate struts's forms?Btw. After add this
row session.setAttribute("nneco","ěščřžřčš"); it does not work.
(Please sorry for my English :) )
...
Hello, I'm having difficulty using hidden forms with PHP data. I've searched Google endlessly and checked my book and cannot for the life of me figure out what I'm doing wrong.
My code should
Check to see if an attack succeeded;
If it succeeded, subtract damage from health;
Rewrite the $health variable.
Use the new $health value for t...
Forms + ASP.NET MVC = Confusing for me:
What are the preferred ways to setup your controller action for form posts?
Do I need to specify an attribute that has [AcceptVerbs(HttpVerbs.Post)]?
Should the controller action take a "FormCollection" or should I use ModelBinders?
If I should use ModelBinders, how?
How do I setup the f...
Many of you may have noticed that since RC1 you don't have to include the .Index hidden field to enable complex model binding. However one of the drawbacks is that now you have to have the index starting from 0 and it cannot break. eg. skip from 4 to 6 etc.
With the old syntax I was able to just remove the item from the DOM and when th...
At work we have to track our calls via an online application made via vb.net. To enter the needed info into the text boxes and drop down boxes you have to deal with more than one page. It is cumbersome to have to type or even copy and paste the needed info.
I want to be able to type the info onto one page in excel and then have a script...
Hi I'm using Alloy's Complex Form Example found here. The example he provides is a two level hierarchy and I'm trying to expand it to four.
He has javascript functions for adding nested items. Can someone show me how to expand for four nested layers?
'.add_nested_item': function(e){
el = Event.findElement(e);
template = eval(el...
I want to reformat the contents of an HTML form-field when submitting.
For example: The user enters "1.234,56" (which is a valid format for numbers in this locale), but I want to submit the value "1234.56" to the server.
I'd like to hear about other peoples experience with this. How do you do this?
My first thought is an onSubmit-even...
i have a form and would like to give users the ability to duplicate a group of fields as many times as necessary. With one group it iterates correctly but when I add a second group the "current" variable iterates collectively instead of being unique to each group... i tried changing all of the "current" to "newFieldset.current" but that ...
I have a TFrame descendent that has on it a sizable panel which is a third-party component (TLMDSimplePanel)). The sizing on that panel works great, but I want the frame it is contained in to resize dynamically when the user changes the size of the panel. (The panel has a little sizing thumb grip on it that the user can just click and ...
I have four small single-form utility applications that I have written in Delphi (Win32), that every once in awhile I want to use in a way that makes them "feel" as if they are all one application, mostly to make switching back and forth between them super-easy. It would be great, for instance, to be able to insert them as containers ...