Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. have you heard of MSN? MSN Search? It is the same thing, they renamed it
  2. is process being delared more than once?can you post all the javascript for this page and related HTML?
  3. lol you got tot he code before I finished hte edit.change new Array() todocument.createElement('select');you do have a <select> with and id="process", right? you have to have id="process" not just name="process".
  4. I'm not sure. Perhaps IIS drops the request whne the file is too big and then attempts to pick it back up???
  5. here are some snippets that should help you var i;var reserveListLoaded = false;var reserveList = document.createElement('select');var processGroup = document.getElementById('processGroup');var process = document.getElementById('process');function removeOptions(){ //your code}function restoreOptions(){ if(!reserveListLoaded) { reserveListLoaded = true; for(i=0;i<process.options.length;i++) { reserveList.options[i] = process.options[i]; } } for(i=0;i<reserveList.options.length;i++) { process.options[i] = null; process.options[i] = reserveList.options[i]; }}function processGroupOnChange(){ restoreOptions(); removeOptions();}<select id="processGroup" onchange="processGroupOnChange()">...</select>
  6. oh ok, sorry, I was sniffing glue .Hmm...in that case no matter what .Net code you write you cannot catch this error because it is not a .Net error. It is a IIS error. That being said, I can think of only 1 option.-Set IIS to accept really large files and manage it with your code.
  7. aspnetguy

    PS 3

    it's been removed. lol.
  8. no just their web services :)BTW, live.com doesn't look like Google.
  9. Vista requirementsMicrosoft Vista Home Basic• 800-megahertz (MHz) 32-bit (x86) processor or 800-MHz 64-bit (x64) processor• 512 megabytes (MB) of system memory• DirectX 9-class graphics card• 32 MB of graphics memory• 20-gigabyte (GB) hard disk that has 15 GB of free hard disk space• Internal or external DVD drive• Internet access capability• Audio output capability Microsoft Vista Home Premium, Microsoft Vista Business, Microsoft Vista Enterprise, and Microsoft Vista Ultimate• 1-gigahertz (GHz) 32-bit (x86) processor or 1-GHz 64-bit (x64) processor• 1 GB of system memory• Windows Aero-capable graphics card• 128 MB of graphics memory• 40-GB hard disk that has 15 GB of free hard disk space (the 15GB of free space provides room for temporary file storage during the install or upgrade.)• Internal or external DVD drive• Internet access capability• Audio output capability
  10. aspnetguy

    One question

    This has been asked before and the Site owners said no.
  11. I fail to understand why you can't place the upload code in a try catch and hadle errors from there???
  12. lol, I get a buch of squares....
  13. bkgrd3.gif is in the same folder as the stylesheet and html file?
  14. that function is doubling the size of process (duplicating each exisiting option) then removing 1 option.Every time you run that it is going to make process bigger and bigger.You are not going to be able to do this in one function.I am a bit confused as to how this is supposed to work.Perhaps the best way is to have a hidden (dispplay:none) select that holds the orginal values that will be used to refill then when process should be refilled just delete all options (process.options.length=0) and copy all the options from the hidden slect to process.Can you post a screen shot of your page maybe I will understand better what exactly you are tryign to do.
  15. thats because it is an OptionElement. If you want to see the values of the option use option.value and option.text
  16. that is CSS, for pure HTML use<img border="0" ...
  17. for(i=0;i<processLength;i++) { var option = new Option(process.options[i].text,process.options[i].value); process.options[select.options.length-1] = option;} I don't think your for loop is doing what you want. You are creating an option from process.options and then adding it tot he end of process, you are just duplicating process.options. Shouldn't you be adding them to a different select?
  18. oops, it should bei<processLengthori<process.options.lengthsorry, make sure it si < not <=
  19. providing it is called pbm-styles.css and is in the same folder as the html document, then yes.You really need to start making your code more readable!
  20. use FileInfo fi = new FileInfo(txtFileName.Text);if(fi.Length() > 4096){ //handle error}
  21. change i<=processLength toi<process.length
  22. this will work too to create an option var option = new Option("Option One","1");
  23. nope pretty sure that is cow. I have never seen a donkey with utters
×
×
  • Create New...