Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by LauraCairns

  1. LauraCairns

    Incorporating IF statements

    I have the below oracle statement and I am trying to incorporate an IF statement to see if a row exists in a table and if it does then I don't want to run a delete query however if it doesn't then I do want to do want to run the delete query. I'm not very good with oracle and have never really...
  2. LauraCairns

    Uploading file error. File size to big exception?? Not sure how to fix

    Could you tell me what actual file size this is. I would like to set a limit of 2MB on the file size. Have you any idea whay this would be. If FileField.PostedFile.ContentLength > 5120000 Then Return False Thanks so much for your help, much appreciated.
  3. LauraCairns

    Uploading file error. File size to big exception?? Not sure how to fix

    Preferably i'd like to send an error message back to the user saying the file-size is too large however we've enough space in the DB and we could allow them to upload large file types too. Either of these solutions would be nice but the first one is what id prefer to do.
  4. LauraCairns

    Uploading file error. File size to big exception?? Not sure how to fix

    I have a strange exception being thrown in a web application im working on to do with upload files. Everything has been working ok but as soon as it went into system testing we've discovered that we haven't handled an exception for whenever the file size is too big. Unforunately when we try to...
  5. LauraCairns

    Major Session problem - urgent help needed please

    No it doesn't accept the word Nothing. Any other ideas
  6. LauraCairns

    Wire-up Global.asax events?

    Do I have to wire up the events in a global.asax file. I just realised this might be why my session isn;t working correctly. I have code in the following 3 events: - Session_End Application_Error Session_Start Does anyone know how i wire them up and if this could be the cause of my problem...
  7. LauraCairns

    Major Session problem - urgent help needed please

    In my Global.asax I have been using it to set the session variables however when I close the browser window and open up a new window I am still able to access pages as if I am logged in. This is a major security problem obviously and i'm not sure if its something which I have done wrong or an IE...
  8. LauraCairns

    JavaScript not firing within a datagrid

    I've got this great wee function which strips out the spaces entered into a textbox and it does this on the key press off a user. I got this working in a test application no problem however when I went to intergrate it with my real application which has the textbox in the footer of a datagrid...
  9. LauraCairns

    Textbox validation asp.net

    Loving your work!! Cheers its not an option but i used it anyone and it worked grand. Thanks
  10. LauraCairns

    Textbox validation asp.net

    I tried the following below and got a Compilation Error on the textbox line. Any ideas. There is no onKeyup event. Cheers for your help so far. I'm not very good at all with Javascript <script language="javascript" type="text/javascript"> function CheckValidAdd(textbox, val) { val =...
  11. LauraCairns

    Textbox validation asp.net

    I have the following textbox in the footer of a Datagrid and I'd like to try and add some client side code too take out all the spaces which the user might enter by accident. The textbox is used to enter forename text so basically I need the code to strip out any spaces a user may enter. At the...
  12. LauraCairns

    Different validation on two datagrids

    I have two datagrids on a page and each of them allow the user to add rows. On each datagrid I have validation (required field, reg expressions etc) and my problem is that I only want the validation to work on the datagrid which I click add in. At the moment if I click add in one datagrid and...
  13. LauraCairns

    Reg Expression

    I was wondering if anyone knew how to write a regular expression which validated that a field was 200 or less characters long. Its this part i'm interested in working out. Can someone help me please. ValidationExpression="^{0,200}$" <asp:regularexpressionvalidator...
  14. LauraCairns

    Regular Expression to check the length of a textbox.

    I have the following regular expression and at present it checks that a field contains only letters and is more than 2 characters in length. I would like to change this slightly to also check that the text entered is 25 characters or less. I'm not very good with regular expressions and was...

Part and Inventory Search

Back
Top