PC Review


Reply
Thread Tools Rate Thread

control in web page fails if only in GAC

 
 
Luke Stevens
Guest
Posts: n/a
 
      10th Dec 2003
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to refer a control in the host page from a user control if the host page using masterpage Jerry Qu Microsoft ASP .NET 1 20th Feb 2009 08:41 PM
Control Panel "system" page fails to load =?Utf-8?B?YnVpbHQybGFzdA==?= Windows Vista Performance 3 12th May 2007 09:00 PM
accessing the web user control's control from a web page and set a value from another web page Reny J Joseph Thuthikattu Microsoft ASP .NET 1 30th Dec 2004 01:21 PM
default page when ie fails to find page Rob Brown Windows XP Internet Explorer 1 28th Jul 2004 10:16 AM
Add control to asp:PlaceHolder on asp.net page from user control on same page Dan Microsoft ASP .NET 1 4th Jan 2004 09:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 PM.