C# code behind not working?

Last post 12-04-2004, 1:34 AM by Drone. 6 replies.
Sort Posts: Previous Next
  •  12-02-2004, 11:40 AM 2788

    C# code behind not working?

    We have been testing a trial version for a couple of months and really liked the features....
     
    When we purchased license(s) we were directed to download V4...
     
    While we can see the value of enhancements... radical changes to methods and properties has thrown us for a loop in our development!
     
    BUT OUR BIG ISSUE IS IT APPEARS ALL OF OUR C# CODE BEHIND COMPILES BUT DOES NOT FUNCTION!
     
    Please help!
     
  •  12-02-2004, 12:01 PM 2789 in reply to 2788

    Re: C# code behind not working?

     
    This problem has been resolved tonight .

    We will upload it soon .
     
    Regards , Terry .
  •  12-02-2004, 11:43 PM 2812 in reply to 2789

    Re: C# code behind not working?

    Terry,
     
    I just tried the new control, as instructed by an email I received from Adam, and the problem still exists.  The date on the dll is 12/3/2004. 
     
    I placed the control in my project, ran it, and the problem still exists.
    Just letting yhou know.

    Drone

    No one knows everything, so I come here to learn and teach.
  •  12-03-2004, 12:45 AM 2813 in reply to 2788

    Re: C# code behind not working?

     
    Could you show me the codes ?
     
    Regards , Terry .
  •  12-03-2004, 10:22 AM 2816 in reply to 2813

    Re: C# code behind not working?

    Terry, 

    Since dfort and I have the same problem I placed my examples here for you.  I am doing my coding in VB he is using C#.  Either way should work the same.

    Here you go.
     
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

            Editor1.AutoConfigure = Editor1.AutoConfigure.Full
            Editor1.EnableContextMenu = False
            Editor1.ShowBottomBar = False
            Editor1.Height = Editor1.Height.Pixel(200)

            Editor2.AutoConfigure = Editor2.AutoConfigure.Simple
            Editor2.EnableContextMenu = False
            Editor2.ShowBottomBar = False
            Editor2.Height = Editor2.Height.Pixel(200)

            Editor3.AutoConfigure = Editor3.AutoConfigure.None
            Editor3.EnableContextMenu = False
            Editor3.ShowBottomBar = False
            Editor3.Height = Editor3.Height.Pixel(200)

            Editor4.AutoConfigure = Editor4.AutoConfigure.Gecko
            Editor4.EnableContextMenu = False
            Editor4.ShowBottomBar = False
            Editor4.Height = Editor4.Height.Pixel(200)

            Editor5.TemplateItemList = Editor5.TemplateItemList.Concat("Bold,Italic,Underline,JustifyLeft,JustifyCenter,JustifyRight,InsertUnorderedList,Separator,Indent, Outdent")
            Editor5.EnableContextMenu = False
            Editor5.ShowBottomBar = False
            Editor5.Height = Editor5.Height.Pixel(200)
            End If
        End Sub

    The above is what I did for testing.  In my app I set the values from a database in a repeater, which allows me to create dynamic page templates for a CMS system, using custom templates and if no value exists for the template then the full toolbar is allowed to be used.  Because alot of this is done dynamically on the page build it is all done in the code behind page.


    Drone

    No one knows everything, so I come here to learn and teach.
  •  12-03-2004, 9:58 PM 2831 in reply to 2816

    Re: C# code behind not working?

    Drone :
     
    I am sorry , I still can't find the problem .
     
    Could you send me the source code ? aspx/aspx.cs ?

    cutechat @ cutesoft.net
    Thanks .
  •  12-04-2004, 1:34 AM 2838 in reply to 2831

    Re: C# code behind not working?

    Terry,
     
    I downloaded the control again, which now has the date of 12/04/2004.  I removed the old reference to the other control and added a new reference this the new control.

     I then recompiled my test project and the codebehind access to the controls now works!!.
     
    Thanks for your attention to this and prompt turn around.

    Drone

    No one knows everything, so I come here to learn and teach.
View as RSS news feed in XML