I have a form that has two asp:buttons on it. When one button is pushed, I want the page to do some validation that I'me doing with Javascript and submit based on a condition, BUT, if the second button is pushed, I just want it to submit without any validation. What I'm doing now is, in the...
I've tried both setting it in the Body tag on the onLoad event. And I've also tried to just do it with javascript right after the HTML for the textbox.
I have a parent form that I have set the focus to a certain textbox. The focus works fine, but the problem is, when I open the popup using window.open(), it resets the focus to the same textbox again hides the popup behind the parent window. Is there any way around this?
Thanks in advance.
Good idea, if it doesn't work return it. Funny that someone has to tell you that to actually think to do. Well, thanks again. I'll let you know if it works or not.
What about a splitter? If I have a splitter in a video card with dual-monitor capability, will that allow me to use dual monitors? I don't want the same thing on both monitors, I want my desktop to carry over to the second one. What do you think?
Well, I think this might be my only option. What I'd like to do is have two external monitors and not use my laptop monitor. The reason is, is that the external monitors are huge compared to this screen. Altering anything within this computer can't be done b/c the computer belongs to the...
I'm sure this question has come across this forum many times. I have a Dell Latitude D600 that I put in a docking station at work (dock, external keyboard, external mouse, external monitor), and I want to increase my productivity with dual monitors. I have a MOBILITY RADEON 9000 video card...
This could be a dumb question but I'll give it a go anyway. I'm using SQL Server 2000, and I'm trying to take a variable and make sure it has no spaces in it, ANYWHERE!!! As easy at this seems it's really confusing me.
Ex. - If a varibalbe looks like this 'Lee Ann', I want to change it to...
You're options are either to come up with a hack, or find another server that will run on Windows XP Home Edition. For some ridiculous reason you cannot install it on XP Home. I know it's absurd. You can only do it on XP Pro. If you search the net there are a lot of suggestions to get around...
I have this line of code that works with my class. I want this to return null if selecteditem.value == 0. Problem being that when null is converted to int it returns 0. I need to put a null value into my database. Any suggestions.
address.StateID =...
I'm having some trouble handling Null values when I submit them to my database from my .net page. I can handle the strings fine, obviously, but I'm having trouble with foreign keys and dates and things like that. I was just wondering if anyone had a good site for me to look at to read up on...
I have a class that calls a date out of my database. If there's no date in the database I want the field to be blank, but if it's blank it puts 01/01/01 in the field. This is how I'm evaluating it.
if(dr["EstCompDate"].ToString() != String.Empty)
t.dtEstCompDate =...
I'm pulling a date out of a database and putting it in a label on my .aspx page. My question is, what is the easiest way to format the date to this format. mm/dd/yyyy. A shortdatetime format. I've found many different ways to do it but I wanted to know what the easiest is. This is how I...
This should be a fairly easy question and I'm not sure why I can't get this to work. I have an asp:button on my page and a javascript function in the html. I need to call this funtion using c# on the btnCancel_Click() event. I'll show you the funtion and the code I'm using but for some reason...
I have a form, and when I click the Submit button I get this error.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where...
They would both work fine. I think the reason for the latter is just because it specifies that the 1 is a bit value and not an integer value. They will both work fine.
quinnipiac0807
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.