Re: Textarea disabled on first load

  •  04-06-2009, 5:17 AM

    Re: Textarea disabled on first load

    hi Olegs,
     
    The example was you send to me on February 26, I tested it on firefox 1.5 and firefox2.0, works fine for me when I add the code below:

    <script runat="server">
        Public loaderName As String

        Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs)
            MyBase.OnInit(e)
            Dim browser As System.Web.HttpBrowserCapabilities = Request.Browser
            Dim browserName As String = browser.Browser
       
            Select Case browserName
                Case "IE"
                    loaderName = "IE_Loader"
                    Exit Select
                Case "Firefox"
                    loaderName = "Gecko_Loader"
                    Exit Select
                Case "AppleMAC-Safari"
                    loaderName = "Safari_Loader"
                    Exit Select
                Case "Opera"
                    loaderName = "Opera_Loader"
                    Exit Select
                Case Else
                    Exit Select
            End Select
       
        End Sub
    </script>

      <script src="CuteSoft_Client/CuteEditor/Scripts/<%=loaderName %>/Loader.js" type="text/javascript"></script>
     
     
    Regards,
     
    ken
     
     
View Complete Thread