W
Weston Weems
I've got a webcontrol that has some methods that fire off rendering
javascript to the page etc, that shouldnt be fired off if loaded up in a
designer.
I'd like to know if there is some sort of conditional block I can use to
prevent this code from being run...
Something like
MyWebControl(){
if(!IsDesigner){
registerJs();
}
}
Thanks in advance
javascript to the page etc, that shouldnt be fired off if loaded up in a
designer.
I'd like to know if there is some sort of conditional block I can use to
prevent this code from being run...
Something like
MyWebControl(){
if(!IsDesigner){
registerJs();
}
}
Thanks in advance