views:

15

answers:

0

Hello,

I'd like to extend my MVC2 project with a new kind of insertion mode, because the current InsertionMode.Replace doesn't fit my needs, as it just replaces/inserts the content into the parent node, but I would need the parent node to be replaced as well (messing around with table rows).

Currently I have the original replace method rewritten in the JS to suit my needs, but I'd rather not touch default components. So how would I go about adding a new method aside from altering the JS files (having it appear in the intellisense)? Would call it ReplaceDOM or something.