Skip to content

Error "No alternatetext for FormControl".

Sandeep Singh Shekhawat

Sandeep Singh Shekhawat

Asked Apr 4, 2012, 12:09 AM EDT2 answers
Share
LinkedInX
I am using aDesigner Tool by IBM. It show an error "No alternatetext for Form Control" for asp.net server side control(DropDown List).
How can resolve this please suggest?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Senthilkumar
    0
    Hi,

    Its an attribute of some of asp.net server side controls.

    For example,

    <asp:image ID="img" runat="server" ImageUrl="" AlternateText="" />

    It can have the alternate text.

    But asp.net dropdownlist does not have any property like AlternateText.

    Just you remove from it and compile it.
    0
  • Sandeep Singh Shekhawat
    0
    Thanks  Senthilkumar  for Quick reply.

    But I am discussing for server side control. When  I am using aDesigner tool, It shows this error and I want to remove this on all controls not only for image.

    It can be another way for server side control to read by aDesigner tool my means we can define another properties or code for it that behave like an Alternate Text.
    0