Questions tagged [childwindow]

235 questions
1
vote
1 answer

How to call child window on button click in ItemsControls?

I am developing silverlight application. I am using itemscontrols in silverlight to diaply the UI according to requirement.
Shailesh Jaiswal
  • 3,606
  • 13
  • 73
  • 124
1
vote
0 answers

ALT+TAB in Vista activates main window instead of previously active child window

My app (written in C++) uses Win32 (not MFC) to create a couple of windows with CreateWindowEx. The main window gets the desktop as a parent, the child windows get the main window as a parent. My problem: The app has an active child window I switch…
Lars
  • 6,421
  • 1
  • 23
  • 24
1
vote
1 answer

in C# WinForms, how can I get rid of the child's control bar?

I'm rewriting a program originally written in FoxPro that is used by town and school tax collectors. Unfortunately, I'm learning this as I go. The program requires windows to be modal - the users follow a specific path, and can't play with more…
1
vote
1 answer

inject html from parent to child window when the child window is ready, using jquery

My preliminary code to do this is something like this. $j(document).ready(function() { var w = window.open(childPage); $j(w.document).ready(function() { $j('#DestinationElement', w.document).html($j('#SourceElement').html()); …
user420667
  • 6,552
  • 15
  • 51
  • 83
1
vote
2 answers

Close previous window from current window

In Silverlight I am using a profile window, with the option to delete the current profile in a hyperlink button. When the user hits the hyperlink button it takes them to a new form to confirm the deletion. Although the delete function has worked…
Ebikeneser
  • 2,582
  • 13
  • 57
  • 111
1
vote
1 answer

Global Event for ChildWindow_Loaded

I've had stumbled looking around for answers of how to create a global event that would be fired whenever a child window is being showed by another parent window. I want to have a event handler that would be use by all of this child windows without…
Allan Chua
  • 9,305
  • 9
  • 41
  • 61
1
vote
1 answer

On click event, Silverlight child window resize to show more options

I have a Silverlight child window in place, however I want to hide certain options i.e. check boxes from the user until a specific item on the current form is clicked. Once that item has been click I need the window to resize dynamically to show the…
Ebikeneser
  • 2,582
  • 13
  • 57
  • 111
0
votes
1 answer

Defining own ChildWindow with BusyIndicator

I'm trying to create my own ChildWindow whith BusyIndicator. This ChildWindow will be a base class for my other child windows. I started from creating a class which inherits from ChildWindow and I added some additional DependencyProperties. public…
John
  • 177
  • 6
  • 17
0
votes
1 answer

Pass Selected Value to Child Window

I have a data grid in my parent view. When I select an item in the grid, I would like to open a child window and pass the selected item value to the child window I need to submit changes based on the selected value. I'm revising the following…
technette
  • 1
  • 3
0
votes
1 answer

Silverlight ChildWindow with asp.net masterpage

I'm using silverlight with asp.net.i have added silverlight content to asp.net master page using following code
chamara
  • 12,649
  • 32
  • 134
  • 210
0
votes
1 answer

change component attribute on MDI child [VB.NET]

If I want to chand the background color of all the child windows opened i would use this: For Each chld As Form In Me.MdiChildren chld.BackColor = Color.LightGray Next chld But how can I modify the color of a textbox found on the child…
Remus Rigo
  • 1,454
  • 8
  • 34
  • 60
0
votes
1 answer

[ERROR]: Pressing the Back button on page MainPage.xaml does not close the dialog box

I am having a problem with the Monitored Test cases "Use of Back Button". I always get the error message [ERROR]: Pressing the Back button on page MainPage.xaml does not close the dialog box I'm pretty sure, that I close all Dialogs, when the…
0
votes
2 answers

How can I close OpenFileDialog by functions ok and cancel in MVVM pattern silverlight?

I saw a lot of different information on this theme but nothing helped me. How do u think? Probably better use a simpler pattern than MVVM with OpenFileDialog? I have 2 functions Ok and Cancel. Each one has (this.DialogResult = true) or…
Thomas Wingfield
  • 95
  • 1
  • 3
  • 7
0
votes
1 answer

child window redirecting

I am developing a site in asp.net & c#. I am not very familiar with javaScript but I'm using a little bit for some things. In order to create a pop up window I used the following javaScript code: