DHTML Behaviors (HTC) in a custom server control

Discussion in 'ASP .Net Web Controls' started by JV, Mar 25, 2005.

  1. JV

    JV Guest

    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?
    JV, Mar 25, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scupper

    DHTML Behaviors and ASP.NET

    Scupper, May 28, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    457
    Vidar Petursson
    May 28, 2004
  2. =?Utf-8?B?RGF2aWQgVGlsbWFu?=

    Slow ASP .NET app with DHTML behaviors

    =?Utf-8?B?RGF2aWQgVGlsbWFu?=, Aug 31, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    457
    Juan T. Llibre
    Aug 31, 2005
  3. JV

    DHTML Behaviors (HTC) in a custom server control

    JV, Mar 25, 2005, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    135
  4. Mark Kremers

    Behaviors in Behaviors

    Mark Kremers, Jul 31, 2003, in forum: Javascript
    Replies:
    0
    Views:
    112
    Mark Kremers
    Jul 31, 2003
  5. no spam
    Replies:
    1
    Views:
    139
    Tom Cole
    Aug 18, 2006
Loading...

Share This Page