PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms control in web page fails if only in GAC

Reply

control in web page fails if only in GAC

 
Thread Tools Rate Thread
Old 10-12-2003, 09:15 PM   #1
Luke Stevens
Guest
 
Posts: n/a
Default control in web page fails if only in GAC


I'm trying to put a DateTimePicker on a web page, using
<OBJECT classid="System.Windows.Forms.dll#
System.Windows.Forms.DateTimePicker" etc.>

(without the line break after #) but it just puts up an
empty box with a scrollbar, indicating some kind of
failure. With some experimenting I've found that, despite
what everyone says, this sort of thing never succeeds in
using an assembly from the client's GAC, but works fine
if the assembly is in the same directory with the web
page. So, I tried copying System.Windows.Forms.dll from
the GAC into the web directory (ugh!), but then I just
got an image icon and it still didn't work. The examples
everyone gives are always of a derived class, never the
standard controls. Am I missing something obvious, or is
this basic functionality broken?

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off