Questions tagged [nested-controls]

22 questions
4
votes
1 answer

Getting textbox value inside a Detailsview control

I have a DetailsView control with a template field as follows:
Kamyar
  • 18,639
  • 9
  • 97
  • 171
3
votes
1 answer

Control Nesting Limits in WinForms

I'm creating my form's controls in the runtime, and for some reason, I need the depth to be more than 49 nested controls (i.e. control is contained in another one). but the following error appears: How can I add more controls nested in each other…
user2302005
  • 227
  • 1
  • 2
  • 7
3
votes
0 answers

WinForms makes some change on load in designer

This is something I have noticed over the years but never bothered with it before. When opening WinForms forms in designer view, VS sets some forms to an unsaved state immediately. This only happens with some forms with a slightly complex…
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
2
votes
0 answers

wpf commandtarget for routeduicommand with nested controls

I have a main window wich consist mainly of a fluidribbon control as menu and a statusbar. It also has a content control where i load views (usercontrols). Im using RoutedUICommand's to execute button events from my Ribbon buttons. Depending on the…
Azazel
  • 191
  • 3
  • 15
1
vote
2 answers

Virtualization of DataGrid inside ListBox

My layout: Virtualization of outer ListBox works but for inner DataGrid does not. Probably because the outer ListBoxcontains ScrollViewer inside: The ScrollViewer provides a window onto its child content. The problem is that the child content is…
Brains
  • 594
  • 1
  • 6
  • 18
1
vote
0 answers

jQuery selector query vs nested condition

This is related to performance, I was wondering does nested if-else statement perform faster than jQuesy selectors query or is is the other way around? if (valid) { // do something } else if…
Ewe Seong
  • 67
  • 6
1
vote
1 answer

Web controls lifecycle problems: A page, a grid and a dialog (containing a dynamic control whose type depends on the selected row in the grid)

I have a web page with a GridView. The GridView contains a list of Question objects. Each Question has a QuestionType. When the user clicks on the Question control, an Ajax modal popup appears containing a Dialog custom web control. The Dialog…
J M
  • 1,877
  • 2
  • 20
  • 32
1
vote
2 answers

Design time support for user controls, that are containers for other controls

I like to create an user control that (among other controls) contains a panel. Fellow developers should be able to add other controls at design time to the panel of my user control. Unfortunately all the examples I found on the internet don't seem…
Nostromo
  • 1,177
  • 10
  • 28
1
vote
1 answer

WPF RelativeSource issue with nested controls

I have the following markup: