Re: Textarea disabled on first load

  •  03-27-2009, 2:09 PM

    Re: Textarea disabled on first load

    Our Solution was to put the following code in Page_Init:
     
            Page.ClientScript.RegisterClientScriptInclude("CuteEditorConstant", "/CuteSoft_Client/CuteEditor/Scripts/Constant.js")
            Dim LoaderName As String
            Select Case Request.Browser.Browser
                Case "IE"
                    LoaderName = "IE_Loader"
                Case "Firefox"
                    LoaderName = "Gecko_Loader"
                Case "AppleMAC-Safari"  'Apple MAC Safari or Google Chrome
                    LoaderName = "Safari_Loader"
                Case "Opera"
                    LoaderName = "Opera_Loader"
                Case Else
                    LoaderName = "IE_Loader"
            End Select
            Page.ClientScript.RegisterClientScriptInclude("CuteEditorLoader", "/CuteSoft_Client/CuteEditor/Scripts/" & LoaderName & "/Loader.js")
     
     
    This will preload the needed files.... but now we are having a issue with Firefox2.0 and older.  It shows the textarea as readonly.  Adam, I am going to send you a sample of this.
     
     
    Thanks,
    Oleg
View Complete Thread