W
WT
Having questions and problems with this method.
I have a control library that embed its .gif and js, html and htc in its
ressources
Corresponding Attributes are added to the namespace using declarative
syntaxe.
My questions
1) What should be the Type parameter of RegisterClientScriptInclude if I
call it inside the PreRender method of my custom control
should it be the Page type or the Control 's one
my gif images files are correctly retrieved and display but I can't get my
script being loaded by IE clients ???
More generally I don't understand the usage of this parameters,
dovcumentation is clumsy for it.
2) my gif images files are correctly retrieved and displayed only in run
mode, but refuses to load in design mode under vs2005 ?
3) what is the type to use in declaration for htc files, should I use
text/html like this ?
[assembly: WebResource("xxx.htc", "text/html")]
Thanks for help
CS
I have a control library that embed its .gif and js, html and htc in its
ressources
Corresponding Attributes are added to the namespace using declarative
syntaxe.
My questions
1) What should be the Type parameter of RegisterClientScriptInclude if I
call it inside the PreRender method of my custom control
should it be the Page type or the Control 's one
my gif images files are correctly retrieved and display but I can't get my
script being loaded by IE clients ???
More generally I don't understand the usage of this parameters,
dovcumentation is clumsy for it.
2) my gif images files are correctly retrieved and displayed only in run
mode, but refuses to load in design mode under vs2005 ?
3) what is the type to use in declaration for htc files, should I use
text/html like this ?
[assembly: WebResource("xxx.htc", "text/html")]
Thanks for help
CS