Filtering List Of Css Styles Available

P

Phil

Hello fellow Comrades,
I am writing a custom control and trying to only return a specifi list
of styles available to select from the dropdown list of CssClass.

I know it is similar to filtering the list of controls available to select
from such as:

Public Class MyCustomEditor
Inherits ControlIDConverter

Protected Overrides Function FilterControl(ByVal control As
System.Web.UI.Control) As Boolean
If control.ID.EndsWith("test") Then
Return True
Else
Return False
End If
End Function
End Class

This class will only return controls that end with "test", i am looking to
do the same with CssClass.

Many Thanks In Advance
Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top