regularexpressionvalidator

Last post 08-17-2005 11:36 AM by fadil1977. 6 replies.

Sort Posts:

  • regularexpressionvalidator

    08-16-2005, 5:24 PM
    • Member
      445 point Member
    • ronron
    • Member since 08-03-2005, 11:15 PM
    • Posts 106

    hi

    i want to know why when i run my application on the LOCALHOST i can see the regularexpressionvalidator  error message
    but when i run the site(application) from the server i cant see the regularexpressionvalidator  error message
    i am working in c#.net and in the html file i wrote runat="server"

    thank you!!!!

  • Re: regularexpressionvalidator

    08-16-2005, 6:54 PM
    • Contributor
      2,519 point Contributor
    • jportelas
    • Member since 05-09-2003, 6:07 PM
    • Bogota, Colombia
    • Posts 544
    Check in the IIS Admin console if the site you published in the server has a virtual directory called "aspnet_client", if don't you must call aspnet_regiis -c to install the client scripts cause the validators require some client side scripts which are located at this aspnet_client folder.

    I hope this helps
  • Re: regularexpressionvalidator

    08-16-2005, 7:03 PM
    • Star
      7,894 point Star
    • fadil1977
    • Member since 08-23-2004, 4:43 AM
    • london
    • Posts 1,581

    add the page.IsValid() where you want to force the the validation!!

    Fadil Alnassar
    www.fadilalnassar.com | FREE Nodil Tab Control
    http://www.mefranchising.com
  • Re: regularexpressionvalidator

    08-16-2005, 7:07 PM
    • Member
      445 point Member
    • ronron
    • Member since 08-03-2005, 11:15 PM
    • Posts 106

    what do u mean...where???

     

    thanks

  • Re: regularexpressionvalidator

    08-17-2005, 5:06 AM
    • Star
      7,894 point Star
    • fadil1977
    • Member since 08-23-2004, 4:43 AM
    • london
    • Posts 1,581
    depends where you want to move next step or the line of code that will process the transaction

    for example i you want to to fill application and waant to save and move next page ..... the code will do this transaction you lace it in a IF statement like below

    If Page.IsValid Then

    save to DB
    OR
    transfer page


    etc.........

    ENDIF

    and if the page is not valid you can exit the sub or do nothing ..... i hope that helps!!

    Fadil Alnassar
    www.fadilalnassar.com | FREE Nodil Tab Control
    http://www.mefranchising.com
  • Re: regularexpressionvalidator

    08-17-2005, 8:43 AM
    • Member
      445 point Member
    • ronron
    • Member since 08-03-2005, 11:15 PM
    • Posts 106
    Thank u very much its working great!!!
  • Re: regularexpressionvalidator

    08-17-2005, 11:36 AM
    • Star
      7,894 point Star
    • fadil1977
    • Member since 08-23-2004, 4:43 AM
    • london
    • Posts 1,581
    great that you solve it and great that i was able to help!! good luck
    Fadil Alnassar
    www.fadilalnassar.com | FREE Nodil Tab Control
    http://www.mefranchising.com
Page 1 of 1 (7 items)