Design time issues

hi,
i have some problems displaying my usercontrols with EF6 in design time
first i had a connectionstring not found exception, so after some search i modified the dbcontext constructor to change connectionstring dynamically like this
public partial class CardioEFEntities : DbContext
public CardioEFEntities(String connString)
: base(connString)
string p = "metadata=res://*/CardioEFModel.csdl|res://*/CardioEFModel.ssdl|res://*/CardioEFModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string='character set=ISO8859_1;data source=localhost;initial catalog=C:\\Dev\\WPF\\Projects\\Cardio\\CARDIO.FDB;user id=SYSDBA;password=masterkey'";
p = p.Replace("localhost", arr[0]);
p = p.Replace("C:\\Dev\\WPF\\Projects\\Cardio\\CARDIO.FDB", arr[1]);
context = new CardioEFEntities(p);
now i have a blank empty page instead of the exception !
i would say that everything work at runtime fine but not in design time,
also i have my DAL in a separate class library project .
any help is welcome
thanks and goo day !

Hi,
yes i have installed EF and db provider both in my application and in my DAL project
here the app.config of my app
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
<entityFramework>
<defaultConnectionFactory type="FirebirdSql.Data.EntityFramework6.FbConnectionFactory, EntityFramework.Firebird" />
<providers>
<provider invariantName="FirebirdSql.Data.FirebirdClient" type="FirebirdSql.Data.EntityFramework6.FbProviderServices, EntityFramework.Firebird" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<connectionStrings>
<add name="CardioEntities" connectionString="metadata=res://*/CardioModel.csdl|res://*/CardioModel.ssdl|res://*/CardioModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
<add name="CardioEFEntities" connectionString="metadata=res://*/CardioEFModel.csdl|res://*/CardioEFModel.ssdl|res://*/CardioEFModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
<system.data>
<DbProviderFactories>
<remove invariant="FirebirdSql.Data.FirebirdClient" />
<add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient" />
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
</DbProviderFactories>
</system.data>
<appSettings>
<add key="AWSAccessKey" value="" />
<add key="AWSSecretKey" value="" />
</appSettings></configuration>
and the app.config of my DAL project
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<entityFramework>
<defaultConnectionFactory type="FirebirdSql.Data.EntityFramework6.FbConnectionFactory, EntityFramework.Firebird" />
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="FirebirdSql.Data.FirebirdClient" type="FirebirdSql.Data.EntityFramework6.FbProviderServices, EntityFramework.Firebird" />
</providers>
</entityFramework>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.data>
<DbProviderFactories>
<remove invariant="FirebirdSql.Data.FirebirdClient" />
<add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient" />
</DbProviderFactories>
</system.data>
<connectionStrings>
<add name="CardioEntities" connectionString="metadata=res://*/CardioModel.csdl|res://*/CardioModel.ssdl|res://*/CardioModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
<add name="CardioEFEntities" connectionString="metadata=res://*/CardioEFModel.csdl|res://*/CardioEFModel.ssdl|res://*/CardioEFModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>
now i have again this error
System.Data.Entity.Core.MetadataException
Schema specified is not valid. Errors:
CardioEFModel.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'FirebirdSql.Data.FirebirdClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
btw in my code i have a class that implement INotifyPropertyChanged wich get the data from database,
in my usercontrol i have a reference for that class like this
<UserControl.Resources>
<local:ListeConsViewModel x:Key="ListeConsViewModel"/>
</UserControl.Resources>
<UserControl.DataContext>
<local:ListeConsViewModel />
</UserControl.DataContext>
thanks for your help

