CuteEditor 5.3 produces an error when using App_Browsers

  •  07-08-2006, 9:10 AM

    CuteEditor 5.3 produces an error when using App_Browsers

    Hello Adam,
     
    I found out a problem which sounds a little bit complicated.
     
    I have this in my App_Browsers directory:
    <browsers>
     <browser refID="Default">
      <controlAdapters>
       <adapter
                    controlType="System.Web.UI.Page"                           
                    adapterType="MyAdapterLibrary.MyAdapter" />
      </controlAdapters>
      
     </browser>
    </browsers>
     
    Now I do exactly this steps with CuteEditor 5.3:
    - Create a Directory named "mydir"
    - Upload an image named "myimage.jpg"
    - Use Thumbnail function
    - Rename Thubmnailed file like t__myimage.jpg to myimagenew.jpg
    - Delete the created directory "mydir" and the "myimage.jpg" at ounce
    - Insert myimagenew.jpg
     
    Now at this point, CuteEditor is deleting or preventing to load my above ControlAdapter
    "MyAdapterLibrary.MyAdapter". This means, that the ViewState which is managed in my
    ControlAdapter is lost and this produces an error when I want to save or to do something else.
     
    My question is: Why is CuteEditor only doing this, when I do exactly this above mentioned steps?
    It took me a lot of time to find this error.
     
    Is there a quick solution?
     
    Many thanks for your help!
     
    Kind Regards
    J. Bauer
View Complete Thread