I have a large project I've been asked to contribute to at work, which utilizes a number of System.Web.UI.UserControl files. Most of these files duplicate about 90% of their code, so I am trying to...
My problem goes beyond this. Given your code sample above, how would you handle the fact that, within button1_Click(), you don't know that Form1 is the form you need to cast to?
You don't have to own SQL Server, just have access to it. For example, if you are doing your coding at work, there might be a SQL Server you can get permission to connect to.
The pages joan_fl linked to don't explicitly state it but it looks like MSDE might even come with Visual C#.NET. (It certainly comes with Visual Studio.NET - according to the site.)
I have three forms: Form1, Form2 and Form3. I want to be able to pass a reference to either Form2 or Form3 so that Form1 will invoke the appropriate one when a button is clicked. So I set up a...
I'm having what seems to be a recurring problem with Mozilla: When I change a style attribute/rule dynamically with Javascript the elment doesn't always visibly change.
Thanks for the tip, but I am looking explicitly to use the clip functionality of the CSS standard. This code needs to run in all browsers, not just IE.
I am learning Java (or more specifically, JSP) and am working on my final project for class. As part of the JSP page I am creating, I want to perform the same string concatenation on each field...
I'm not telling you to put that line anywhere. I'm saying if you are submitting the form programatically - by issuing that command - then the onSubmit event will not be triggered.
I would call this a bug, but not with "text/x-application-download". You're doing something the browser doesn't expect you to do - and the developers didn't account...
I disagree. That is much to fine a control to be included in a standard. Standards are to make sure that things interoperate properly and so that certain behavior can be expected to be the same -...
function ValidateForm()
{
// if (document.itemsform.he001quantone.value is fractional)
{
alert("You must enter a whole number");...
Yes. But the code that handles user input is not part of what you provided. You will have to add code there (not here) to report an error and disallow the entry of fractional numbers.
Also, try moving the <script> tag into the <head> and then calling your code from the body onLoad event. It's been a long time since I've toyed with VBScript (seldom used any more, in my experience)...
Do you have Host Scripting support installed on the computers that are having problems? If I remember correctly, scripting won't work (specficially, VBScript) if you don't.