Thanks for responding. I will try to answer all your questions:
Yes. That is a code behind property which I am creating for the the RAD Editor in the user control. Then, when I use this user control in my page, I want to set different value for each instance of the RAD user control in my page. I get the value of the mode in the user control by this method:
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
If (Not Page.ClientScript.IsClientScriptBlockRegistered("csbJS")) Then
Then, in the OnClientLoad function of the user control, I do the check to restrict user typing in the RAD Editor.
If strMode="View", then, do not let him type or paste anything in the RAD.
If strMode="Edit", let him modify.