Editor loses state when its container's visible property is set to false

  •  04-26-2007, 10:15 AM

    Editor loses state when its container's visible property is set to false

    Steps to reproduce:
     
    1. Add a PlaceHolder control to the page
    2. Add a CuteEditor control inside the PlaceHolder
    3. Add two button controls outside of the PlaceHolder
    4. Make the OnClick event handler for Button1 set the Visible propery of the PlaceHolder to "False"
    5. Make the OnClick event handler for Button2 set the Visible propery of the PlaceHolder to "True"
    6. Compile and run the page
    7. Type some text into the CuteEditor
    8. Click Button1 to hide the PlaceHolder
    9. Click Button2 to show the PlaceHolder
    10. Notice that the text typed in step 7 is gone
     
     
View Complete Thread