Similar Messages

  • JSF Design Time View Not working correctly for ADF/JSF components

    My project is not using any external tag libraries. It is based purely on ADF core/html and JSF core/html components. The design time view does not show the appropriate presentation, everything is shown as nexted frame containers (I suppose how you would show a component that does not have a visual representation).
    If I create a new project and copy my jsp (jsf) pages over they show perfectly. I did this activity and all was going well in the new project and then I lost the design time view again. I cannot tell you what I did to cause the issue, maybe it was a modification to the web.xml as has been suggested in some other threads. Can anyone tell me what I should be looking for that causes this problem, what corrective actions I might take to eliminate the issues

    Ok I have isolated this issue. In my phase listener I had this line of code:
    private static final Logger _logger =  Logger.getLogger(EigRequest.class.getPackage().getName());
    and I changed it to
    private static final Logger _logger =
    Logger.getLogger(EigRequest.class.getName());
    and design mode started to work. I guess either of the above works for me although I do not understand why the line works when you run the application but not in design mode.
    Moral to the story is if something fails in any one of these types of decorators you will drop into a raw view mode. The question I have is if errors are occuring how do I figure out where they may be. There is no indication that anything is wrong with the exception that you lose most of the design mode functionality.
    This was not a compile issue, this was not a runtime issue. It took me quite a few hours of writing a test program to validate that it was not just writing a phase-listener issue; then launching, editing, relaunching the application to find the problem. I will say that a good portion of the code came from a Eclipse project. If you add the offending lines of code while using JDeveloper you do not loose design mode immediately. You only see the problem the next time you start JDeveloper which complicates finding the problem.

  • Does changing report connection at runtime require the same user/pwd used at design time?

    I've recently integrated Crystal 13 into a web service to provide HTML reports served up within our web application.  Sometimes reports would work and other times they would fail when attempting to connect to the database.  The ConnectionInfo associated with the tables referenced in the reports bore the account info used at design time (in the Crystal IDE), what ever connection was set as the Datasource Location, this would include the server name, database name, and other attributes of the connection.
    I found that any changes I make to table, sub-report connection info have no affect unless the UserID and Password match the UserID and Password saved with the report during design time.  While generally searching online, I came across several references to this being and issue or suggestion when database connection problems dynamically running reports.
    If this is by design?
    How would I support customers who want to use my reports, but also require that they manage the db access accounts?
    Thanks,
    Jeff

    Hi Brian, thanks for the response. 
    It does make sense that subreports would not necessarily be constrained to the same connection as the container report, and the designer would not persist a password for any stored connection.
    I'm on Windows 7 and up, Crystal 13 runtime, C# web service, sql 2008 r2 and up (native client).
    After loading the report source, I call ReportDocument.SetDatabaseLogon to set userId, password, serverName, and databaseName pulled from web.config.  I then pass the connection info and the ReportDocument to a recursive call that applies the connection info to each table in the report and each table in any subreport.
    Based on your description, it sounds like I may be missing, and require, the SetDatabaseLogon call on each subreport (ReportDocument).
    This seems to ring true and I think coincides with your description.  Would you agree?
    Thanks,
    Jeff

  • ADF 12c Rendering Problems at design time

    Hi all,
    I am experimenting the following unexpected rendering problems at Design time with JDEV 12c:
    -  Sometimes a complete page is showed empty or blank but the components exists on the page (you can see them in the structure panel) and the page has no warnings.
    -  Sometimes I cannot click a component because it is behind the container.
    -  Sometimes the containers are rendered in other place on the page.
    -  Sometimes the containers not stretching
    I remember some posts about this problem in 11.1.2.x but I think it was not fixed in 12c. For this reason, I have some questions:
    What is the "real" memory requirement  of Jdev 12c to avoid render problems?
    What is the best configuration in jdev.conf?
    Is it only a memory issue or Is it also a dependency reference problem? According to a blog post of Frank Nimphius:
    Though with Oracle JDeveloper 11g the problem of the IDE not rendering JSF pages properly in the visual editor has become rare, there always is a way for the creative to break IDE functionality. A possible reason for the visual editor in JDeveloper to break is a failed dependency reference, which often is in a custom JSF PhaseListener configured in the faces-config.xml file. To avoid this from happening, surround the code in your PhaseListener class with the following statement (for example in the afterPhase method)
    public void afterPhase(PhaseEvent phaseEvent) {   if(!ADFContext.getCurrent().isDesigntime()){ ... listener code here ... } }
    The reason why the visual editor in Oracle JDeveloper fails rendering the WYSIWYG view has to do with how the live preview is created. To produce the visual display of a view, JDeveloper actually runs the ADF Faces view in JSF, which then also invokes defined PhaseListeners. With the code above, you check whether the PhaseListener code is executed at runtime or design time.If it is executed in design time, you ignore all calls to external resources that are not available at design time.
    source:
    https://blogs.oracle.com/jdevotnharvest/entry/when_jdeveloper_ide_doesn_t
    if it is a known problem, then Why is not fixed in 12c?
    Jhon
    Jdev 12c

    Jhon, what Frank mentioned can't be fixed from the outside. You or the developers who use phase listens without thinking about the design view are the ones to fix this. Frank provided you with the solution for this.
    However, we don't know if you use any self written phase listener. If you don't do this you have another problem. I do see some of your symptoms but can't reproduce them at the moment. As long as we can't reproduce the problem somehow it's difficult to to get a solution.
    My advise is to keep your eyes open (add I do) and whenever you can reproduce this behaviour come back and tell us about it. It's hard or impossible to give the 'best' settings for Jdev.conf as they depend on other factors e.g. operating system, memory, other applications running at the same time and many more.
    Personally I don't change the parameters as long as I can't put the problems to low memory (which I can't at the moment).
    Timo

  • Incorrect results with design-time artifacts

    Hi,
    Problem description:
    After creating design-time artifacts, Analytic view with Anlaytic privilege having assign restriction as repository procedure is not returning desired results.
    HANA AWS revision 70.
    Problem Recreation:
    Below I am giving the process for problem recreation.
    1. EDW.hdbschema:
    schema_name="EDW";
    2. EDW_DD.hdbdd:
    namespace excent.P1;
    @Schema : 'EDW'
    context EDW_DD {
    type TT_LV {
    LowValue : String(18);
    entity USER {
    @Catalog.tableType: #COLUMN
    key User              : String(10);
    key InfoObject        : String(10);
    key Option            : String(2);
    key LowValue          : String(18);
    HighValue             : String(18);
    ChangedOn             : LocalDate;
    ChangedBy             : String(8);
    3. Created Analytic view (AN_EDW_SALES.analyticview) based on VBAP table with output as VBELN, MATNR, NETWR. Apply privileges is left empty.
    4. Created repository procedure (LowValue_IN.procedure)
    CREATE PROCEDURE LowValue_IN (OUT RES "EDW"."excent.P1::EDW_DD.TT_LV" )
           LANGUAGE SQLSCRIPT
           SQL SECURITY DEFINER
           DEFAULT SCHEMA _SYS_BIC
           READS SQL DATA AS
    v_cnt INT;
    BEGIN
    RES = SELECT "LowValue" FROM  "EDW"."excent.P1::EDW_DD.USER"
                 WHERE "User"            = SESSION_USER
                   AND "InfoObject"       = 'MATNR'
                   AND "Option"           = 'EQ'
                 GROUP BY "LowValue",  "User"
    SELECT COUNT(*) INTO v_cnt FROM :RES;
    IF :v_cnt = 0
    THEN RES = SELECT 'EMPTY' AS "LowValue" FROM DUMMY;
    END IF ;
    END;
    5. Created Analytic privilege(AP_EDW_SALES.analytic privilege) with assign restriction on Repository procedure (LowValue_IN.procedure) with operator "IN" and Privilege Validity with operator as ">=", From date as yesterday (2014-03-24)
    6. Created Role (EDW_SALES.hdbrole) and assigned the below privileges:
    system privilege: CATALOG READ;
    catalog sql object "SYS"."REPOSITORY_REST": EXECUTE;
    catalog schema "_SYS_BI": SELECT;
    catalog schema "_SYS_BIC": SELECT;
    analytic privilege: excent.P1:AP_EDW_SALES.analyticprivilege;
    package excent.P1: REPO.READ;
    7. Created user from Systems view (EDWUSER) and assigned the role (EDW_SALES.hdbrole).
    8. In SQLConsole, executed the query to insert 1 record, which has in VBAP:
    insert into "EDW"."excent.P1::EDW_DD.USER" values('EDWSALES','MATNR','EQ','M-08','','','');
    Now when I do the data preview, I can see all the records instead of only 1 record with MATNR "M-08".
    Few Observations:
    1. When SELECT statement of procedure when executed in SQLconsole for EDWUSER(with extra privilege SELECT on EDW schema) it returns only 1 row but not the Analytic view.
    2. Also the repository procedure can be used as catalog procedure in Analytic privilege. This also behaving the same.
    3. When I change the "Apply Privileges" option to "Analytic Privileges" in Analytic view, I am getting below error when doing data preview.
    I could not understand where I am doing wrong. Is it a product bug or mistake from my end?
    Regards
    Raj

    Ohh! Yes.. Got it now.
    Well I tried to recreate your scenario: ( Tested on Rev 70)
    1) Am sure you might have used the correct insert statement:
    insert into "EDW"."MarchBatch.tst::EDW_DD.USER" values('EDWUSER','MATNR','EQ','1400-310','','','');
    The user name must be EDWUSER not EDWSALES.
    2) Have created Analytic Privilege with Validity date and others as mentioned by you. Only difference is am using a Repository procedure created under Content folder using Modeller Perspective (PROC_TEST) as shown in the below screenshot.
    3) The data preview for EDWUSER as shown below is showing expected results i.e MTNR = 1400-310 is only showing up.
    4) When I used the .procedure (LowValue_IN) , I also hit the same error same as you mentioned below:
    With only difference being the way the procedure is created, the issue must be in the way .procedure is used. May be a bug I guess
    Regards,
    Krishna Tangudu

  • Assertion_Failed dump when accessing Design Time for Processes & Forms EP3

    After exhausting SAP note searches and the SDN community forums, blogs & wiki searches, I decide to make my first SDN post:
    After installing Enhancement Pack 3 to the base ECC 6.0, we got the Design Time for Processes & Forms node in the IMG under HR Administrative Services. I was able to get in to it the very first time without any issues; however once I selected one of the sample SAP processes, I received an "Assertion_Failed" dump in the section of code saying a referenced node must exist. In debugging, we did see a node that is referencing a node that does not exist,  which is causing the dump. The dump occurs in CL_HRASR00_DT_OBJECT_BROWSER, Method ASSERT_OBJ_HIER_IS_CONSISTENT (line 71). 
    I now get this dump each time I try to execute the Design Time for Processes & Forms node in the IMG. Note: when accessing process the old way, there is no issue.
    To me is seems like either EP3 was not installed completely, something went wrong in the activation of those business functions, or the copy of the sample forms from client 000 did not grab everything.  In debugging, it appears that the missing reference node is related to some form scenario node.   Also note that all the steps under Technical Settings were completed.
    Has anyone seen this issue before?
    Thanks for any help you can give.  If I find the solution, I will post the answer here as well.
    -Jeff Glynn
    Edited by: Jeffrey Glynn on Oct 22, 2008 1:54 AM

    Hi Jeff,
    I believe we had the same issue here.
    There is an SAP Note (below) for this. Please let me know if this works.
    Note 1075650 - New Design Time tool Corrections for the dump
    Note Language: English Version: 1 Validity: Valid from 18.07.2007
    Summary
    Symptom
    Dump on executing the transaction HRASR_DT which starts the new design time
    tool of the HR Administrative services
    More Terms
    Design time tool HRASR_DT HRadmin
    Cause and Prerequisites
    Solution
    The solution to the dump occuring would be resolved by applying the SP
    Alternately the dump can be
    resolved by performing the following steps manually :
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTOBJHIER and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Select the following entries:
    i. OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT
    ii.OBJECT TYPE = PROCESS and NODE TYPE = PROC_REF_FSCN_DIRECT_START
    5. Click on EDIT entries button on the header
    6. Enter in the field REF_OBJECT_TYPE the value as FORM_SCENARIO
    7. Click on the Next button on the header bar to navigate to the next entry
    8. Repeat Step 6 for this entry also
    9. Save the modification
    Additionaly, perform the following steps as well:
    1.Start SE16 transaction
    2.Give the table name as T5ASRDTTOOLS and press RETURN key
    3.Execute the Selection screen by pressing on F8 Key
    4.Click on CREATE entry button on the header
    5.Enter the following to create a new entry:
    TOOL TYPE = FSCN_MSG_MAPPER
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_FST_MESSAGE_MAP
    6. Enter the following to create a new entry:
    TOOL TYPE = PROC_EXEC_FREQUENCY
    OPERATION = DISPEDIT
    TOOL CLASSNAME = CL_HRASR00_DT_PRT_EXEC_FREQ
    7. Save the new entries
    These adjustments should resolve the dumps hindering to start the new
    design time tool

  • Interactive form is not showing data during design time

    Hello,
    I have created a interactive form to display PDF. It is of 12 page. I created and checked in the code to DTR but now when I checked out the DC and and edited the interactive form for further update it is not showing any thing in the design time,showing only one blank page. However if I build and run that checked out project it is showing the proper data at runtime, so now i am unable to update the pdf.
    Please help and let me know what to do.

    Hi Timo,
    Sorry for the late response and not specifying more in detail.
    My Jdeveloper version is 11.1.1.6 R1.  When I ran for the first time, it was working fine. Then later on, when I was running it was opening completely blank screen.
    I thought it is something to do with the permission to the task flow. I have opened web.xml and jazn-data.xml file to check and closed without tweaking these files.
    Now, I was not able to open the page in the designer also. It was just showing hierarchy of all the components.
    I copied the backup again and it worked. What could be the reason so that I can avoid doing this in future?
    Is this related to Jdeveloper bug as I have seen on other forums highlighting this issue.

  • Design Time Repository question.

    Hi, I'm clustering my SOA Suite per a consultant and this documentation:
    http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28939/j2ee.htm
    In section 3.1.19 Configuring JNDIs for the Topic and Topic Connection Factory, it states:
    Using Oracle Enterprise Manager 10g, follow these steps to configure JNDIs in the Design Time and both ESB repository instances.
    Now I've followed these steps for the ESB repository, but I find it unclear as to what it's referencing with the "Design Time repository".
    I'm having an issue where the SOAP WSDL's pull up without problem, but the SOAP Endpoint URI's always fail, and I'm wondering if this may have something to do with it.
    Thanks for your help!
    David

    Hi Paolo,
    I am doubtful about the use of NDS. This is because the libraries available with NDS will be for WAS 6.40 and EP6 SP2 i feel is on WAS 6.20. I am really not sure about this but my main point is that there may be library version conflict issues.
    I dont think there is any plugin available for DTR.
    But then DTR is a WebDAV based server. Hence any WebDAV client should be able to solve your purpose.
    But this is a good thread. Hope others will also provide their suggestions on this.
    Regards
    Sidharth

  • ADF Faces: Design-time problems

    Hi!
    We are working at JetBrains on several JSF features, and we have some serious problems with components' behavior on design time. Can we recieve an engineer contact, who can be discussed these problems with?

    I think your question is still confusing - are you saying JetBrains is not used? Is this a pure ADF Faces issue? - it would also help people on the list if you can explain WHAT the actual component is and WHAT the problem you are seeing....
    Regards
    Grant

  • Design-time distortions

    It appears to me that -- unlike what I'm used to with tables -- when I'm designing (DW3) with CSS, the scale of what I am seeing in the design window is larger than what is actually displayed in any browser. In a browser, elements look about 82% of what I see in the DW3 design window.
    Working with tables, sizes were pretty close in both DW and a browser.
    My design window magnification is set to 100%
    Mostly it's the text that's effected -- I've started using ems for text and some other elements.
    Widths that I've set in pixels are shown correctly in both DW and browsers.
    I tried specifying the style sheets for the project as Design-time documents, thinking that might help -- it didn't.
    If I shrink the design window magnification to 82%, that adjusts the em-sized elements to look like what I see in a browser. But widths, set in pixels, also shrink proportionally. That approach is not helpful.
    Am I missing something? Can I get what I'm working on to look closer to what I'm seeing in a browser?

    So is it something that I'm doing wrong (should I not be using ems?), or does everyone have this issue?
    It's a known fact that DW Design View is not and never has been 100% reliable.  Some CSS templates -- especially so called Holy Grail layouts won't render well in DW.  Use Live View and Preview in Browsers.  I typically keep one or more browsers open while I'm designing.  Save page, refresh browsers. Save page, refresh browsers.
    Should I ignore it or is there some adjustment that can be made?
    Ignore it.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • TextInput style, change at design time.

    I am new to Flash, and am working on developing an iOS app.
    I have my first basic app running.
    My question is, how do I change the style of my TextInput at design time?
    I see how to do it in code, but I am hoping that I wont have to have a bunch of extra code, justto set the styles of the inputs.
    Thanks in advance,
    Clint

    One way you can probably do it is to doubleclick the component on the stage and manually edit the various pieces that comprise it by doubleclicking and editing them.
    If you are using a TextInput component and you have issues with having code for styling it, you might consider switching to just using an Input Textfield.  Components tend to be weighty little creatures, partly due to the various graphics they carry but moreso because of code that they lug around.  To see how much the TextInput contributes to the weight of a file, start a new file and place a TextInput on the stage.  Then, with the Flash Publish Settngs option set to Generate size report selected, publish the file and see the bytes contributed in the output panel.

  • Design Time and Dynamicall​y Created Controls

    I have a project written in VC6 as an MFC Dialog Box project. In a particular box, I dynamically create several (exact number depends on user entry) CNiGraphs. There are also a two CNiButtons that were created at design time using the resource editor. The problem I'm having is that when this dialog box is opened, a message pops up saying it's an eval version and the control will go inactive after 5 minutes. After waiting 5 minutes, the 2 CNiButtons go inactive (turn black), but the CNiGraphs continue to run. I have a valid licensed version of MStudio 8.1.6, but it appears that these 2 buttons don't recognize the license. There are also other design-time buttons in the project but those one's don't have a problem at all. When creating the dynamically creating the CNiGraphs I give them a valid license string, and I was wondering if there is a problem with having design time created and dynamically created controls in the same dialog box. Does anyone know?
    I can't remember, but I may have created those 2 CNiButtons when I was only using an eval license. (All the other were definitely create when I had a full license) Could that be affecting them? I seem to have a vague recollection of reading somewhere that design-time create controls check the license when they are created in the designer and store that license info in them. If that's the case does anyone know an easy way to update the license stored in the control? I'd rather not just delete it and re-add it as I'd like to avoid having to redo the tab order (unless someone knows how to easily insert something in the middle of the tab order instead of having to click through all the controls in the correct order?)
    Also, I'm not sure if this would affect anything, but the project was originally built with ComponentWorks 1.0, but we were forced to move to MStudio when we encountered some bugs in CW, so all the controls were originally CW Controls that have been converted to CNi Controls. I doubt this is it though as everywhere else we changed over the controls don't have a problem, but I'm willing to try suggestions.
    Solved!
    Go to Solution.

    Hi JC,
    I hope you had a good weekend!  I am glad to hear you are back up and running.  Adding the extra button was, in fact, what caused the updating of the license information for the other buttons, as you suspected.  After doing further research, I have found that the license information is stored wtihin the form for the control, and unless that control changes in any way (or in your case adding a new one to the project), it does not see any reason upon compiling to relink the license.  However, after changing the control and recompiling, it updates the linking of the license information, which resolved this issue in your case.  
    I hope this helps, JC.  Have a great day!
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Syncing design time and run time view in WPC

    Hi,
         We use WPC to develop web content. Especially when we use the table control provided in the Htmleditadvanced(advanced paragraph) component for creating web content the size of the font that is displayed in design time is very big. We do control the font size at run time by altering the font style available in the /etc/wpceditor/runtime/styles folder. But a the same time we are unable to alter the font style at designtime so that we can have the design time in sync with run time when the page is previewed. We did try exploring the css files available in /etc/wpceditor/designtime/styles folder, but was not of any use.
    Any pointers will be appreciated.

    Hi ulahoti,
    Welcome to our forum, I have downloaded your "Basic Project", I think it looks well after change
    <Border
    CornerRadius="20" Background="Black"
    Padding="8">
    <Border
    CornerRadius="20" Background="White"
    Padding="8">
    <GroupBox
    Header="Fading Mode" Background="White">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition
    Height="*"/>
            <RowDefinition
    Height="Auto" />
    </Grid.RowDefinitions>
    to:
    <Border
    CornerRadius="20" Background="Black"
    Padding="8">
    <Border
    CornerRadius="20" Background="White"
    Padding="8">
    <GroupBox
    Header="Fading Mode" Background="White">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition
    Height="Auto"/>
            <RowDefinition
    Height="Auto" />
    </Grid.RowDefinitions>
    If your issue persists, or I have misunderstood your concern, please let me know, and share your
    main concern
    with me, then I will do my best to resolve your issue.
    Best regards,
    Sheldon _Xiao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to create a drop down box values on design time?

    Hello,
    I have a drop down box that I would like to edit on design time to have the valus 1 to 10.
    Is it possible to doo it on design it or do I have to create a loop in the code to do that?

    See go to LocalDictionary->Data Type-> SimpleType Right Click and create a Simple Type giving some Package Name
    Once u have created
    There u will see Enumeration Tab and give Key Value Pairs by pressing New Button
    Now Create a Context Attr and at Type property select that three dots
    Then go to Dictionary Simple Type and select the Package u have given
    then select the Simple type u have created
    Then assign the context Attr to the UI Element
    Message was edited by: krish kanth

  • Report does not print exactly same as it appears at design time

    Hello,
    I am using SAP Crystal report with VS 2010.
    I designed a report. At design time every thing appears fine. Margins are set to 0, printer is selected and page size is custom.(right click on report, design>pagesetup)
    When I use <reportname>.printtoprinter(), it dramatically changes the text size and margins of the report in hard copy. I tried literally everything for this. Especially It adds nearly 2 inches extra margin at top.Also , at run time it changes the font size to 8 or 9 points if i have set it to 12 at design time.
    I get the same problem if I do following:
      crystalReportViewer1.ReportSource = rptRcAbh;
       crystalReportViewer1.PrintReport();
    HOWEVER!!
    When I do this:
      crystalReportViewer1.ReportSource = rptRcAbh;
    AND when I manually click the print button of crystal report viewer, i get EXACTLY SAME result as design time. This is what I am expecting from printoprinter() method. But Its changing result dramatically.
    Why is this happening? Am I forgetting any setting?
    I must use reprot.printtoprinter() method here. Because I am printing the bill receipt. I dont want the user to go to printpreview then click print. AND I must get same result as design on printed page.
    Please help me. I am in urgent need.

    Hi Don,
    Firstly I am very very thankful to you for replying me.
    I know I must have irritated you a bit cuz I was expecting everything ready which I should have :P
    but I was in urgent need and there was no time for me to read everything. I must say a thing that I did not get good search results on printcontroller when I used search box of this website.
    Well Thanks again for helping me in deed.
    I am sure this must be the problem for many people across the globe, hence I am posting the exact code that helped me to print the document Accurately:
       rptReceiptAbhishek rptRcAbh = new rptReceiptAbhishek();
            //        rptRcAbh.Load("rptReceiptAbhishek.rpt", OpenReportMethod.OpenReportByTempCopy); i did't need this line
    //////// Directly Entering data to the fields of the report.
                    CrystalDecisions.CrystalReports.Engine.TextObject txtname;
                    CrystalDecisions.CrystalReports.Engine.TextObject txtaddress;
                    txtname = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptName"];
                    txtname.Text = cboInitials.Text + " " + cboDonarName.Text;
                    txtaddress = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptAdd"];
                    txtaddress.Text = txtAddess.Text;
                    rptRcAbh.PrintOptions.PrinterName = Properties.Settings.Default.PrinterName;
                    System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
                    CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
                    CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
                    pDoc.PrinterSettings.PrinterName = Properties.Settings.Default.PrinterName;
                    pDoc.PrinterSettings.SupportsColor.ToString();
                    //if (pDoc.PrinterSettings.SupportsColor)
                    //    MessageBox.Show("Printer Supports Color", pDoc.PrinterSettings.SupportsColor.ToString());
                    rasPROpts.PrinterName = Properties.Settings.Default.PrinterName;
                    //   rasPROpts.PaperSize = (CrPaperSizeEnum)pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                    //rasPROpts.PaperSource = (CrPaperSourceEnum) pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
          //          rptReceiptAbhishek rpt = new rptReceiptAbhishek();
                    var rptClientDoc = rptRcAbh.ReportClientDocument;
                    rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                    MessageBox.Show("Printing in progress. Make sure that printer is not turned off.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);

Maybe you are looking for

  • How do I sync the itunes with my ipod touch?

    My daughter totally messed up her Ipod touch. I am so computer illiterate but I managed to get it cleaned up. I went on line and cleaned up her play lists and videos but now I can not figure out how to transfer the new lists to her ipod. Does anyone

  • First time user question

    hi in order to use this : is this a stand alone or i should have somthing on my server in order to use it? (i.e special extention) sorry if the question is dumb tx

  • Address book is a little clunky

    I would prefer to be able to select a single address in Address Book, copy it and paste it into a Word or Pages doc. That seems to be a pretty basic feature that Apple seemed to forget about. I don't necessarily just want to create a vcard but that's

  • How can I make the marker event pulse width longer in NI-FGEN?

    I want to generate a marker event on PF0 line using NI-FGEN.I can set the marker event pulse width but when I was trying to make the pulse width units as 65 I was getting an  error-1074115931.  How can I make the marker event pulse width longer witho

  • Special Character Error in Message in PI after PI-PRD Upgrade

    Dear Experts, We had a PI PRD upgrade 3 days back  from (PI NW 7.3 ) from SP-07 to SP-11. After this upgrade we ar facing one peculiar issue which was not there before upgrade. The messages containing special character like '&', ", etc is not getting