This is a migrated thread and some comments may be shown as answers.

Me.Activate not getting fired

3 Answers 51 Views
Form
This is a migrated thread and some comments may be shown as answers.
Jaymie
Top achievements
Rank 1
Jaymie asked on 29 Jul 2009, 04:11 PM
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?


3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 30 Jul 2009, 07:09 AM
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.
0
Jaymie
Top achievements
Rank 1
answered on 30 Jul 2009, 09:06 AM
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?
0
Accepted
Deyan
Telerik team
answered on 30 Jul 2009, 02:39 PM
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.
Tags
Form
Asked by
Jaymie
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Jaymie
Top achievements
Rank 1
Share this question
or