Natalie
6/14/2002 7:04:00 PM
Bruce -
Just spent almost a full day with the exact same error.
Are you trying to access this propery in your code?
The correct code to check the property is below:
If Label4.DeviceSpecific.SelectedChoice.Filter
= "isHTML32" Then
'do something
Else
' do something else
End If
The following needs to be in your html as well,otherwise
you will get the "object reference not set error":
<mobile:Label id="Label4" runat="server">
<DeviceSpecific>
<Choice filter="isHTML32"></Choice>
<Choice filter="isWML11"></Choice>
</DeviceSpecific>
</mobile:Label>
this solved my problem, hope it helps
>I am using MMT 1.0 and am trying to get access to
>AppliedDeviceFilters property. But all I get is an error
>that states "Object Reference not set to an instance of
an
>object".