tag:blogger.com,1999:blog-18939862.post2085350202028318526..comments2023-07-25T01:20:13.916-07:00Comments on Sitecore CMS Blog by Alex Shyba: Insert Media Item dialog in rich text field – remember last selectionAnonymoushttp://www.blogger.com/profile/09553655443086620502noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-18939862.post-29282591385717308912011-07-12T13:56:06.548-07:002011-07-12T13:56:06.548-07:00Hi Alex -- As always, you prove that you are a gen...Hi Alex -- As always, you prove that you are a genius. I tried this code and had to make one tweak for Sitecore 6.4 and higher (may affect earlier versions as well).<br /><br />It looks like the ClientPage.Session object is no longer supported, so I used Registry.GetValue/SetValue to manage the last-accessed media item, per your suggestion.<br /><br />Thanks!<br />DerekBlogging from SFhttps://www.blogger.com/profile/05662340045234736909noreply@blogger.com