C#: Doubt in textbox Lostfocus event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ssknov
    New Member
    • Dec 2007
    • 40

    C#: Doubt in textbox Lostfocus event

    hi all
    i have a problem with my text box whose Lost Focus event has a validation code.
    but when the Lostfocus event occurs it prompts an error as below inside the designer.cs window
    can any one help me

    Code:
     void txtLoginId_LostFocus(object sender, System.EventArgs e)
            {
                throw new System.Exception("The method or operation is not implemented.");
            }

    thank u
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Uhhh.
    Your code clearly throws an error.
    It also clearly says why.
    This makes my brain hurt so much...

    Comment

    • RedSon
      Recognized Expert Expert
      • Jan 2007
      • 4980

      #3
      LOL this is going up on my bulletin board.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by ssknov
        hi all
        i have a problem with my text box whose Lost Focus event has a validation code.
        but when the Lostfocus event occurs it prompts an error as below inside the designer.cs window
        can any one help me

        Code:
         void txtLoginId_LostFocus(object sender, System.EventArgs e)
                {
                    throw new System.Exception("The method or operation is not implemented.");
                }
        thank u
        >>boggles<<

        Have you tried replacing
        [code=cpp]
        throw new System.Exceptio n("The method or operation is not implemented.");[/code]
        With your validation????

        -Frinny

        Comment

        Working...