Questions tagged [childcontrol]

25 questions
0
votes
1 answer

Binding custom control to parent datacontext property

I have tried many of the solutions posed by similar questions but still cant seem to get this working. I have a custom TabControl called LayoutView (see below XAML) It uses a viewmodel called LayoutViewModel ( see below that {excluding converters})…
Geoff Scott
  • 897
  • 1
  • 10
  • 17
0
votes
1 answer

Getting a panel within a panel with mouse position

I've been looking for this thing... It should be working yet it is not. There must be something I don't get understand or that I'm missing. It's quite a simple problem but I can't seem to solve it. I got Panel1 and Panel2 as shown in this picture.…
Senerio
  • 35
  • 1
  • 9
0
votes
1 answer

avoid update panel trigger by child control

By default the postback of child controls will trigger update panels' update. How can I avoid the same? Thanks in advance !
Anish Mohan
  • 55
  • 1
  • 11
0
votes
1 answer

WPF MenuItem child controls width is less than parent menuitem

As shown in below code, The contextmenu has four menuitems one, two, three and four. MenuItem three has subitems embeded in list box and they are test1, test2 and test3. The width of test1 test2 and test3 is less than parent item (i.e menuitem or…
0
votes
0 answers

Changing the image shown in an mx:Image based on the selection in an mx:List

When I selected the mx:List, how can I make the mx:Image display the selected item?
guh
  • 1
0
votes
1 answer

Child control event in asp.net

I have structure as below repeater1->datalist->repeater2 Here child is repeater2, whose parent is datalist and whose parent is repeater1. How to get repeater2 control event, because of it's child directly I can't get any event.
Manish Jain
  • 842
  • 1
  • 11
  • 29
0
votes
1 answer

Recreate child controls and ViewState

Lets explain the problem with a simple case: Lets CC be a composite control. CC has a variable called filter (string) stored in viewState. CC has 2 static child controls: searchBox: Textbox searchButton: Button The user type a search term and…
fso
  • 144
  • 2
  • 14
0
votes
1 answer

Adding property to child controls

If you have a container in .Net, is it possible to add a property to any children that are added to that control? TableLayoutPanel appears to do this, if you add a control, say a a panel, the control has new properties, cell, column, row, colSpan,…
Apeiron
  • 694
  • 7
  • 13
0
votes
1 answer

How to update ListViewItem.SelectedItem whenever the ListView child control gets focus?

How to udpate the ListView.SelectedItem when a child control within the ListView gets focus?
Kok How Teh
  • 3,298
  • 6
  • 47
  • 85
0
votes
2 answers

Child Control in Asp.net

which is the earliest event when child control exists ?
KuldipMCA
  • 3,079
  • 7
  • 28
  • 48
1
2