Note that there are some explanatory texts on larger screens.

plurals
  1. POsilverlight how to remove the abstract definition from the UserControl declaration
    primarykey
    data
    text
    <p>I have SilverLight USercontrol and while Opening its design Part ,I am Getting this Error </p> <pre><code>Cannot create an instance of "DialogBase". at Microsoft.Expression.DesignModel.Core.InstanceBuilderOperations.InstantiateType(Type type, Boolean supportInternal, Boolean supportProtected) at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.InstantiateTargetType(IInstanceBuilderContext context, ViewNode viewNode) at Microsoft.Expression.DesignModel.InstanceBuilders.ClrObjectInstanceBuilder.Instantiate(IInstanceBuilderContext context, ViewNode viewNode) at Microsoft.Expression.Platform.Silverlight.InstanceBuilders.DependencyObjectInstanceBuilder.Instantiate(IInstanceBuilderContext context, ViewNode viewNode) at Microsoft.Expression.Platform.Silverlight.InstanceBuilders.FrameworkElementInstanceBuilder.Instantiate(IInstanceBuilderContext context, ViewNode viewNode) at MS.Internal.Services.DesignModeValueProviderService.DesignModeValueProviderBuilder.Instantiate(IInstanceBuilderContext context, ViewNode viewNode) at Microsoft.Expression.DesignModel.Core.ViewNodeManager.Instantiate(ViewNode viewNode) </code></pre> <p>I am getting suggestion that For this, we have to remove the "abstract" definition from the UserControl declaration</p> <p>my xaml file is </p> <pre><code>&lt;cc:DialogBase x:Class="LMS.Client.View.FindLeadDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:cc="clr-namespace:LMS.Client.View;assembly=LMS.Client.Common" xmlns:interaction="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:commanding="clr-namespace:LMS.Client.Commanding;assembly=LMS.Client.Common" xmlns:control="clr-namespace:LMS.Client.Controls;assembly=LMS.Client.Common" xmlns:vc="clr-namespace:LMS.Client.Controls" xmlns:viewModel="clr-namespace:LMS.Client.Model;assembly=LMS.Client.Model" KeyDown="DialogBase_KeyDown" FontSize="10" Title="Find Leads"&gt; ......... &lt;/cc:DialogBase&gt; </code></pre> <p>cs File is this :</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using System.Windows.Data; namespace LMS.Client.View { public partial class FindLeadDialog { public FindLeadDialog() { InitializeComponent(); } ..... } } </code></pre> <p>Please Guide me where to remove tha abstract Definition form the User Control </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload