locked
Editing template causes ImageBut to lose functionality in Expressi (Richard_Mutschler) - 3/27/2006 1:42 AM PST RRS feed

  • Question

  • By: Richard_Mutschler

    Hi together,
    I`m getting started in EID March CDP and I tried to do the ImageButton 
    tutorial but there are some problems I cant solve:
    When I finished editing the template a alert message "'ImageButton' 
    ControlTemplate TargetType does not match templated type 'ImageButton'".
    I can build the project without errors, and when I start a test run, the 
    ImageButton is shown with correct Image, but without function (i.e. focus...).
    Am I doing anithing wrong, or is it a bug.
    
    Monday, February 18, 2008 10:27 PM

Answers

  • By: Unni Ravindranathan (MS)

    Hi Thomas and Richard,

    This is a known issue in the March CTP. The template editing feature took a
    step backwards because of some WPF changes - however, this issue will be
    address in the next CTP.

    From the readme: "Building a project after editing the template of a custom
    control causes issues that may block you from editing in Design view. This
    will likely require you to quit Expression Interactive Designer and then
    start it again."

    Our apologies for the incovenience - you should see this issue only with
    custom types that you define - editing templates for WPF controls should
    work fine.

    Thanks,
    -Unni

    "Thomas Mueller" <_info@tom-mue.de> wrote in message
    news:e7$ZhWkVGHA.4308@TK2MSFTNGP12.phx.gbl...
    > Hello NG,
    >
    > i have the same problem with this sample from "interactive designer
    > tutorials".
    >
    > OK, when i create the image button, i have no problems. In the last step,
    > when i run the build- process, the image button self crashed. The image
    > button has now a red rectangle. inside the button is the message:
    >
    > " 'ImageButton' ControlTemplate TargetType dose not match templated type
    > 'ImageButton' ".
    >
    > When i run the Project, the Image Button is visible.
    >
    > Here 4 Sceen shots from my work:
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterEdittemplate.png
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AddSource.png
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterBuildProject.png
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AppRun.png
    >
    >
    > THX
    >
    > TOM_MUE
    > www.tom-mue.de
    >
    >
    >
    >
    > "Richard_Mutschler" <RichardMutschler@discussions.microsoft.com> wrote in
    > message news:94511D80-E8D3-4110-9A2E-C1DA87C9D4B7@microsoft.com...
    >> Hi together,
    >> I`m getting started in EID March CDP and I tried to do the ImageButton
    >> tutorial but there are some problems I cant solve:
    >> When I finished editing the template a alert message "'ImageButton'
    >> ControlTemplate TargetType does not match templated type 'ImageButton'".
    >> I can build the project without errors, and when I start a test run, the
    >> ImageButton is shown with correct Image, but without function (i.e.
    >> focus...).
    >> Am I doing anithing wrong, or is it a bug.
    >>
    >
    >

    Tuesday, February 19, 2008 5:38 PM

All replies

  • By: Jonathan Satcher [MSFT]

    Richard,

    Are you referring to the "Make a button" page from the help files? If so,
    please provide a quick list of the steps you took to produce the error; this
    will make it easier to determine the cause. For example, "Step 3: Set key
    to ImageButton and left Define in and Target Type as default." Thanks!

    Jonathan [MSFT]
    ----------
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Please do not send e-mail directly to this alias. This alias is for
    newsgroup purposes only.


    "Richard_Mutschler" <RichardMutschler@discussions.microsoft.com> wrote in
    message news:94511D80-E8D3-4110-9A2E-C1DA87C9D4B7@microsoft.com...
    > Hi together,
    > I`m getting started in EID March CDP and I tried to do the ImageButton
    > tutorial but there are some problems I cant solve:
    > When I finished editing the template a alert message "'ImageButton'
    > ControlTemplate TargetType does not match templated type 'ImageButton'".
    > I can build the project without errors, and when I start a test run, the
    > ImageButton is shown with correct Image, but without function (i.e.
    > focus...).
    > Am I doing anithing wrong, or is it a bug.
    Tuesday, February 19, 2008 5:38 PM
  • By: Thomas Mueller

    Hello NG,

    i have the same problem with this sample from "interactive designer
    tutorials".

    OK, when i create the image button, i have no problems. In the last step,
    when i run the build- process, the image button self crashed. The image
    button has now a red rectangle. inside the button is the message:

    " 'ImageButton' ControlTemplate TargetType dose not match templated type
    'ImageButton' ".

    When i run the Project, the Image Button is visible.

    Here 4 Sceen shots from my work:

    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterEdittemplate.png

    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AddSource.png

    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterBuildProject.png

    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AppRun.png


    THX

    TOM_MUE
    www.tom-mue.de




    "Richard_Mutschler" <RichardMutschler@discussions.microsoft.com> wrote in
    message news:94511D80-E8D3-4110-9A2E-C1DA87C9D4B7@microsoft.com...
    > Hi together,
    > I`m getting started in EID March CDP and I tried to do the ImageButton
    > tutorial but there are some problems I cant solve:
    > When I finished editing the template a alert message "'ImageButton'
    > ControlTemplate TargetType does not match templated type 'ImageButton'".
    > I can build the project without errors, and when I start a test run, the
    > ImageButton is shown with correct Image, but without function (i.e.
    > focus...).
    > Am I doing anithing wrong, or is it a bug.
    >

    Tuesday, February 19, 2008 5:38 PM
  • By: Unni Ravindranathan (MS)

    Hi Thomas and Richard,

    This is a known issue in the March CTP. The template editing feature took a
    step backwards because of some WPF changes - however, this issue will be
    address in the next CTP.

    From the readme: "Building a project after editing the template of a custom
    control causes issues that may block you from editing in Design view. This
    will likely require you to quit Expression Interactive Designer and then
    start it again."

    Our apologies for the incovenience - you should see this issue only with
    custom types that you define - editing templates for WPF controls should
    work fine.

    Thanks,
    -Unni

    "Thomas Mueller" <_info@tom-mue.de> wrote in message
    news:e7$ZhWkVGHA.4308@TK2MSFTNGP12.phx.gbl...
    > Hello NG,
    >
    > i have the same problem with this sample from "interactive designer
    > tutorials".
    >
    > OK, when i create the image button, i have no problems. In the last step,
    > when i run the build- process, the image button self crashed. The image
    > button has now a red rectangle. inside the button is the message:
    >
    > " 'ImageButton' ControlTemplate TargetType dose not match templated type
    > 'ImageButton' ".
    >
    > When i run the Project, the Image Button is visible.
    >
    > Here 4 Sceen shots from my work:
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterEdittemplate.png
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AddSource.png
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterBuildProject.png
    >
    >
    http://www.tom-mue.de/images/tools/wpf/eid/bugs/AppRun.png
    >
    >
    > THX
    >
    > TOM_MUE
    > www.tom-mue.de
    >
    >
    >
    >
    > "Richard_Mutschler" <RichardMutschler@discussions.microsoft.com> wrote in
    > message news:94511D80-E8D3-4110-9A2E-C1DA87C9D4B7@microsoft.com...
    >> Hi together,
    >> I`m getting started in EID March CDP and I tried to do the ImageButton
    >> tutorial but there are some problems I cant solve:
    >> When I finished editing the template a alert message "'ImageButton'
    >> ControlTemplate TargetType does not match templated type 'ImageButton'".
    >> I can build the project without errors, and when I start a test run, the
    >> ImageButton is shown with correct Image, but without function (i.e.
    >> focus...).
    >> Am I doing anithing wrong, or is it a bug.
    >>
    >
    >

    Tuesday, February 19, 2008 5:38 PM
  • By: Richard_Mutschler

    Thanks for your help :-)
    
    "Unni Ravindranathan (MS)" wrote:
    
    > Hi Thomas and Richard,
    > 
    > This is a known issue in the March CTP. The template editing feature took a 
    > step backwards because of some WPF changes - however, this issue will be 
    > address in the next CTP.
    > 
    > From the readme: "Building a project after editing the template of a custom 
    > control causes issues that may block you from editing in Design view. This 
    > will likely require you to quit Expression Interactive Designer and then 
    > start it again."
    > 
    > Our apologies for the incovenience - you should see this issue only with 
    > custom types that you define - editing templates for WPF controls should 
    > work fine.
    > 
    > Thanks,
    > -Unni
    > 
    > "Thomas Mueller" <_info@tom-mue.de> wrote in message 
    > news:e7$ZhWkVGHA.4308@TK2MSFTNGP12.phx.gbl...
    > > Hello NG,
    > >
    > > i have the same problem with this sample from "interactive designer 
    > > tutorials".
    > >
    > > OK, when i create the image button, i have no problems. In the last step, 
    > > when i run the build- process, the image button self crashed. The image 
    > > button has now a red rectangle. inside the button is the message:
    > >
    > > " 'ImageButton' ControlTemplate TargetType dose not match templated type 
    > > 'ImageButton' ".
    > >
    > > When i run the Project, the Image Button is visible.
    > >
    > > Here 4 Sceen shots from my work:
    > >
    > > http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterEdittemplate.png
    > >
    > > http://www.tom-mue.de/images/tools/wpf/eid/bugs/AddSource.png
    > >
    > > http://www.tom-mue.de/images/tools/wpf/eid/bugs/AfterBuildProject.png
    > >
    > > http://www.tom-mue.de/images/tools/wpf/eid/bugs/AppRun.png
    > >
    > >
    > > THX
    > >
    > > TOM_MUE
    > > www.tom-mue.de
    > >
    > >
    > >
    > >
    > > "Richard_Mutschler" <RichardMutschler@discussions.microsoft.com> wrote in 
    > > message news:94511D80-E8D3-4110-9A2E-C1DA87C9D4B7@microsoft.com...
    > >> Hi together,
    > >> I`m getting started in EID March CDP and I tried to do the ImageButton
    > >> tutorial but there are some problems I cant solve:
    > >> When I finished editing the template a alert message "'ImageButton'
    > >> ControlTemplate TargetType does not match templated type 'ImageButton'".
    > >> I can build the project without errors, and when I start a test run, the
    > >> ImageButton is shown with correct Image, but without function (i.e. 
    > >> focus...).
    > >> Am I doing anithing wrong, or is it a bug.
    > >>
    > >
    > > 
    > 
    > 
    > 
    Tuesday, February 19, 2008 5:40 PM