Making Cute Editor read only from client side script

Last post 07-25-2005, 12:04 PM by ykajam. 2 replies.
Sort Posts: Previous Next
  •  07-25-2005, 6:04 AM 9030

    Making Cute Editor read only from client side script

    Hi,
     
    On certain conditions I want to make the editor readonly and no operation should be allowed on the editor. This should be done through the client side Jscript without poting back to server.
     
    Is it possible?
     
    Please help.

    Thanks & Regards,
    Kaja
  •  07-25-2005, 11:39 AM 9036 in reply to 9030

    Re: Making Cute Editor read only from client side script

    Kaja,
     
    The ReadOnly property can not be set in the client side.

    Can you explain more details about your project?

    Maybe we can find some workarounds.

     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-25-2005, 12:04 PM 9038 in reply to 9036

    Re: Making Cute Editor read only from client side script

    We have a provision in our application that the author can decide whether his/her comments can be edited by others or not by checking a box in the page. In this case it should be disabled for all including him. But the author can edit the comment, by unchecking the box again.
     
    Could you tell me why it cannot be done from client side?
     
    One alternative I can think of is, when checking the box, change the control to Preview mode, so that it becomes readonly and also no operation can be performed in the control. But this will be the last option. If this is the only option, what is the function to call to change to Preview mode from client side.
     
    Thanks,
    Kaja
View as RSS news feed in XML