Me.Activate not getting fired

4 posts, 1 answers
  1. Jaymie
    Jaymie avatar
    57 posts
    Member since:
    Jan 2009

    Posted 29 Jul 2009 Link to this post

    I have changed my Form to inherit RadForm and everything seemed to be working fine, but I noticed that one of my Textboxes (later I realised all of them) were not getting populated with Data when I used this bit of Code:

        Private Sub ddlWorkCentre_SelectedIndexChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlWorkCentre.SelectedIndexChanged 
            If Not pIsLoading Then 
                For Each pWorkCentre As WorkCentre In WorkCentresList 
                    If ddlWorkCentre.SelectedValue = pWorkCentre.ID Then 
                        txtWorkCentreDesc.Text = pWorkCentre.Description 
     
                        BindWorkOrders(pWorkCentre.ID) 
                    End If 
                Next 
            End If 
        End Sub 
    pIsLoading is a public variable definate at the top of the form and is set to true.
    I also have this bit of code:

        Private Sub frmWorkCentreLog_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Activated 
            pIsLoading = False 
        End Sub 
    So, as you can see, when the form is activated the Boolean is set to false, meaning that the ComboBox SelectedIndexChanged can run the rest of the code when the Index is changed :)

    This works perfecting on my other forms that are not RadForms, but for RadForms the event is not even triggered.
    Does anyone know why this is?


  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 30 Jul 2009 Link to this post

    Hi Jaymie,

    Thanks for contacting us and for the provided details. This issue has been addressed in the upcoming Q2 2009 SP1 which will be soon available on our website. You can download it and check it out.

    I hope this is helpful. Do not hesitate to write back if you need further assistance.

    Greetings,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jaymie
    Jaymie avatar
    57 posts
    Member since:
    Jan 2009

    Posted 30 Jul 2009 Link to this post

    Thanks for your reply, could you give me some sort of time scale as to when this Service Pack will be released, but more importantly could you point out a work around for me?
  5. Answer
    Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 30 Jul 2009 Link to this post

    Hi Jaymie,

    There is no workaround for this case. However, we hope that the service pack will be available for download today. We are performing the final testing and we are going to upload the new version by the end of the day in case everything goes fine.

     I hope this is helpful. Do not hesitate to write back if you need further assistance.

    Kind regards,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top