Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
845
Cant access the user control placed with in data template
posted

hi

I have added some user control let say Text Box on map layer using data template option. but i cant able to access the user control using its name in code behind file. If any one knows how to access the user control that has been placed with in data template please help me.My code will look like this

<igMap:MapLayer.ValueTemplate>
                        <DataTemplate x:Name="dt1">
                            <TextBox Width="200" Height="35" x:Name="txtSample"/>
                        </DataTemplate>
 </igMap:MapLayer.ValueTemplate>

Parents
No Data
Reply Children
No Data