I have developed a custom server control with a number of properties. When I drag the control onto an aspx page a number of the properties are autopopulated within the server tag, which are not wanted. I have managed to prevent them appearing within the Properties panel using the metadata attribute Browsable(False), but can't find out how to prevent them appearing within the tag itself.
Any help would be much appreciated
Edit: The properties are populated to the tag when the control (derived from GridView) is attached to a DataSource
View Complete Post