S
shapper
Hello,
Before I add a control I need to check if its CssClass is defined.
Should I use:
If String.IsNullOrEmpty(MyControl.CssClass) Then
....
I am not sure if this is the correct way because the user can set my
mistake MyControl.CssClass = ""
How should I do it?
Thanks,
Miguel
Before I add a control I need to check if its CssClass is defined.
Should I use:
If String.IsNullOrEmpty(MyControl.CssClass) Then
....
I am not sure if this is the correct way because the user can set my
mistake MyControl.CssClass = ""
How should I do it?
Thanks,
Miguel