Example can be found, for instance, in Boris Weisfeller's paper "Abstract homomorphisms of big subgroups of algebraic groups", pages 149-150, see  

http://projecteuclid.org/DPubS?service=UI&version=1.0&verb=Display&handle=euclid.ndml/1175197662

His example of a discontinuous representation of $SO(n, {\mathbb R})$ to a semidirect product of 
$SO(n, {\mathbb R})$ with some ${\mathbb R}^N$, works for $SL(2, {\mathbb R})$ as well. Weisfeller's paper also lists many positive results on rigidity of abstract homomorphisms of Lie groups.