I'm trying to use my UserControl as a TemplateField in a GridView but I'm
getting the exception:
"Object doesn't support this property or method exception".
The user control has a flash player in it. I'm thinking this might be
causing the problem but I can't really debug it to find out exactly what it
is complaining about.
Any suggestions?
-Joe
Larry Bud - 10 Dec 2007 00:45 GMT
> I'm trying to use my UserControl as a TemplateField in a GridView but I'm
> getting the exception:
[quoted text clipped - 3 lines]
> causing the problem but I can't really debug it to find out exactly what it
> is complaining about.
A flash player is client side, not server side.
Do you mean that you've put your user control IN a templatefield?
Joe - 10 Dec 2007 00:51 GMT
Yes. I have my user control which has an object tag for the flash player.
I'm using the user control in a template field:
<ItemTemplate>
<user:MyControl/>
</ItemTemplate>
>> I'm trying to use my UserControl as a TemplateField in a GridView but I'm
>> getting the exception:
[quoted text clipped - 8 lines]
>
> Do you mean that you've put your user control IN a templatefield?
Joe - 10 Dec 2007 01:03 GMT
Well I sort of have it working now. I had a script to update the movie and
it seems there may have been some type of a conflict.
> I'm trying to use my UserControl as a TemplateField in a GridView but I'm
> getting the exception:
[quoted text clipped - 7 lines]
>
> -Joe