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

RowLoaded MVVM

5 Answers 98 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Voss Grose
Top achievements
Rank 1
Voss Grose asked on 11 Apr 2011, 08:03 PM
I'm trying to wire up the RowLoaded event to my ViewModel via a trigger, but it only fires when I start to scroll and never on the initial binding.

It works fine if I wire it up directly to my view.

  <i:Interaction.Triggers>
                    <i:EventTrigger EventName="RowLoaded">
                        <ei:CallMethodAction MethodName="GridRowLoaded" TargetObject="{Binding}" />
                    </i:EventTrigger>
</i:Interaction.Triggers>

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Apr 2011, 07:05 AM
Hi,

Can you clarify why you need this event in your view model? 

Regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Voss Grose
Top achievements
Rank 1
answered on 12 Apr 2011, 03:23 PM
I'm using MVVM and I want my views to be clean.

Our views are developed by the design team and all functionality by a developers.

0
Voss Grose
Top achievements
Rank 1
answered on 15 Apr 2011, 01:38 AM
Any update on this?
0
Vlad
Telerik team
answered on 15 Apr 2011, 07:18 AM
Hello,

I'm still not sure why you want to use this event. What code you are going to execute not possible with other a bit more MVVM approaches, like templates redefining, style/template selectors, converters,  etc. ?

Regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Voss Grose
Top achievements
Rank 1
answered on 15 Apr 2011, 04:32 PM
I don't understand why I have to explain all my business requirements to you.

My question is why it's not working like it should.

If it's a bug then fine just let me know it's a bug.
Tags
GridView
Asked by
Voss Grose
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Voss Grose
Top achievements
Rank 1
Share this question
or