Partial view 1:
partial view 2:
now before i call the second partial view i do $('#container').html(''); on the partial view 1 container so it clears everything and then
through ajax request i get the second partial view it seems everything is ok untill i try to call the first partial view again.
The layout is never refreshed no postbacks are commited its very strange looks like scripts arent loaded the second time or it remembers the last partial view and uses its own scripts and thats why the next partial view cant find its own function names thats what i think..