How to change logical parent

My requirement: My window should display four user controls and when user double clicks on one of the control it should maximize and be shown and it goes back to its position when double clicked again. Double click on any control hides other controls from
the view.
My approach: Main windows has a top grid which contains two sub grids(only one visible at a time). One of the sub grid displays all the user controls. when double clicked on any control I take that control and stuff it into the other grid and make the first
grid hide. So I hide/show grids based on the maximized state.
Problem: I get the exception "Specified element is already the logical child of another element. Disconnect it first" when I try to add that user control to the invisible sub grid. The call is MyGrid.Children,.Add(element).
Question: Is the approach OK? If yes, what should I do this? Should I use ItemControls?
Thanks.

You need to 
OldParent.Children.Remove(YourControl);
before you
NewdParent.Children.Add(YourControl);
A visual can only have one parent.
http://social.technet.microsoft.com/wiki/contents/articles/29964.aspx
Hope that helps.
Technet articles: Uneventful MVVM;
All my Technet Articles

Similar Messages

  • How to change logical system name

    hi,
    there is no logical system name for business system in sld on integration tab.
    this bus sys is based on tech sys which is configured as integration server.
    plz tell me how to give the logical sys name there.
    plz reply me it is urgent.
    vijender

    Jochen Gugel wrote:
    > Hi @ll;
    >
    > at the tab in technical system the logical system name was correct.
    > But it wasn´t shown at the integration tab of the business system.
    > I solved this problem by deselecting the integration server, save this settings and reselect it afterwards.
    >
    > Kind regards
    > Jochen
    hello all,
    I'm actually having the same issue.  This issue is NOT the popular adapter-specific identifier problem where the business system in the ID needs to be compared with the SLD.  This issue is that the within the SLD on PI 7.0 the Logical System Name of a given business system is not present although the logical system name of the specified technical system does appear.  You cannot change the LSN of the business system since it relies completely on the LSN of the associated technical system.
    I used Jochen's approach before and it worked, but i've tried this again since i'm having the same issue.  Only now it doesn't work.
      i solved this issue by deleting the old BS and recreating it
    Thanks,
    Edited by: Jason Ray on Jun 24, 2008 5:47 PM

  • How to change logical device names

    Hi, I would like to change the logical device names for an external StorEdge. Booting into single user mode from a CD and deleting everything in /dev/dsk/ and /dev/rdsk/ as well as the path_to_inst file and then reconfigure booting doesn't work. Solaris remembers which physical device name was allocated to which logical device name. Haven't been able to find any info on how Solaris remembers this. I've thought of booting into init S from CD and renaming the logical device names but I would like to rename them to the next available controller which is c3 and which is probably already "reserved" for the unused onboard SCSI controller. Does anybody have any info on this ?

    somewhere there is a page..
    Sure !
    Device Paths of Ultra [TM] 5, 10, 30, 60, 80,Sun Fire[TM](V)250, V210,V240,V440,V480,V880,V1280,Sun Blade[ TM] 100, 150, 1000, 1500, 2000, Netra[TM],Dual pci scsi card
    A little bit dated, but free...
    Michael

  • How to change logical operator

    Hi
    I am trying to determine Employee Responsible(ER) based on territory attributes. Determination should work on 4 attributes as Country,Region,Postal Code and Prod cat. But i could find that first 3 attributes(Country,Region,Postal Code) are grouped together by "And" operator but Prod cat is by"OR" operator.
    So in a way for correctly determined ER based in this order Prod Cat.,Cty,REGN,PCDE. How we can chnage the logical operator or grp togther these attribute so they are connected by "and" operator and as a set is evaluated in transaction to determine the correct Employee Responsible when prod. is entered.
    thanks
    chap

    Hello ,
    We too are facing the same problem of using the logical operator.
    We want to use ' "Country" AND "Product Hier/Cat" '  but can only use OR instead.
    Please advice.
    Rgds,
    Ak-

  • How to change or rename the logical system name T90CLNT090 IN BI 7

    HI Expert's,
    i am really digging for the solution of changing or renaming the logical system name technical name T90CLNT090.
    in our company we are using ecc5.0 with bi 3.5 and ecc6 with bi 7. In BW 3.5 having a connection with R/3 and the technical name of the myself bw source system(logical system) is T90CLNT090.
    In bi 7 also the logical system name is same as T90CLNT090. Because of the same system name(Logical name) it is not active in BI7 and also it's giving error when i am activating the DSO Object as Transfer structure prefix for source system T90CLNT090 is not defined.
    because of this i am not able to create the source system between r/3 also.
    so how to change this source system name for T90CLNT090.
    regards
    harikrishna N

    Hi,
    Pls follow this OSS note : 325525.
    Note 325525 - Copying and renaming systems in a BW environment
    Summary
    Symptom WARNING: THIS NOTE HAS BEEN REPLACED.  FOR MORE CURRENT AND MORE COMPREHENSIVE INFORMATION SEE NEW NOTE 886102.
    You want to copy and or rename one or more systems (database or client copy). One or more of the systems is a BW system or is connected to a BW system.
    Caution: This note only deals with problems that occur in the BW source system connections. Other problems that occur in the BW environment (indexes) are NOT dealt with. See URL http://www.service.sap.com/bw --> Services & Implementation --> System copy & Migration.
    Other terms BW, source system, OLTP, database copy, client copy, system infrastructure, transport system, connections, RFC connection, trfc, transfer structure, IDoc, ALE customizing, logical system name, system changeability, renaming systems, system copy
    Solution Several scenarios are possible in this environment. Find the scenario relevant to your situation below and execute the steps listed or read the note(s) specified:
    Scenario 1) You do not want to copy a system but only want to rename one (changing a logical system name).
               Solution scenario 1): Execute Transaction BDLS both in the client to be renamed and in the connected BWs or BW source systems. To do this, see Notes 121163 and 369758.
               Check the RFC destinations in all connected BWs/BW source systems as described in Note 524554.
               Reactivate all partner agreements that carry the new logical system name after renaming.
    Scenario 2) You want to copy the entire system infrastructure connected by the BW source system connections (that means the entire system group) by a database copy. SAP recommends this procedure for copying systems.
               Solution scenario 2):
    If you want to rename one or more of the copied systems, then execute Transaction BDLS both in the client you wish to rename and in all the connected BW and BW source systems. See Note 121163.
                        Make sure that an RFC destination exists with the new logical name in every connected BW or BW source system.
                        Reactivate all partner agreements that carry the new logical system name after renaming.
    Change the hosts in the appropriate RFC destinations so that they refer to the correct computer. For this, see Note 524554.
    Scenario 3) You want to copy a single BW system of the group by database copy.
    Scenario 3)a) You only want to exchange the hardware of your system but do not want to rename the system.
                         Solution scenario 3)a): You do not need to execute follow-up work regarding the system connections, except for adjusting the IP address in the RFC destinations of the connected system.
    Scenario 3)b) You want to keep the original system of the copy so that you have two systems after copying.
                         Solution scenario 3)b): See Note 184754.
    Scenario 4) You want to copy a single source system of the group by database copy.
    Scenario 4)a) You only want to exchange the hardware of your system but do not want to rename the system.
                         Solution scenario 4)a): You do not need to execute follow-up work regarding the system connections, except for adjusting the IP address in the RFC destinations of the connected system.
    Scenario 4)b) You want to keep the original system of the copy so that you have two systems after copying.
               Solution scenario 4)b): See Note 184322.
    Scenario 5) You want to import a client copy in a source system.
               Solution scenario 5): See Note 325470.
    Thanks & Regards,
    Suchitra.V

  • How to change name of a logical system

    Hi SDN,
                 I am trying to customizing intial download data transfer from ECC to CRM. But in outbound queue of ECC it is showing an error of SYSFAIL with description of logical system name changed. Given note 558701.
    But I don't know old name of logical system.
    1) Can you guys please help how to find the old logical system name there are many logical systems defined in my system.
    2) and how to change it?

    Hi Ravi,
    Since logical system name is changed sombody in past must have ran BDLS to conver logical system name.
    Check tcode SLG1, this tcode will tell you whether there were any logical system conversion done in Past, if it is done then it will tell you from which old logical system its converted to new one. So you can find out old logical system name.
    Once you find out old logical system run BDLS again. It might possible BDLS ran unsuccessfully last time.

  • How to change language in Logic Studio?

    My MacBook is Mac OS X 10.5.6, the system language is Traditional Chinese,
    I want to fill English in my Logic Studio, even though I choose the English when filling software,
    Logic Studio still run Simplified Chinese,
    How to change language for Logic Studio,
    May I have any master help me, Please.
    Thank you.

    Try this.
    Quit Logic
    Open System Preferences
    Click International
    Click Language tab
    Drag English to top of list
    Quit Sys Pref
    Open Logic
    JG

  • How to change password for parental controls

    how to change password for parental control on macbook pro

    If you can't remember your current password then you should be able to get it reset via this page : http://iforgot.apple.com
    If you know your current password then on your phone you can try tapping on your id in Settings > Store and you might be able to change it on your account's screen, or on your computer's iTunes you can log into your account via the Store > View Account menu option and change it on there

  • How to change key of a song recorded in Logic Express 8.0?

    I'm learning how to use Logic Express 8.0 and have recorded a song using software instruments only. I recorded the song in the key of C. Is there a way I can use Logic to make the song play in D?

    There are several ways to change the pitch of song.
    The simpler is to open the project global properties and change the key there.
    The second could be to select track by track and changing the transpose parameter into the left top inspector.
    The third is to open each track into the piano roll editor, select all notes and move them up or down.
    cheers
    rob

  • Why and how we use Logical Database?

    Can anybody explain with example why and how we use logical database?
    Regards,
    Rajan

    Hello,
    SAP comes loaded with all the extras. Among the extras that are most helpful to IT managers are all the access routines needed to pull any business object that managers can think of out of SAP databases. However, SAP has not thought of everything where your particular applications are concerned. SAP organizes its standard database tables to service business units based on conventional business applications. Itu2019s likely your business requires something new, perhaps even something exotic. In that case, you will need to create a new database, using information from different places. Basically, you need a logical database. You need to create a virtual business data object repository consisting of a new kind of record or table that suits your purposes. In addition, the repository should be composed of information that is actually stored in a number of different locations, none of them necessarily logically associated with one another. Letu2019s take a closer look at creating logical databases.
    A case for a logical database
    Suppose my company manufactures widgets of the most obscure variety, and they are components of other widgets. I sell my widgets as raw material for the more sophisticated widgets built by others, but in some cases I actually partner with other manufacturers in creating yet another class of widget. Now, in my world, I consequently have customers who are also partners. I sell to them and I partner with them in manufacturing and distribution. Also, I need an application that uses both of these dual-use relationships.
    Essentially, I have a customer database and a partner database. Neither contains records that are structured to contain the identifying particulars of the other. Thus, I need a hybrid database that gives me tables detailing these hybrid relationships. What can I do? I can go the long way around and write a new database, pulling information from both and creating new objects with a customized program that I write by hand. However, this process is cumbersome and contains maintenance issues. On the other hand, I can use SAPu2019s logical database facility, create my logical database in a couple of minutes, and have no maintenance issues at all.
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    u2022     Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    u2022     Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    u2022     Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1.     Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2.     Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3.     Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4.     Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Regards
    Arindam

  • How to change the default text title of Detached table/treetable

    Hi,
    Is anybody know How to change the default text title of Detached table/treetable.
    I have already read the post on "http://vtkrishn.com/2010/07/28/how-to-change-the-default-text-title-of-detached-tabletreetable/"
    as per this post It will change the title throughout the application.
    I wanted to change only for one particular table.
    Thanks,
    Charu
    Edited by: Charu on Sep 13, 2012 4:14 AM

    Hi,
    please don't double post and instead continue with your original threat. In the previous post you got the correct answer to use skinning. You did not like the solution as it doesn't allow per-instance titles. I agree with this and a logical consequence is to file an enhancement request instead of re-posting the question. I'll file the ER, so no need to follow up for you anymore
    Frank

  • How to change my password and my incoming and outgoing mail servers

    Hi I have used Outlook Express for years and I know how to configure "everything" I need within the settings pages because their settings pages are all "logical" with everything out in the open.
    However, Thunderbird "hides" their settings behind buttons and confusing screens.
    There are many tutorials that explain how to set up Thunderbird from the beginning, and show how to set up a new email account. But I have not been able to find a tutorial on how to change my email account password "after" I have been using Thunderbird for awhile.
    I also see no way to change the incoming and outgoing servers. For example, I have changed from one hosting company to another hosting company and I need to use the new mail servers from the new hosting company and I do not see any tutorials anyplace that cover ongoing or day-to-day activities with Thunderbird.
    Can you please change your settings screens to make Thunderbird easier for new people to find these normal and necessary items?
    Also can you please point me to a tutorial that shows me how to change my email account password and change my incoming and outgoing servers?
    Thanks so much!
    Edward

    If you wan to create an account, you must the delete the existing account.
    So take backup of your emails if your using POP3
    Two ways you can do it
    *Copy all the emails to Local folder
    *Back up your Mail folder from your profile
    For more
    *http://mozbackup.jasnapaka.com/
    *http://www.wikihow.com/Back-Up-Email-Files-in-Mozilla-Thunderbird
    *http://www.auralsolutions.com/2012/12/how-to-backup-thunderbird-data-emails-and-contacts/
    *http://email.about.com/od/mozillathunderbirdtips/qt/et_backup_prof.htm

  • How to change chords & keys for loops?

    Hey, guys! I'm a total newbie, so I was hoping someone could give me "step-by-step" instructions for how to do this.... I am creating a song using one of the blue acoustic guitar loops in Logic Pro 9 & I have the option to "Play in" any chord/key imaginable when I am listening to the various loops... However, when I drag the loop over to the work area, it reverts back to the original key & I have no idea how to change it to the preferred key. I want to use this same loop throughout the song, but I need to be able to change the key several times in order to create my own chord progressions.... Any idea how I can make this happen? Thanks!!!!

    May I dare to tell you the magic four letters?
    But to give you a hint: learn how to configure global tracks, activate the chord track and look if you find the epic answer there
    Fox

  • How to change the characteristics of a Batch

    Dear All,
    We have maintained a batch sort sequence based on Batch Manufacturing date.
    But now customer wants the batch to be sorted out based on Batch Number.
    How to change the Characteristics from Batch Manufacturing date and Batch Number?
    Please do suggest.
    For example, we have two characteristics assigned to the Class One is Manufacturing date and another is Batch Number.
    How system will sort out a batch based on these two logic.
    Kindly explain.
    Regards,
    Mullairaja

    Hi Mullai,
    I hope you know what do you mean by "Dependencies" in variant configuration. These are created for automatic update of characteristic values.  If you want to delete the characteristic from the class, please do teh following.
    1. Find out that there are any dependencies assigned to this characteristic. If so remove the assignment
    2. Then you have to check if this characteristic is used in any dependency in the code. If so, find the implications of the same.
    In case, you dont know what is dependency, may be they are not used in your project. In this case, you can just remove the characteristic from the class.
    It has got one effect.
    At present, a configured batch will have this characteristic. If you go to the batch master in change mode, then the old classification will be replaced by the new classification. So the deleted characteristics will not be available to you anymore. I hope that is fine with you. If this is fine, then you dont need to worry about removing the characteristic from the class.

  • How to change the message in CUCM 7.0 " Your Current Options"

    Dear All
    can any body help me or assist me to type my own message at the botom of the phones by default its your current options but i tried to much to change it or find any way to change and i failed.
    in Call Manager express it was easy to change just at the cli you type "system message Hello this is your IP Phone" but at the CUCM 7.0 i dont know how to change this and solve this problem so can any body tell me how to change this message please its needed 100% for me
    i have atached the picture that where the message cames so you people can see it.
    with regards
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    Waisudin Farzam ویس الدین فرزام                           
    Project National IT Specialist            متخصص ملی تکنالوژی معلوماتی          
    Sustainable Development of Natural Resources Project
    IDA Grant No: H238-AF
    Program Management Unit (PMU)
    Afghanistan Geological Survey (AGS) Annex Building, Ministry of Mines,
    Kabul, Afghanistan
    AWCC Cell Phone:                              0093 - 700 - 29 60 62
    MTN Cell Phone:                                   0093 - 777 - 29 60 62
    E-Mail Address:                                     [email protected]
    E-Mail Address:                                     [email protected]
    E-Mail Address:                                     [email protected]
    Skype ID:                                               wais.farzam
    MSN ID:                                                  [email protected]

    You cannot change it, in CCM it was possible due to it being Windows and you had access to all the files.
    CUCM does not grant access to the necessary files for this unless you have root access and it's not granted for purposes other than troubleshooting or to apply a workaround from a bug.
    HTH
    java
    If this helps, please rate
    www.cisco.com/go/pdihelpdesk

Maybe you are looking for

  • IMac no longer sees mouse or keyboard

    Re; pre airplay iMac/Mavericks. Firstly, computer wouldn't wake from sleep when I tapped the mouse. Thought there had been a power interruption, so I touched the power button on the back. Computer awoke, but displayed a message that Bluetooth keyboar

  • FI Archiving - System error: Customer/vendor line item not on OI basis

    While archiving FI Documetns using object FI_Documnt, I am getting message System error: Customer/vendor line item not on OI basis for few non archivable documents. Is it like these also open items and can not be able to archive them. Or what is the

  • Dynamic sortation of objects in a document

    I am designing a project management solution and i am not sure if the functionaility is natively built in to do what i want or if we need to hire a developer to use scripting ui. I created a project management document that is more pleasing to the ey

  • Connecting to SQL database via an application deployed in Tomcat

    Hi, When the SQL database is restarted, the connection of the web application gets lost and the tomcat has to be restarted manually in order to reset connection with the database. Please let me know if there is a way by which the connection can be re

  • Specifying log file as jvm argument not working

    I've long used the java.util.logging by having a logging.properties file and specifying the "java.util.logging.FileHandler.pattern" in that file and specifying the location of the logging.properties as a jmv arg (-Djava.util.logging.config.file=loggi