Type: Posts; User: ShawnDev
Search took 0.01 seconds.
March 15th, 2004, 01:37 PM
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...
September 10th, 2003, 10:51 AM
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?
What if the form...
September 9th, 2003, 11:53 PM
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.
Also, it is possible...
September 9th, 2003, 11:40 PM
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.)
Of course, you...
September 9th, 2003, 11:22 PM
Okay, (in case anybody cares) I've got mostly what I want by using the GetType() method:
if (m_frmAddEdit.GetType() == (new Form2()).GetType())
- or -
September 9th, 2003, 12:02 AM
Okay, I see what my problem is. But now the question becomes:
How do I pass a reference to a class (not an object)?
September 8th, 2003, 10:03 PM
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...
March 7th, 2003, 08:06 PM
At first, I thought it...
March 7th, 2003, 04:13 PM
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.
(In other words, I'm not looking for the...
February 28th, 2003, 09:12 PM
I haven't gotten to the animating part because I...
December 3rd, 2002, 03:47 PM
Excellent! Thanks Goodz :)
December 3rd, 2002, 01:10 PM
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...
November 14th, 2002, 10:35 PM
I don't follow you. You want to know how to submit the form programatically (in the code - without user input)?
Frames don't have anything to do with posting forms.
JSP? You were talking...
November 13th, 2002, 11:10 PM
Glad you got it working.
Abandoning VBScript is always the right answer :D
(No, not really - don't send me hate mail. It's a joke, son.)
November 13th, 2002, 11:07 PM
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.
How is the form...
November 12th, 2002, 05:53 PM
Um... because IE is stupid? ;)
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...
November 12th, 2002, 05:43 PM
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 -...
November 12th, 2002, 05:02 PM
No "of course" about it. You'd be surprised.
The only thing I can recommend is that you upgrade IE. As I said, it's working fine here (also on Win2k). There isn't any way I know of that a site...
November 12th, 2002, 04:56 PM
// if (document.itemsform.he001quantone.value is fractional)
alert("You must enter a whole number");...
November 12th, 2002, 01:24 PM
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.
November 12th, 2002, 01:20 PM
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)...
November 12th, 2002, 01:17 PM
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.
November 12th, 2002, 01:11 PM
I am able to view the source with IE 6.0.2800.1106
Which version are you using? And where are you right-clicking? Have you tried selecting Source from the View menu instead?
I also seem to...
November 12th, 2002, 01:07 PM
How is the submit being invoked? If you submit the form in code:
the onSubmit event does not fire.
November 12th, 2002, 01:04 PM
For server side scripting (ASP), do this at the end of your script:
Response.Redirect("default.asp?fname=" & filename)
Although, be aware that the user will never see the page before...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.