System.Windows.Forms.Form has only one scroll event-Scroll, but it is necessary to recognize scrolling up and scrolling down.Could you tell me,how to do this?
Hi
can any body suggest me any idea about how can i compare two fields in django.
as i have two password fields in my forms.py file.
now i want to compare the two fields and if both are same then save the user in database
else append an error message to reenter the values again.
thanks
how I get ALL ListBox values (not only selected items) on submit action in asp.net mvc2 project.
I'm using Ajax forms like Ajax.BeginForm("actionname", new....)
I already try to select all items on OnBegin event of Ajax options but still I havent got all ListBox items
have any idea ?
thanks
I am currently applying a simple simple to my validated forms (red background and border) although jQuery validator appends some label with : Field is required.
I just dont want any text to appear.
Thankyou!
I understand the gist of the code, that it forms permutations; however, I was wondering if someone could explain exactly what is going on in the return statement.
def perm(l):
sz = len(l)
print (l)
if sz <= 1:
print ('sz <= 1')
return [l]
return [p[:i]+[l[0]]+p[i:] for i in range(sz) for p in perm(l[1:])]
Hi Guys,
I am using ASP.NET Web forms,
When a user submit a page, an email will be sent to many people which is slowing the post-back,
what is the best way to send the emails without slowing the reloading of the page?
thanks
I'm looking into using SharePoint (WSS 3.0, specifically) for the document library and discussion board functionalities.
I'd like to ask those of you who have experience in SP (MOSS or WSS, since we might upgrade in the future) for a list of the items that ticked you off or required a difficult workaround.
Here's one from me - I found when I implemented forms authentication that a lot of the built-in integration with Microsoft Office disappeared, and I was also unable to use explorer view.
Obviously, I am a novice web designer. I'm using php and sql to do all the under-the-hood stuff, but I want a visually appealing as well as functional comment system. Right now I am just using HTML forms but they don't look very good. Should I be using javascript? Any tips to get me started?
I have x1,y1 and x2,y2 which forms a line segment. How can I get another line x3,y3 - x4,y4 which is parallel to the first line as in the picture. I can simply add n to x1 and x2 to get a parallel line but it is not what i wanted. I want the lines to be as parallel in the picture.
In a typical business application it is quite common to have forms that are used for searching.
Some basic features are:
A pane that contains the search criteria
A grid to display the results
Sorting on the grid
A detail page that opens when an item is selected in the results grid
What other features would you expect in a business application's search functionality?
If I wanted to save a contact form submission to the database, how can I insert the form scope in as the submission? It's been some time since I used Coldfusion.
The contact forms vary depending on what part of the site it was submitted from, so it needs to scale and handle a form with 5 fields or one with 10 fields. I just want to store the data in a blob table.
is it possible to have an html form organized/named in such a way that $foo-fromArray($_POST) would actually save relational data as well?
example:
html_form_fields:
user_name
country_name
db_table_users:
id
user_name
db_table_countries:
id
country_name
update:
forgot to say i'm trying to make this with zend framework forms
I'm looking around for an open source form building package for PHP, and figured the hive-mob-mind of StackOverflow might be able to tilt me in the right direction.
Specifically, I'm looking for a form/survey builder application. I want something that lets an end user use a web based GUI to create and configure/surveys and web-based forms.
What are the de-facto standard tools/packages that people use for this kind of thing these days. I'm interested in software packages, not in hosted services.
Hi,
One of my friends got the access database with Forms (VBA) and wish to migrate all the database table to the newly installed MOSS 2007 site.
He is using SSMI for this purpose. He cannot do it because there are plenty of errors and warnings. I think it is due to the old Access queries.
Is there any other way to import the database to sql 2005 from access ?
Thanks
My Table:
[LocationId]
[Address]
[ZipCode]
When I show a list of Location's, I also want to show the distance from a given zip code.
In Asp.Net Web Forms I had a stored procedure that would return the distance and I would call this SP on ItemDataBound on my GridView.
Or, I also would have my SP that is returning the Location list add another column ([Distance]) which I could display in my GridView.
How would you do this using Entity Framework and Asp.Net Mvc 2?
I am looking for an easy to use CMS that can be used to host a multilingual website with photo galleries and few forms.
I am open to php/python excluding wordpress/joomla/drupal.
Using either XNA OR just the usual c# win forms application, which would be the best way to create the feature that enables text messages to be sent from me to my friend over the internet?
I don't know if this matters or not, but I now have 3 Mobile Broadband internet... so it's like... Wireless internet, does that matter?
hi
i have C# program that works with Oracle 11g
when it works on my computer all works excellent
but when its run on the customer computer - the connection to Oracle work good
but when i try to run any Crystal-Report i get this error:
Could not load file or assembly 'CrystalDecisions.windows.forms.version = 10.5.3700.0.
culture = neutral.publicKey Token = 69fbea5521e1304 or one of its dependencies.
The system cannot find the specified
thank's for any help
I'm running this query:
SELECT TOP 1 [DVD Copy].[Stock No]
FROM [DVD Copy]
WHERE [DVD Copy].[Catalogue No] =[Forms]![New Rental]![Catalogue No]
And [Issue Date] = Null;
Which works fine without the null check for Issue Date. I'm trying to select rows without a Date in the Issue Date column. Is Null the wrong kind of value to use for here?
How can we add a web page or a Windows Forms to the Outlook mail so that when I send a mail to a person he/she should be able to enter the data in the controls on the mail form?
The user should also have the ability to save the data directly from the mail, instead of opening my web or a Windows application and update the data.
Hi there i am trying to access a form in mechanize with ugly characters in the object name
similar to this
agent = Mechanize.new
page = agent.get('http://domain.com)
form = page.forms[0]
form.ct600$Main$LastNameTextBox = "whatever"
page = agent.submit(form)
The problem is the $ in the html name is messing with ruby because
Is there another method i could use ie:
form.element_by_name("ct600$Main$LastNameTextBox") = "whatever"
Unfortunately i cant change the html
I'm performing some custom js validation on my forms, triggered by submitting the form
$("form").submit(function (e) {
var validates = true;
// validation code goes in here
if (!validates) {
e.preventDefault();
e.stopImmediatePropagation();
return false;
}
})
None of the lines I've included to stop the submit event prevent the .NET control posting back. Is there some way (using js or setting a property in the updatepanel control) of stopping post back?
I have a Label control on the form with small text.
i want to be displayed - rotated counter clockwise by 90 degree
VB.NET / Visual Studio 2005
Windows Forms Application
Any ideas
Hello everybody,
There are string length limitations in database structure (email is declared as nvarchar[30] for instance)
There are lots of html forms that has input textbox fields that should be limited in length for that reason.
What is the best practice to synchronize database fields and html layout input fields length limitations ?
Can it be done automatically (html layout input fields declared the same max length as database data they represent)?
Thank you in advance.