Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. error provider icon...

error provider icon...

Scheduled Pinned Locked Moved C#
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    csetopper_bhanu
    wrote on last edited by
    #1

    the error provider icon is always visible on the program run,even if there is no error! please,help...

    csetopper_bhanu

    C 1 Reply Last reply
    0
    • C csetopper_bhanu

      the error provider icon is always visible on the program run,even if there is no error! please,help...

      csetopper_bhanu

      C Offline
      C Offline
      C1AllenS
      wrote on last edited by
      #2

      Hello, It seems that the condition for errorprovider is not set properly. Let me give you a very simple example where we will display an errorprovider for a Textbox when alphanumeric values are entered. Private Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged Dim num As Integer = 0 If Not TextBox1.Text.Equals("") Then If Not IsNumeric(TextBox1.Text) Then ErrorProvider1.SetError(TextBox1, "Please enter numeric value") Else ErrorProvider1.Dispose() End If End If End Sub I hope this helps. In case the issue persists, just provide the code where you have implmented the errorprovider. Regards, Allen

      Allen Smith Software Engineer ComponentOne LLC www.componentone.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups