Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DHTML Behaviors (HTC) in a custom server control

Thread Tools

DHTML Behaviors (HTC) in a custom server control

Posts: n/a
I've coded a datagrid-derived control that makes use of a DHTML behavior in
a separate script file (.htc). Now that it works, I've realized that I
don't know how to deploy this well. I know how to embed the script in the
project as a resource, read it back and write it to a file, but obviously
the process under which this code would normally execute will not have the
right to do file I/O by default.

In all other controls I've coded, I just emitted embedded the script into
the page. Is there any way to do something like this with my HTC file or do
I have to start over and convert this behavior to a set of scripts?

Reply With Quote

Thread Tools

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
Slow ASP .NET app with DHTML behaviors =?Utf-8?B?RGF2aWQgVGlsbWFu?= ASP .Net 4 08-31-2005 05:01 PM
Do any DHTML books cover contemporary DHTML? Steve Javascript 1 04-09-2005 04:16 PM
DHTML Behaviors (HTC) in a custom server control JV ASP .Net Building Controls 2 03-30-2005 06:01 PM
DHTML Behaviors and ASP.NET Scupper ASP .Net 1 05-28-2004 07:50 PM
Behaviors in Behaviors Mark Kremers Javascript 0 07-31-2003 09:45 AM