• RELEVANCY SCORE 3.35

    DB:3.35:Custom Style For Html Client f7




    Good Evening,

    I Was wondering if there is any documentation as to how to customize the layout of the HTML client on lightswitch 2013, for example if i wanted to create a layout using Twitter bootstrap for a business web application. or am i limited to use the jquerymobile
    styles.

    Thank you
    Regards,
    Franz Silva

    DB:3.35:Custom Style For Html Client f7

    Also look at this thread regarding the SyncFusion components:Essential Studio for JavaScript
    You may also want to look at the ComponentOne LightSwitch offering here:Studio for LightSwitch HTML
    I do realize the above are components rather than customizing the HTML layout per se as per your original question, but it does offer you some examples of what can be done through components.
    I've not personally had much luck with Bootstrap and Lightswitch, I found that it did not play nicely with jQueryMobile, but YMMV as they say.
    There are also some articles on the Lightswitch team blog (e.g. by Beth Massi) on how to take the default Lightswitch theme CSS files and putting it through the jQueryModule theme roller to change some aspects of the look and feel.
    Hope the above provide you with some options.Regards, Xander. My Blog

  • RELEVANCY SCORE 3.22

    DB:3.22:Report Output Format Html &Amp; Html Style Sheet zm




    Hi ,

    How i can difference between Html Html Style Sheet

    when system parameter destformat to a report ?

    for html destformat = Html

    What about Html Style Sheet destformat ?

  • RELEVANCY SCORE 3.11

    DB:3.11:Reporting Facility Custom Style 9m





    Hi, is possible to create a custom style for insert a company logo in a report?

    Thanks

    Alberto

    DB:3.11:Reporting Facility Custom Style 9m


    Hi, is possible to create a custom style for insert a company logo in a report?

    Thanks

    Alberto

  • RELEVANCY SCORE 3.08

    DB:3.08:Creating Custom Lists Css 99



    Good day,I'm fairly new to ServiceNow and am responsible for the front end design for our client applications. I can create pixel-perfect pages but I hit a wall when it comes to specifying custom styles for tables (ie. sc_req_item, sc_cart_item, etc.) dropped in content blocks . If I'm not mistaken, generated sites include the CSS file "css_includes_cssx" to style these god-awful misshapen tables (HTML tables in divs in other tables in spans in more divs...). My goal is to create custom styles for these tables to match the look and feel of my sites. The only way I found at this point is to target each class individually and override the css in the base file. It's a labor intensive process to say the least.Is there an easier method to style tables?Is there a way to create my own HTML tables (and css) and generate each row dynamically?I may not be asking the right questions. If anyone has answers or could point me to the right information it would be very appreciated.Regards.

    DB:3.08:Creating Custom Lists Css 99


    Great stuff, thanks!I'll take a closer look at what you're proposing. I've found part of the answer to generate my own tables in the TechNow videos on JellyThanks again!

  • RELEVANCY SCORE 3.07

    DB:3.07:Custom Shell: Html:Table Does Not Pass Align Attribute 18


    Hello,

    I am doing a custom shell, with header, footer and a sidebar. I am using html:table for layout and to also make the table centered I applied align=center to the table (see code in bold below). But in the generated HTML output that align attribute is not passed along.

    I am not sure if this is a bug or intentional. I tried various div/css effects to no avail. I'd love to hear a work-around for this if one exists at all.

    pre
    html:table balign="center"/b border="0" style="vertical-align: top; width: 728px;"
    html:tr
    html:td style="vertical-align: top; width: 100%;" valign="top"
    netuix:break/
    /html:td
    html:td style="vertical-align: top; width: 170px;" valign="top"
    netuix:jspContent contentUri="/framework/markup/shell/genius/geniusSidebar.jsp"/
    /html:td
    /html:tr
    /html:table
    /pre

    - Tom

    DB:3.07:Custom Shell: Html:Table Does Not Pass Align Attribute 18

    Ah nevermind!

    I found out adding margin-left: auto and margin-right: auto (as below in bold) centers the table.

    html:table border="0" cellpadding="0" cellspacing="0" style="vertical-align: top; width: 728px; bmargin-left: auto; margin-right: auto;/b"

    - Tom

  • RELEVANCY SCORE 3.03

    DB:3.03:Change Font Size j3


    Hello,
    Client needs to change the font size for the results page from 10 to 12. I see another style having the required font size, but what is the best practice?
    Should I add new class in my custom results page? Add new Stylesheet? Change the stylesheet?
    I am using 5.0.4
    Thanks for your help.
    Rachna

  • RELEVANCY SCORE 3.00

    DB:3.00:Inherit Style From Default Style p1



    In my project there is a custom style for text box. It is defined as:
    Style TargetType=TextBox/
    So it is applied to all text box child controls by default.
    I need to create another style that is based on default style. But how do I specify in the BasedOn attribute that my new style should use the default style?

    DB:3.00:Inherit Style From Default Style p1

    I think you need to use x:Type to get this to work.
    Style TargetType={x:Type TextBox}
    Then you can use 'based on' as follows:
    Style x:Key=InheritedStyle BasedOn={StaticResource {x:Type TextBox}} TargetType={x:Type TextBox}
    Hope that helps!Christine A. Piffat

  • RELEVANCY SCORE 2.97

    DB:2.97:How To Custom-Define The Default Background Colour For Boxview sm


    We use JEditorPane to display HTML content. If the html content is something like this:
    html
    div style='background-colour:;'
    p
    content goes here
    /p
    /div
    /html

    Then the background colour is set to black (which is the default one if the bgcolor attribute value is null). If there is no background-color attribute, content is displyed with white background. How to change the default value for the background colour??????

    DB:2.97:How To Custom-Define The Default Background Colour For Boxview sm

    We use JEditorPane to display HTML content. If the html content is something like this:
    html
    div style='background-colour:;'
    p
    content goes here
    /p
    /div
    /html

    Then the background colour is set to black (which is the default one if the bgcolor attribute value is null). If there is no background-color attribute, content is displyed with white background. How to change the default value for the background colour??????

  • RELEVANCY SCORE 2.96

    DB:2.96:Css For Html/Body j8


    What does the below do?
    style type=text/css
    html, body {
    height: 100%;
    }
    body {
    padding: 0;
    margin: 0;
    }
    #silverlightControlHost {
    height: 100%;
    }
    /style

    How come when I remove html/body part in the Style, my Silverlight does not display in Firefox but shows OK in IE?

    DB:2.96:Css For Html/Body j8

    This isn't a silverlight issue, other technologies like flash need to do the same thing in firefox. It looks like in IE, putting 100% on the body tag is good enough, but firefox needs the html tag to have a height of 100% to have it fill the browser window.
    Just one of those many cross-browser differences...

  • RELEVANCY SCORE 2.95

    DB:2.95:Custom Html Pushpins Click Events In Ie 11 8c


    Hello,
    I know that there are several threads with this topic already, but I could not find any specifcally talking about IE 11. I have a pushpin with custom html-content and the click event for the pushpin is no longer firing.
    I added this:
    pointer-events: all;
    to the style tag of the head element in the HTML code and that was working fine until I tried using IE 11, where it no longer works. It still works in Chrome, Firefox, and IE 10.
    Any help would be much appreciated,
    Thanks!

    DB:2.95:Custom Html Pushpins Click Events In Ie 11 8c

    first of all, i have similar problems.
    I have polygons and it is working with all other browser no problem but somehow in IE 11, all mouse events are not working.
    second, I have to hover or do any mouse events on thin lines which i could do mouse hover on polygon with other browsers.
    hope this is fixed
    please post if you got fix of yours.

  • RELEVANCY SCORE 2.93

    DB:2.93:Jsf Html Not Rendering Properly In 10.1.3.3 px


    New to JSF but I'm pretty sure the code below is good. Problem is I'm trying to use JSF HTML h:panelGrid, etc.. to render a page that jsp: includess 3 jsp's, menu.jsp, header.jsp and footer.jsp. I've #1) scribbled the desired look, #2) listed the code I'm using #3) scribbled the JDeveloper rendering #4) listed the html JDeveloper outputs:

    #1) The look I'm going for...
    ---------------------------------------------------------------------------------------------------------
    | Table1:(2 columns) | ----------Table1 Column 2------------------------------------
    |--Column 1-------- | ----------Tabel2: (1 column) --------------------------------
    | include menu.jsp | --------------------------Column 1 Row 1----------------
    | Menu: | Include header.jsp
    | item 1 |
    | item 2 |----------------------End Row 1 ----------------------------
    | item 3 |---------Row 2 ------------------------------------------------
    | etc.... | -Table3 (1 column):-----------------------------------
    | | - Many rows of content----------------
    | | -end Table3-----------------------------------------------
    | | ----------End Row 2------------------------------------------
    | | ----------Row 3 ------------------------------------------------
    | | Include footer.jsp
    | |
    | | ----------end Row 3------------------------------------------
    | | --------end Table 2-------------------------------------------
    ------------------------- end Table1--------------------------------------------------------

    #2) The code I'm using:
    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"
    %@ page contentType="text/html;charset=windows-1252"%
    %@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%
    %@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%
    %@ page import="java.sql.*" errorPage="error.jsp" %
    jsp:useBean id="user" class="com.uisecurity.User" scope="session"/
    %@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%
    %@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%
    %@ taglib uri="http://xmlns.oracle.com/adf/industrial/faces" prefix="afi"%
    %@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable"
    prefix="custom"%
    %
    String fn = user.getFullName();
    if(fn == null ){
    %
    jsp:forward page="login.jsp" /
    %
    }
    %
    f:view
    html
    headtitleFed App - Main Page/title
    link href="edstyle.css" rel="stylesheet" type="text/css"
    /head
    body
    h:panelGrid columns="2"
    h:panelGroup
    f:subview id="menu"
    jsp:include page="menu.jsp" flush="true"/
    /f:subview
    /h:panelGroup
    h:panelGrid columns="1"
    f:subview id="header"
    jsp:include page="header.jsp" flush="true"/
    /f:subview
    h:panelGrid columns="3"/h:panelGrid
    f:subview id="footer"
    jsp:include page="footer.jsp" flush="true"/
    /f:subview
    /h:panelGrid
    /h:panelGrid
    /body
    /html
    /f:view

    #3) How JDeveloper 10.1.3.3 renders it:
    ---------------------------------------------------------------------------------------------------------------------
    | Menu:
    | item 1
    | item 2
    | item 3
    | item 4
    | etc....
    |
    |
    | --------------------------------------------------------------------------------------------------------------------
    | Header.jsp
    |---------------------------------------------------------------------------------------------------------------------
    | Footer.jsp
    |---------------------------------------------------------------------------------------------------------------------

    #4) Html output:
    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"

    html
    headtitleFed App - Main Page/title
    link href="edstyle.css" rel="stylesheet" type="text/css"
    /head
    body

    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"

    f:verbatim

    table width="100%" cellpadding="2" cellspacing="2" style=""
    tr
    td
    img src="images/cdelogo.gif"/

    img src="images/FederalApp.GIF"/
    /b
    /font
    /td
    /tr
    tr
    tdfont style="font-size:10.0pt;"b2007-2008 (ORIGINAL)/b/font
    /td
    /tr
    tr
    td rowspan="1"

    P
    STRONGfont style="font-size: 10pt" color="#330099"Contract/font/STRONG


    span style="font-size: 9pt; height:13.0pt;"Search/Update Contract/span

    /P

    P
    STRONGfont style="font-size: 10pt" color="#330099"Staff Data/font/STRONG


    span style="font-size: 9pt; height:13.0pt;"Search/Update Staff/span

    span style="font-size: 9pt; height:13.0pt;"Staff Reports/span

    /P
    P
    font style="font-size: 10pt" color="#330099"bBudget Data/b/font

    span style="font-size: 9pt; height:13.0pt;"Enter/Change Budget Data/span

    span style="font-size: 9pt; height:13.0pt;"Budget Reports/span
    /P

    P
    font style="font-size: 10pt" color="#330099"bCDE Menu/b/font

    span style="font-size: 9pt; height:13.0pt;"Search/Approve Staff/span

    span style="font-size: 9pt; height:13.0pt;"Certificated Staff Report /span

    span style="font-size: 9pt; height:13.0pt;"Search/Approve Contract/span

    span style="font-size: 9pt; height:13.0pt;"Search/Approve Budget/span

    span style="font-size: 9pt; height:13.0pt;"CDE Budget Reports/span

    span style="font-size: 9pt; height:13.0pt;"Approval Status Report/span

    span style="font-size: 9pt; height:13.0pt;"CDE Approval Screen/span

    span style="font-size: 9pt; height:13.0pt;"Approval Admin Screen/span
    /P

    /td
    /tr
    /table
    /f:verbatim

    5) Why is it rendering out of order and why are end tags like /body and /html
    missing. This is very frustrating, RAD in turning into IRRATE...

    DB:2.93:Jsf Html Not Rendering Properly In 10.1.3.3 px

    Simplifying:
    I'm trying to render a page that should look like:

    Menu.jsp | Header.jsp
    Menu.jsp | Content
    Menu.jsp | Content
    Menu.jsp | Content
    Menu.jsp | Footer.jsp

    Hope you get the idea, the common left hand menu displaying in a page that has a header and a footer composition pattern. Using JSF HTML tags, JDeveloper 10.1.3.3 renders the page like so:

    Menu.jsp
    Menu.jsp
    Menu.jsp
    Menu.jsp
    Menu.jsp
    Header.jsp
    Footer.jsp

    Not sure why this is, my original post shows the code I'm using and most of the html rendered by JDeveloper (the editor processes some of the html).
    The menu.jsp, header.jsp and footer.jsp are included like so:
    f:verbatim tags around source of jsp page.
    f:subview tabs around jsp: include tags that include the pages.
    It works if I just put f:view tags around the html/jsp tags but as soon as I start using the jsf tags it renders in the wrong order.

    Any ideas?

    Thanks
    Al Waltrip

  • RELEVANCY SCORE 2.93

    DB:2.93:Add Custom Html -- Any Docs? k8


    In the mashup editor, we can select Add Custom HTML and then get a blank screen.  Is there any documentation at all for doing things here?
     
    What is the context (what exactly is affected)?
     
    What functions, parameters, block names, variables, etc., do we have access to, and how to access them?
     
    What kind of HTML is allowed / useful in this section?
     
    How to control style (font attributes, etc.) of blocks that output text (like MSN Horoscopes)?
     
    Is scripting allowed? If yes, what languages are supported?
     
    There isn't very much information about Custom HTML here in the forums or in the Editor Help file  .
     
    VYGER requires the information, and Number five neeeds INPUT!
     
    Has anyone played around in this area? Find anything out that you could share with the rest of us?
     
    Thank you all, in advance   ...

    DB:2.93:Add Custom Html -- Any Docs? k8

    Thank you Andy. One can always hope, even though it's just an Alpha right now. Maybe some hand-written developer notes, scanned into a PDF file LOL? Actually, I won't be able to play with Popfly much until around the 1st, as we're doing a 50-mile house move on Monday. So, lots of packing to do now. Hope to get back to it later next week.
     
    Cheers,
     

  • RELEVANCY SCORE 2.92

    DB:2.92:Style And Script Management For Custom Dialogs? c7


    Hello, how do you manage styles and scripts for custom dialogs? For example, I'm creating a custom html page. This page has a style section and a script section defined at the top. I feel like it would be better design to store the
    styles and js functions in a separate css and js file. However, I'm wondering if this is possible/practical in CRM 2011 and if so then what's the proper way to do this and do people tend to use that approach?

    DB:2.92:Style And Script Management For Custom Dialogs? c7

    Hi,
    It is certainly possible and is the right way to do things for sure. Here is the similar forum where I have shared the code for the same.
    http://social.microsoft.com/Forums/en-US/23c432c2-9866-47fa-a520-702995813e0b/css-reference-into-html-doesnt-reflect?forum=crmdevelopment

    Hope this helps.

    -----------------------------------------------------------------------
    Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/

    If this post answers your question, please click Mark As Answer on the post and Vote as Helpful

  • RELEVANCY SCORE 2.91

    DB:2.91:Custom Job Won't Run. jk



    Hi all,

    I have created a custom method/job. When I run the job, it creates the log, under /Temp/Jobs/CustomJob/dateMycustomjob. but, when I try to open the log, it won't open. It gives an error, saying "The object you are trying to view has no content" I tried to out put some logs in C:\report.txt, but this file doesn't get created either. Now I am thinking that wether my method gets called at all. BTW, when I run the job, I don't get any error, and in the message it says 'COMPLETED'. here's my method.

    Sub GenerateHistoryWFReport( ByVal docbase As String, _
    ByVal user As String, _
    ByVal jobID As String, _
    ByVal traceLevel As String )
    On Error GoTo GenerateReport_Error
    Dim client As Object 'IDfClient
    Dim query As String
    Dim clientX As Object 'DFClib.DfClientX
    Dim session As Object 'IDfSession
    Dim errorMsg As String
    Dim loginInfo As Object 'IDfLoginInfo
    Dim sessionMgr As Object 'IDfSessionManager
    Dim q0 As Object 'IDfQuery
    Dim col0 As Object 'IDfCollection
    Dim strQuery0 As String

    Dim strWFID As String
    Dim strWFName As String
    Dim strAcName As String
    Dim strAcDate As String
    Dim lngDuration As Double
    Dim strPerformer As String
    Dim strPrevWFID As String

    Dim strFile As String
    strFile = "C:\\report.html"

    ' **************************************************************************************
    ' Get a session.
    ' **************************************************************************************
    errorMsg = "Connecting to docbase"
    Set clientX = CreateObject("java:com.documentum.com.DfClientX")
    Set client = clientX.getLocalClient
    Set q0 = clientX.getQuery

    ' **************************************************************************************
    ' Create login object.
    ' **************************************************************************************
    errorMsg = "Creating login object"
    Set loginInfo = clientX.getLoginInfo
    loginInfo.setUser user
    ' **************************************************************************************
    ' Create session manager.
    ' **************************************************************************************
    errorMsg = "Creating session manager"
    Set sessionMgr = client.newSessionManager
    sessionMgr.setIdentity docbase, loginInfo
    ' **************************************************************************************
    ' Create session.
    ' **************************************************************************************
    errorMsg = "Creating session"
    Set session = sessionMgr.getSession(docbase)
    Open strFile For Output Access Write As #1
    ' **************************************************************************************
    ' HTML Header
    ' **************************************************************************************
    strLine = "htmlheadtitleHistorical Workitem Report - " Now() "/title/headbodytable"
    Print #1, strLine

    strQuery0 = "select i.r_workflow_id as workflow_id, w.object_name as workflow_name, i.r_act_def_id as activity_id, a.object_name as activity_name, i.r_creation_date as activity_start_date, DATEDIFF(day,Date('3/10/2010 12:00:00 AM','DD/MM/YYYY HH:MI:SS AM'),i.r_creation_date) As duration_in_days, i.r_performer_name as activity_performer, i.r_queue_item_id from dmi_workitem i, dm_activity a, dm_workflow w where i.r_act_def_id = a.r_object_id and i.r_queue_item_id '0000000000000000' and i.r_workflow_id = w.r_object_id and w.r_start_date date('2/1/2010') order by i.r_workflow_id, r_creation_date"

    q0.setDQL strQuery0
    Set col0 = q0.execute(session, 1)
    strPrevWFID = ""

    While (col0.next)

    strWFID = col0.getString("workflow_id")
    strWFName = col0.getString("workflow_name")
    strAcName = col0.getString("activity_name")
    strAcDate = col0.getString(activity_start_date")
    lngDuration = col0.getDouble("duration_in_day")
    strPerformer = col0.getString("activity_performer")

    if strWFID strPrevWFID Then
    strLine = "trtd width=5/tdtdbspan style=""font-size:8pt; font-family: arial""Workflow Name/span/tdtdspan style=""font-size:8pt; font-family: arial""Activity Name/span/tdtdspan style=""font-size:8pt; font-family: arial""Activity Start Date/span/tdtdspan style=""font-size:8pt; font-family: arial""Duration (days)/span/tdtd align=rightspan style=""font-size:8pt; font-family: arial""Performer/span/b/td/tr"
    Print #1, strLine

    strLine = "trtd width=5/tdtdspan style=""font-size:8pt; font-family: arial""" strWFName "/span/tdtdspan style=""font-size:8pt; font-family: arial""" strAcName "/span/tdtdspan style=""font-size:8pt; font-family: arial""" strAcDate "/span/tdtdspan style=""font-size:8pt; font-family: arial""" lngDuration "/span/tdtd align=rightspan style=""font-size:8pt; font-family: arial""" strPerformer "/span/td/tr"
    Print #1, strLine
    Else
    strLine = "trtd width=5/tdtdspan style=""font-size:8pt; font-family: arial"" /span/tdtdspan style=""font-size:8pt; font-family: arial""" strAcName "/span/tdtdspan style=""font-size:8pt; font-family: arial""" strAcDate "/span/tdtdspan style=""font-size:8pt; font-family: arial""" lngDuration "/span/tdtd align=rightspan style=""font-size:8pt; font-family: arial""" strPerformer "/span/td/tr"
    Print #1, strLine
    End If
    strPrevWFID = strWFID

    Wend

    strLine = "/table/body/html"
    Print #1, strLine
    Close #1
    sessionMgr.release session
    Exit Sub
    GenerateReport_Error:
    Print #1, errorMsg
    Print #1, err.Description
    Close #1
    dmExit (100)
    End Sub

    DB:2.91:Custom Job Won't Run. jk


    Thanks for the suggestions. I guess I'll have to follow your suggestions to figure out what's going wrong and where. Thanks, I will update if I get any other information/resolution.

  • RELEVANCY SCORE 2.90

    DB:2.90:Channel 9 Interview: Early Look At The Visual Studio Lightswitch Html Client 97


    This video is a MUST watch. It answers a LOT of questions in total detail:
    Channel 9 Interview: Early Look at the Visual Studio LightSwitch HTML Client
    http://channel9.msdn.com/Blogs/funkyonex/Early-Look-at-the-Visual-Studio-LightSwitch-HTML-Client
    For example at 20:00 they show how you can use any screen as a custom modal screen
    The Visual Studio LightSwitch Marketplace

    http://LightSwitchHelpWebsite.com

    DB:2.90:Channel 9 Interview: Early Look At The Visual Studio Lightswitch Html Client 97

    I cover using Knockout and LightSwitch here:
    http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/128/A-Full-CRUD-DataJs-and-KnockoutJs-LightSwitch-Example-Using-Only-An-Html-Page.aspx
    The API is very difficult in my opinion.
    Now, let us look at the databinding using WinJS and the Promise object:
    New LightSwitch HTML Client APIs (Stephen Provine)
    Tome it is clearer. But again you CAN bypass using the built-in API and still use Knockout, you just have to add the .js libraries to the project yourself. To see what is built-in see:
    Writing JavaScript In LightSwitch HTML Client Preview

    The Visual Studio LightSwitch Marketplace

    http://LightSwitchHelpWebsite.com

  • RELEVANCY SCORE 2.90

    DB:2.90:A Style Intended For Type Touchlistboxitem Cannot Be Applied To Type Listboxitem. 37


    I am trying to write a custom ListBoxItem, which will have a new dependency property called IsSelectedWithoutScroll.

    I applied a style to this custom ListBoxItem (TouchListBoxItem).

    Please see the below code.

    If I put a ListBox in my client window and pass the data on ItemsSource and run the application, it is blowing
    up.

    It is complaining the following :

    Runtime error:

    A style intended for type 'TouchListBoxItem' cannot be applied to type 'ListBoxItem'.

    DB:2.90:A Style Intended For Type Touchlistboxitem Cannot Be Applied To Type Listboxitem. 37

    Hi Rajendra,
    You need to create a custom ListBox and change its ItemContainer to use the custom ListBoxItem. The code snippet below shows the details:
    Xaml:
    Window x:Class=WpfApplication14.Window3
    xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
    xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
    xmlns:my=clr-namespace:WpfApplication14
    Title=Window3 Height=300 Width=300
    Window.Resources
    Style x:Key=CustomItemStyle TargetType={x:Type my:TouchListBoxItem}
    Setter Property=Template
    Setter.Value
    ControlTemplate TargetType={x:Type my:TouchListBoxItem}
    /ControlTemplate
    /Setter.Value
    /Setter
    /Style

    Style x:Key=NoirMouseListBox TargetType={x:Type my:MyListBox}
    Setter Property=ItemContainerStyle Value={DynamicResource CustomItemStyle}/
    /Style
    /Window.Resources
    /Window

    Code:
    public class TouchListBoxItem : ListBoxItem
    {
    #region Dependency Properties

    /// summaryIsSelected: indicates that whether it is currently selected or not/summary
    public bool IsSelectedWithoutScroll
    {
    get { return (bool)this.GetValue(IsSelectedWithoutScrollProperty); }
    set { this.SetValue(IsSelectedWithoutScrollProperty, value); }
    }
    public static readonly DependencyProperty IsSelectedWithoutScrollProperty = DependencyProperty.Register(IsSelectedWithoutScroll, typeof(bool), typeof(TouchListBoxItem), null);

    #endregion Dependency Properties
    }

    public class MyListBox : ListBox
    {
    protected override bool IsItemItsOwnContainerOverride(object item)
    {
    return item is TouchListBoxItem;
    }

    protected override DependencyObject GetContainerForItemOverride()
    {
    return new TouchListBoxItem();
    }
    }

    Let me know if this does not help.
    Aland LiPlease mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.

  • RELEVANCY SCORE 2.89

    DB:2.89:Htmleditorkit, Custom Tags And Css??? mj


    I have an editor that will allow the user to insert merge fields. The document is in HTML and the editor supports basic document styling (bold, italics, etc).

    For the merge fields I would like to use either a custom tag or a generic tag like span. Unfortunately, HTMLEditorKit only supports HTML 3.2 (which does not contain the span tag). How can I create a custom tag called "merge"?

    Once I've created my custom tag, will the Cascading Style Sheet support in Java allow something like "merge {color: red}"?

    Any help of suggestions would be greatly appreciated!

    -- John

    DB:2.89:Htmleditorkit, Custom Tags And Css??? mj

    Hi John,

    I'm trying to do the same thing (an editor for document containing merge fields...)

    For your first problem, I used the var tag which is not very used but exists in HTML 3.2 !

    And yes: HTMLDocument support CSS

    Since June, I think you've finded a solution
    If you success in creating a custom tag, please explain to me how do you make...
    my e-mail is lucdore@hotmail.com

    Thanks
    Luc

  • RELEVANCY SCORE 2.88

    DB:2.88:Custom Views: Set Style Of Text In Custom Html Tags s3


    hi all, I'm using an extended JEditorPane to render HTML containing custom tags e.g. mytagText/mytag

    My ViewFactory dynamically loads a class based on the name of the tag to return the View for that tag. (The idea being you can add any tag, by just providing a View class to render it). It's working to the extent that I can use the View.paint() method to paint a square of text before and after the content element.

    What I need to do is set the style (attributes) of the text contained in the custom tags. Is this possible?

    A call to doc.setCharacterAttributes(startoffset, endoffset, attrs, true); from the View results in a "Attempt to mutate in notification", possibly because the HTMLDocument is locked at this time.

    Any help/advice would be greatly appreciated.
    Thanks.

    DB:2.88:Custom Views: Set Style Of Text In Custom Html Tags s3

    I'll rephrase. Is it possible to change the HTMLDocument from a View object. Forgive my lack of understanding.

  • RELEVANCY SCORE 2.88

    DB:2.88:Custom Button On Mouse Over z1


    Hi

    I have a custom button.

    I have imported two images for the button into Apex.

    One image for the button to be displayed normally and the other image to be displayed only when the mouse hovers over the button.

    How do I make the button change appearance when the cursor hovers over the button?

    (I noticed the standard buttons have an orange edge on mouse over and different look when pressed suggesting 3 images are used)

    My custom 'button style' is image.
    'Button image' is one image (imported)
    'Image Attributes' is blank
    'Button Attributes' is greyed out.

    Other options for 'button style' are HTML Button or Template Based Button - perhaps I should use the HTML button but I don't know how to set the button attributes.

    thanks in advance, pgj

    DB:2.88:Custom Button On Mouse Over z1

    In my early days of Apex. I really struggled to use image buttons. Now I find them straight forward. I can't understand what my problem was back then. Thanks for the replies.

  • RELEVANCY SCORE 2.88

    DB:2.88:Custom Jsf Component Based On Other Jsf Components za


    Hello, I'm wondering if this is possible. I would like to create a custom JSF component based on other JSF components. For example, my component would work as described below.

    Say I have the following components on my page
    webuijsf:panelLayout id="layoutPanel8" style="height: 70px; left: 48px; top: 120px; position: absolute; width: 238px; -rave-layout: grid"
    webuijsf:textField id="textField2" label="Age" text="#{SessionBean1.demographicDO.age}"/
    webuijsf:radioButtonGroup id="radioButtonGroup1" items="#{Page1.radioButtonGroupAgeDayYearOptions.options}"
    selected="#{SessionBean1.demographicDO.ageType}" style="left: 168px; top: 0px; position: absolute"/
    /webuijsf:panelLayout

    Could I create a single custom component the combines all of those together? I see that custom components deal with low level HTML so I'm really asking if I can write out JSF.

    DB:2.88:Custom Jsf Component Based On Other Jsf Components za

    Tracker09421 wrote:
    Hello, I'm wondering if this is possible. I would like to create a custom JSF component based on other JSF components. For example, my component would work as described below.

    Say I have the following components on my page
    webuijsf:panelLayout id="layoutPanel8" style="height: 70px; left: 48px; top: 120px; position: absolute; width: 238px; -rave-layout: grid"
    webuijsf:textField id="textField2" label="Age" text="#{SessionBean1.demographicDO.age}"/
    webuijsf:radioButtonGroup id="radioButtonGroup1" items="#{Page1.radioButtonGroupAgeDayYearOptions.options}"
    selected="#{SessionBean1.demographicDO.ageType}" style="left: 168px; top: 0px; position: absolute"/
    /webuijsf:panelLayout

    Could I create a single custom component the combines all of those together? I see that custom components deal with low level HTML so I'm really asking if I can write out JSF.With JSF 2, this is very easy with composite components. Under 1.2, you'd have to work a bit harder. From the hip, I'd think you'd want to use Facelet's ui:component with binding to create the nested components programmaticly (e.g., application.createComponent(), etc).

  • RELEVANCY SCORE 2.87

    DB:2.87:About Tabcontrol Use Custom Style In Prism ms


    Hi experts,
    I have write a style use for my tabcontrol's tabitem, in my solution, I use PRIISM framework, assume that my style named MyTabItemStyle, my code as following:
    Regions:TabControlRegionAdapter.ItemContainerStyle
    Style TargetType=controls:TabItem
    Setter Property=HeaderTemplate
    Setter.Value
    DataTemplate
    TextBlock Text=ABC /
    /DataTemplate
    /Setter.Value
    /Setter
    /Style
    /Regions:TabControlRegionAdapter.ItemContainerStyle
    How do I write code to apply my custom style for tabitem, thanks.

    DB:2.87:About Tabcontrol Use Custom Style In Prism ms

    Resolved, the code like this:
    Regions:TabControlRegionAdapter.ItemContainerStyle
    Style TargetType=controls:TabItem BasedOn={StaticResource TabControlItemStyleFlight}
    Setter Property=HeaderTemplate
    Setter.Value
    DataTemplate
    TextBlock Text={Binding Path=FlightTabHeader, Mode=OneWay} /
    /DataTemplate
    /Setter.Value
    /Setter
    Setter Property=Height Value=24/
    Setter Property=Margin Value=9,0,-9,0/
    /Style
    /Regions:TabControlRegionAdapter.ItemContainerStyle

  • RELEVANCY SCORE 2.87

    DB:2.87:Trying To Change How The Scrollbar Appears On My Website For Firefox sp



    Hi so im trying to change my websites scrollbar for firefox browsers. Ive already done it for IE and chrome with this code:
    /*Custom scrollbar for IE
    style

    body, html{scrollbar-arrow-color: #001eff;

    scrollbar-track-color: #00e9ff;
    scrollbar-face-color: #0040ff;
    scrollbar-highlight-color: #517cff;
    scrollbar-3dlight-color: #00fff4;
    scrollbar-shadow-color: #214cc;
    scrollbar-darkshadow-color: #001f7;
    }
    /style
    /*Custom Scrollbar for Chrome
    style

    -webkit-scrollbar { width: 4px; height: 4px;}
    -webkit-scrollbar-button { background-color: #00e9ff; }
    -webkit-scrollbar-track { background-color: #999;}
    -webkit-scrollbar-track-piece { background-color: #00e9ff;}
    -webkit-scrollbar-thumb { height: 50px; background-color: #0040ff; border-radius: 50px;}
    -webkit-scrollbar-corner { background-color: #999;}}
    -webkit-resizer { background-color: #FFFFFF;}

    /style

    DB:2.87:Trying To Change How The Scrollbar Appears On My Website For Firefox sp

    Helpful Reply


    See also:

    http://www.hesido.com/web.php?page=customscrollbar

  • RELEVANCY SCORE 2.87

    DB:2.87:Custom Client m1


    Hello,

    What i am trying to do is have the OS (XP,2000) use a custom Sun SGD client instead of IE for http (when clicking links, html email, etc..). The reason is i want everyone who is browing the internet to use the Sun client instead of their local browser.

    Would this be possible by building a custom SGD Client somehow?

    thanks
    sunman

    DB:2.87:Custom Client m1

    Hello,

    What i am trying to do is have the OS (XP,2000) use a custom Sun SGD client instead of IE for http (when clicking links, html email, etc..). The reason is i want everyone who is browing the internet to use the Sun client instead of their local browser.

    Would this be possible by building a custom SGD Client somehow?

    thanks
    sunman

  • RELEVANCY SCORE 2.87

    DB:2.87:How To Define A Style That Apply To All Controls For The Targettype? 9a


    Anybody knows how to define a style so it applies to all the controls for the TargetType of the style? Basically how to define the default style for certain control?

    For example, I would like to have all my TextBlock to have a FontFamily set to certain value, and FontSize set to certain value. But I don't like to set the Style on each control. I would like to have something like in css for HTML: if I define the style
    for certain tag, all the control with that tag will automatically have that style, unless I set another style on the control level. Is there a way to achieve this in Silverlight?
    For custom controls I know how to do this. I just change my control template in Generic.xaml. But for built-in controls, how do I access the original control template and override it?

    DB:2.87:How To Define A Style That Apply To All Controls For The Targettype? 9a

    Googling came around to this old thread, do you know if this has been implemented on version 3? (implicit styles), I guess so but cannot find the exact link with that info...

  • RELEVANCY SCORE 2.86

    DB:2.86:Moss 2007 - List With Groupby - How Do I Remove Category? ap


    Been playing around with the VWSTYLES file and have a custom list style which I intend to use in conjunction with a list set up with a group by.The reason for the custom style is that by default you get the ugly Category link which expands and contracts the items followed by a colon followed by the category name which is a link to view (or) edit page for the category.What I want is to get rid of the Category : part while altering the behaviour of the category name to expand and contract rather than take the user to the view\edit page of the category.Here is the relavent segment of xml.
    HTML![CDATA[TBODY id=titl]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[ groupString=]]/HTML
    GetVar Name=GroupByValueString/
    HTML![CDATA[TRTD colspan=100]]/HTML
    Switch
    Expr
    GetVar Name=GroupByIndent/
    /Expr
    Case Value=0
    HTML![CDATA[ class=ms-gb ]]/HTML
    /Case
    Default
    HTML![CDATA[ class=ms-gb2 ]]/HTML
    /Default
    /Switch
    HTML![CDATA[ nowrapimg src=/_layouts/images/blank.gif alt= height=1 width=]]/HTML
    GetVar Name=GroupByIndent/
    HTML![CDATA[a href=javascript: onclick=javascript:ExpCollGroup(']]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[','img_]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[');return false;img id=img_]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[ src=/_layouts/images/minus.gif alt=]]/HTML
    HTML$Resources:groupExpColl;/HTML
    HTML![CDATA[ border=0/anbsp;]]/HTML
    HTML![CDATA[a href=javascript: onclick=javascript:ExpCollGroup(']]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[','img_]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[');return false;]]/HTML
    HTMLGetVar Name=GroupByValueString //HTML
    Column Name=Title /
    HTML![CDATA[/a]]/HTML
    HTML![CDATA[/TD/TR/TBODY]]/HTML
    It is driving me mad as there is very little documentation on what is available to use. The follwing code does what I want but thecategory nameis rendered as %3b%23Hello%20World%3b%23 etc.I feel like I am almost there and any ideas would be very helpful!!

    DB:2.86:Moss 2007 - List With Groupby - How Do I Remove Category? ap

    You need to edit the VWSTYLES.XML file at:%Program Files%\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL\XMLYou need to find the ViewStyle with the highest ID. When you create a new ViewStyle, you'll pick the next ID in sequence.Essentialy you need to make a copy of the existing Group By style, and give it a new ID.The XML is too long for here but here is the important changed section:
    GroupByHeader
    HTML![CDATA[TBODY id=titl]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[ groupString=]]/HTML
    GetVar Name=GroupByValueString/
    HTML![CDATA[TRTD colspan=100]]/HTML
    Switch
    Expr
    GetVar Name=GroupByIndent/
    /Expr
    Case Value=0
    HTML![CDATA[ class=ms-gb ]]/HTML
    /Case
    Default
    HTML![CDATA[ class=ms-gb2 ]]/HTML
    /Default
    /Switch
    HTML![CDATA[ nowrapimg src=/_layouts/images/blank.gif alt= height=1 width=]]/HTML
    GetVar Name=GroupByIndent/
    HTML![CDATA[a href=javascript: onclick=javascript:ExpCollGroup(']]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[','img_]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[');return false;img id=img_]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[ src=/_layouts/images/minus.gif alt=]]/HTML
    HTML$Resources:groupExpColl;/HTML
    HTML![CDATA[ border=0/anbsp;]]/HTML
    HTML![CDATA[a href=javascript: onclick=javascript:ExpCollGroup(']]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[','img_]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[');return false;]]/HTML
    !--GetVar Name=GroupByField HTMLEncode=TRUE /--
    !--Column --
    Column Name=Title /
    !--GetVar Name=GroupByValue/--
    HTML![CDATA[/a]]/HTML
    !--GetVar Name=GroupByValue/--
    HTML![CDATA[/TD/TR/TBODY]]/HTML
    /GroupByHeader
    GroupByFooter
    Switch
    Expr
    GetVar Name=GroupByIndent/
    /Expr
    Case Value=0
    HTML![CDATA[TBODY id=foot]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[_/TBODY]]/HTML
    /Case
    Default/
    /Switch
    Switch
    Expr
    GetVar Name=GroupByCollapse/
    /Expr
    Case Value=TRUE
    HTML![CDATA[SCRIPTExpCollGroup(']]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[','img_]]/HTML
    GetVar Name=GroupByLevelString/
    HTML![CDATA[');/SCRIPT]]/HTML
    /Case
    Default/
    /Switch
    /GroupByFooter

    You will need some CSS and a JS file to handle the functionality and on your page where you display the GrouBy control you'll need something like:
    script type=text/javascript language=javascript src=/Style%20Library/MyCustomGroupScript.js/script
    !--[if IE 6]link rel=stylesheet type=text/css href=/_layouts/MyCustomStyles/IE6Orange.css/![endif]--

    The CSS file contains:
    .topLeftTab{
    float:left;
    width:9px;
    height:9px;
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_layouts/psstyles/tabs/TopLeft.gif');
    background-position:left top;
    background-repeat:no-repeat;
    border:0px;
    padding:0px;
    margin:0px;

    }

    .topRightTab{
    float:left;
    width:9px;
    height:9px;
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_layouts/psstyles/tabs/TopRight.gif');
    background-position:left top;
    background-repeat:no-repeat;
    border:0px;
    padding:0px;
    margin:0px;
    }

    .topLeft{
    float:left;
    width:11px;
    height:11px;
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_layouts/psstyles/corners/TopLeft.gif');
    background-position:left top;
    background-repeat:no-repeat;
    background-color:#92C135;
    border:0px;
    padding:0px;
    margin:0px;
    }

    .topRight{
    float:left;
    width:11px;
    height:11px;
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_layouts/psstyles/corners/TopRight.gif');
    background-position:left top;
    background-repeat:no-repeat;
    background-color:#92C135;
    border:0px;
    padding:0px;
    margin:0px;

    }

    .bottomLeft{
    float:left;
    width:11px;
    height:11px;
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_layouts/psstyles/corners/BottomLeft.gif');
    background-position:left bottom;
    background-repeat:no-repeat;
    background-color:#92C135;
    border:0px;
    padding:0px;
    margin:0px;

    }

    .bottomRight{
    float:left;
    width:11px;
    height:11px;
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/_layouts/psstyles/corners/BottomRight.gif');
    background-position:left bottom;
    background-repeat:no-repeat;
    background-color:#92C135;
    border:0px;
    padding:0px;
    margin:0px;

    }

    .bottomMiddle{
    /*margin-top:4px;
    float:left;
    width:838px;
    border-top:7px #92C135 solid;
    border-bottom:0px white solid;
    height:1px;*/
    font-size:1pt;
    }

    .navigation{
    clear:both;
    width:100%;
    padding-right:0px;
    vertical-align:baseline;
    padding:0px;
    margin:0px;
    height:100%;
    display: block;
    }

    .greenLink{
    width:112px;
    background-color: #92C135;
    float:right;
    margin-right:4px;
    border-bottom:0px #92C135 solid;

    }

    .topMiddleTab{
    float:left;
    width:94px;
    height:1px;
    margin:0px;
    padding:0px;
    font-size:1pt;

    }

    .navLink{
    clear:both;
    font-family:Arial;
    font-size:12px;
    color:white;
    font-weight:bold;
    text-align:center;
    vertical-align:top;
    padding-bottom:2px;
    cursor:pointer;
    }

    .mainContentDiv{
    height:510px;
    }

    .topLine{
    font-size:1pt;
    }

    .tsk{
    height:85px;
    }

    .topLeft{
    background-color:#F3831F;
    }

    .topRight{
    background-color:#F3831F;
    }
    And the JS file contains:

    var g_ViewIdToViewCounterMap=new Array();

    function ContextInfo()
    {
    this.listBaseType=null;
    this.listTemplate=null;
    this.listName=null;
    this.view=null;
    this.listUrlDir=null;
    this.HttpPath=null;
    this.HttpRoot=null;
    this.serverUrl=null;
    this.imagesPath=null;
    this.PortalUrl=null;
    this.RecycleBinEnabled=null;
    this.isWebEditorPreview=null;
    this.rootFolderForDisplay=null;
    this.isPortalTemplate=null;
    this.isModerated=false;
    this.recursiveView=false;
    this.displayFormUrl=null;
    this.editFormUrl=null;
    this.newFormUrl=null;
    this.ctxId=null;
    this.CurrentUserId=null;
    this.isForceCheckout=false;
    this.EnableMinorVersions=false;
    this.ModerationStatus=0;
    this.verEnabled=0;
    this.isVersions=0;
    this.WorkflowsAssociated=false;
    this.ContentTypesEnabled=false;
    this.SendToLocationName=;
    this.SendToLocationUrl=;
    }

    var ExpGroupWPListName=WSS_ExpGroupWPList;
    var ExpGroupCookiePrefix=WSS_ExpGroup_;
    var ExpGroupCookieDelimiter=;
    var ExpGroupMaxWP=11;
    var ExpGroupMaxCookieLength=3960;
    var g_ExpGroupQueue=new Array();
    var g_ExpGroupInProgress=false;
    var g_ExpGroupTable=new Array();
    var g_ExpGroupNeedsState=false;
    var g_ExpGroupParseStage=false;

    function ExpCollGroup(groupName, imgName)
    {

    if (document.getElementById(titl+groupName)==null)
    return;
    viewTable=document.getElementById(titl+groupName).parentNode;
    if (viewTable==null)
    return;
    tbodyTags=viewTable.getElementsByTagName(TBODY);
    numElts=tbodyTags.length;
    len=groupName.length;
    img=document.getElementById(imgName);
    if (img==null)
    return;
    srcPath=img.src;
    index=srcPath.lastIndexOf(/);
    imgName=srcPath.slice(index+1);
    var fOpen=false;
    if (imgName=='plus.gif')
    {
    fOpen=true;
    displayStr=;
    img.src='/_layouts/images/minus.gif';
    }
    else
    {
    fOpen=false;
    displayStr=none;
    img.src='/_layouts/images/plus.gif';
    }
    for (var i=0;inumElts;i++)
    {
    var childObj=tbodyTags[i];
    if ( (childObj.id !=null)
    (childObj.id.length len+4)
    (groupName==childObj.id.slice(4).substr(0,len)) )
    {
    if (fOpen)
    {
    index=childObj.id.indexOf(_, len+4);
    if (index!=-1)
    {
    index=childObj.id.indexOf(_, index+1);
    if (index!=-1)
    continue;
    }
    }
    childObj.style.display=displayStr;
    if (fOpen childObj.id.substr(0,4)==titl)
    {
    imgObj=document.getElementById(img_+childObj.id.slice(4));
    imgObj.src='/_layouts/images/plus.gif';
    }
    }
    }

    if (!g_ExpGroupParseStage)
    {

    if (g_ExpGroupNeedsState ExpGroupFetchWebPartID(groupName) !=null)
    {

    if (fOpen)
    {

    AddGroupToCookie(groupName);
    }
    else
    {
    RemoveGroupFromCookie(groupName);
    }
    }
    if (fOpen)
    {

    tbody=document.getElementById(tbod+groupName+_);
    if (tbody !=null)
    {
    isLoaded=tbody.getAttribute(isLoaded);
    if (isLoaded==false)
    {

    ExpGroupFetchData(groupName);
    }
    }
    }
    }
    }

    function ExpGroupFetchData(groupName)
    {

    var loadString=trtd/tdtd class=\ms-gbload\Loading/td/tr;

    ExpGroupRenderData(loadString, groupName, false);

    if (!g_ExpGroupInProgress)
    {

    var groupString=ExpGroupFetchGroupString(groupName);

    if (groupString==null)
    {
    var loadString=trtd/tdtd class=\ms-gbload\Error/td/tr;

    ExpGroupRenderData(loadString, groupName, false);
    if (g_ExpGroupQueue.length 0)
    {
    ExpGroupFetchData(g_ExpGroupQueue.shift());
    }
    return;
    }
    g_ExpGroupInProgress=true;

    if (!ExpGroupCallServer(groupString, groupName))
    {
    if (g_ExpGroupQueue.length 0)
    {
    ExpGroupFetchData(g_ExpGroupQueue.shift());
    }
    }
    }
    else
    {
    //g_ExpGroupQueue.push(groupName);
    }
    }

    function ExpGroupReceiveData(htmlToRender, groupName)
    {
    var ctxId=ctx+groupName.substring(0, groupName.indexOf(-));
    var indexBeginCTXName=htmlToRender.indexOf(CTXName=\);
    if (indexBeginCTXName !=-1)
    {
    if (ctxId !=ctx1)
    {
    htmlToRender=htmlToRender.replace(/ CTXName=\ctx1\ /g, CTXName=\+ctxId+\ );
    }
    }
    var needOuterWrap=false;
    if (htmlToRender.length 4)
    {
    needOuterWrap=true;
    }
    else if (htmlToRender.substring(0,3) !=tr)
    {
    needOuterWrap=true;
    }
    if (needOuterWrap)
    {
    htmlToRender=TRTD+htmlToRender+/TD/TR;
    }
    ExpGroupRenderData(htmlToRender, groupName, true);
    g_ExpGroupInProgress=false;
    if (g_ExpGroupQueue.length 0)
    {
    ExpGroupFetchData(g_ExpGroupQueue.shift());
    }
    }
    function ExpGroupRenderData(htmlToRender, groupName, isLoaded)
    {
    var tbody=document.getElementById(tbod+groupName+_);
    var wrapDiv=document.createElement(DIV);
    wrapDiv.innerHTML=TABLETBODY id=\tbod+ groupName+_\ isLoaded=\+isLoaded+

    \+htmlToRender+/TBODY/TABLE;
    tbody.parentNode.replaceChild(wrapDiv.firstChild.firstChild,tbody);
    }

    function ExpGroupFetchGroupString(groupName)
    {

    titlTbody=document.getElementById(titl+groupName);

    if (titlTbody==null)
    {
    return null;
    }
    else
    {

    var groupString=titlTbody.getAttribute(groupString);
    return groupString;
    }

    }

    function ExpGroupCallServer(groupString, groupName)
    {
    var webPartID=ExpGroupFetchWebPartID(groupName);
    if (webPartID !=null)
    {
    var functionName=ExpGroupCallServer+webPartID;
    var functionCall=functionName+('+groupString+','+groupName+');
    eval(functionCall);
    }
    }

    function ExpGroupRenderData(htmlToRender, groupName, isLoaded)
    {

    var tbody=document.getElementById(tbod+groupName+_);
    var wrapDiv=document.createElement(DIV);
    wrapDiv.innerHTML=TABLETBODY id=\tbod+ groupName+_\ isLoaded=\+isLoaded+

    \+htmlToRender+/TBODY/TABLE;
    tbody.parentNode.replaceChild(wrapDiv.firstChild.firstChild,tbody);
    }

    function ExpGroupFetchWebPartID(groupName)
    {

    var viewCounter=groupName.substring(0, groupName.indexOf(-));
    var lookupEntry=document.getElementById(GroupByWebPartID+viewCounter);
    if (lookupEntry==null)
    return null;
    return lookupEntry.getAttribute(webPartID);
    }

    function Browseris () {
    var agt=navigator.userAgent.toLowerCase();
    this.osver=1.0;
    if (agt)
    {
    var stOSVer=agt.substring(agt.indexOf(windows )+11);
    this.osver=parseFloat(stOSVer);
    }
    this.major=parseInt(navigator.appVersion);
    this.nav=((agt.indexOf('mozilla')!=-1)((agt.indexOf('spoofer')==-1) (agt.indexOf('compatible')==-1)));
    this.nav6=this.nav (this.major==5);
    this.nav6up=this.nav (this.major =5);
    this.nav7up=false;
    if (this.nav6up)
    {
    var navIdx=agt.indexOf(netscape/);
    if (navIdx =0 )
    this.nav7up=parseInt(agt.substring(navIdx+9)) =7;
    }
    this.ie=(agt.indexOf(msie)!=-1);
    this.aol=this.ie agt.indexOf( aol )!=-1;
    if (this.ie)
    {
    var stIEVer=agt.substring(agt.indexOf(msie )+5);
    this.iever=parseInt(stIEVer);
    this.verIEFull=parseFloat(stIEVer);
    }
    else
    this.iever=0;
    this.ie4up=this.ie (this.major =4);
    this.ie5up=this.ie (this.iever =5);
    this.ie55up=this.ie (this.verIEFull =5.5);
    this.ie6up=this.ie (this.iever =6);
    this.winnt=((agt.indexOf(winnt)!=-1)||(agt.indexOf(windows nt)!=-1));
    this.win32=((this.major =4) (navigator.platform==Win32)) ||
    (agt.indexOf(win32)!=-1) || (agt.indexOf(32bit)!=-1);
    this.mac=(agt.indexOf(mac)!=-1);
    this.w3c=this.nav6up;
    this.safari=(agt.indexOf(safari)!=-1);
    this.safari125up=false;
    if (this.safari this.major =5)
    {
    var navIdx=agt.indexOf(safari/);
    if (navIdx =0)
    this.safari125up=parseInt(agt.substring(navIdx+7)) =125;
    }
    }
    var browseris=new Browseris();
    var bis=browseris;
    function byid(id) { return document.getElementById(id); }
    function newE(tag) { return document.createElement(tag); }
    function wpf() { return document.forms[MSOWebPartPageFormName]; }
    function startReplacement() {}
    I can't claim credit, I just adapted this from other code that I've long since forgotten.Remember you need IISResets to see the style change and you might find it takes a while to get working. On the other hand it might work straight away. It's never the same deployment experience twice for me.

  • RELEVANCY SCORE 2.85

    DB:2.85:About Css Style Sheets 8f


    can anybody please tellme how to use css style sheets in Answers requests- column properties- custom css style options (HTML only) - use custom style and use custom class .

    any body please tell me how to use those two options to modify the colors of the fields in the end report.i am trying to achieve it from 2 days but still i am not able to ....could any body please....

    my requirement is like i want red color for first 5 rows in a perticular column

    Edited by: user12077461 on Dec 3, 2009 7:23 AM

    DB:2.85:About Css Style Sheets 8f

    user12077461 wrote:
    thnanks forthe replayIt's good forum etiquette to allocate points to people who have helped you. Click Helpful or Correct on the post to do this.

  • RELEVANCY SCORE 2.85

    DB:2.85:Lightswitch Html Client Advantage Custom Control aa


    I'm testing custom controls but i don't understand the benefit yet. for example if you change a list to custom control what is the advantage?

    Thanks for help

    DB:2.85:Lightswitch Html Client Advantage Custom Control aa

    Hi ayankovic
    Custom JavaScript controls allowus to create user experiences that are tailored to specific use cases and business needs. Microsoft LightSwitch team engineers share their tips and tricksabout the usage of custom controls in LightSwitch.

    Custom Controls and Data Binding in the LightSwitch HTML Client
    hope it helps.
    Regards

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

  • RELEVANCY SCORE 2.85

    DB:2.85:Custom Components Skins sj



    Hi

    Has anyone assigned style sheet to the skin, to apply generic changes for custom components?

    Cheers
    Negar

    DB:2.85:Custom Components Skins sj


    Hi

    Has anyone assigned style sheet to the skin, to apply generic changes for custom components?

    Cheers
    Negar

  • RELEVANCY SCORE 2.84

    DB:2.84:Best Practices For Adding Js To Master Page And Custom Page Layouts 3j


    Hi Community

    I have been building a load page layouts for client via Design Manager and SPD 2013 which for the most part look great. However, I think it is worth reviewing the steps involved as I have foundpart of the process at bitidiosyncratic
    in the way SharePoint and the Layout page combine at design time.

    1) start with your master page. In my case I have been working with with a media company who supplied the html for me to port into SharePoint.
    - Add your custom css to the master html once SharePoint as done it's successful conversion,
    - Add you custom js to the footer

    /footer
    !-- Bootstrap core JavaScript
    ================================================== --
    !-- Placed at the end of the document so the pages load faster --
    script type=text/javascript src=https://code.jquery.com/jquery-1.10.2.min.js//![CDATA[

    //]]
    /script
    script type=text/javascript src=/Style Library/client/js/bootstrap.min.js//![CDATA[
    I publish so see that my nice yellow content goes here bar

    When I create my custom welcome layout page for each of my business pages, SharePoint copies the above elements from the master page . There after I can add my html between the
    !--MS:asp:ContentPlaceHolder ID=PlaceHolderMain runat=server-- tags.
    What I have noticed is that in my custom layout pages, if I want to add a document ready functionsay a data picker widget
    !--ME:/asp:ContentPlaceHolder--
    script type=text/javascript//![CDATA[
    $(document).ready(function() {
    alert('help');
    $('#dp6').datepicker();
    });

    //]]

    /script

    what I am seeing is this is not being available postpublishing and hence any of pages, based on this layoutdo not have this function - even it does exists
    in the page layout html. It seems as is the master page is overriding this or it's being stripped out. Has anyone else had this issue and have had to add custom jquery to the master page which they have had to remove, once it
    appears in each layout page that requires it.

    any thoughts anyone?

    DB:2.84:Best Practices For Adding Js To Master Page And Custom Page Layouts 3j

    Hmmmm just run a test on this whereby I added the above snippet to my master page. I then publish a majorversion. I can see that every (Welcome)custom page layout has this data widget working, providing I add the div to the page..
    I wonder if the reason I can't add the snippet directly to an individual custom layout page is a bug or am I doing something incorrectly?

    Daniel

  • RELEVANCY SCORE 2.84

    DB:2.84:Encoding Problem When Sending Custom Html Emails c8


    I have an issue in my web application which allows users to send custom html emails. If the user types a quote in the email body it is translated into quot; so that when whoever receives the email, their email client reader will translate it into an
    actual quote. But I would like to allow the users to create their own html so if they use a quote in an html tag the client receives it with a quot; inside the tag instead of an actual quote mark. This prevent the email from rendering correctly.
    In other words the user creates the html email:
    span style=color: red;test/span
    when the client receives the email it is encoded as:
    span style=quot;color: red;quot;quot;testquot;/span
    This allows the quotes around the word test to be viewed as actual quotes in the clients email reader but the quotes in the html tag prevent the email from displaying as red in the clients email reader.
    Any suggestions on how to fix this would be appreciated. thanks!

    DB:2.84:Encoding Problem When Sending Custom Html Emails c8

    Hi
    eatsubway1,
    Welcome to MSDN Forums!

    You'll need to post it at
    http://forums.asp.netfor
    quicker and better responses, where ASP.NET experts live in.

    If theres anything unclear, please feel free to let me know.

    Best wishes,
    Mike
    *****************************************************
    [All-In-One Code Framework]
    Sample world! You will get more from this world!
    Welcome to the new world!

  • RELEVANCY SCORE 2.84

    DB:2.84:Ods Html Style Mso-Number Format 9d



    Hi all,

    I am creating ODS HTML report, one of the variable not displaying correctly in the HTML output.

    For Eg: ID has to display as '07008E08675 ' instead of its displaying as 1.7977E+308

    I used style={HTMLSTYLE="VND.MS-EXCEL.NUMBERFORMAT:@"}

    style=[htmlstyle="MSO-NUMBER-FORMAT:\@"]

    Please help me on this, Thanks In advance.

    DB:2.84:Ods Html Style Mso-Number Format 9d


    Thanks a Cynthia, The paper helped me a lot, really appreciate your quick response.

  • RELEVANCY SCORE 2.84

    DB:2.84:How To Change The Type Of A Custom Field For Existing Site Collections? 87


    Hi,
    Currently we have a series of SharePoint sites already created in which we have a custom field created as follows in a custom fldtypes.xml

    ?xml version=1.0 encoding=utf-8 ?
    FieldTypes
    FieldType
    Field Name=TypeNameHierarchyTaggingField/Field
    Field Name=TypeDisplayNameHierarchy Tagging Field/Field
    Field Name=TypeShortDescriptionAccenture Help Custom Field for Tagging Hierarchy (using other lookups)./Field
    Field Name=ParentTypeText/Field
    Field Name=FilterableTRUE/Field
    Field Name=FieldTypeClassHelp.Fields.HierarchyTaggingField, Help.Fields, Version=1.0.0.2, Culture=neutral, PublicKeyToken=e3f48f81099596cd/Field
    !--Field Name=FieldEditorUserControl/_controltemplates/LookupFieldEditor.ascx/Field--
    !--Field Name=FieldEditorUserControl/_controltemplates/Help/HelpFilterFieldTypeControl.ascx/Field--
    RenderPattern Name=DisplayPattern
    HTML![CDATA[span class=h1-HierarchyTaggingFieldControl style=display:none;]]/HTML
    LookupColumn HTMLEncode=TRUE /
    HTML![CDATA[/span ]]/HTML
    /RenderPattern
    RenderPattern Name=EditPattern
    HTML![CDATA[ ]]/HTML
    LookupColumn HTMLEncode=TRUE /
    HTML![CDATA[ ]]/HTML
    /RenderPattern
    /FieldType
    /FieldTypes

    DB:2.84:How To Change The Type Of A Custom Field For Existing Site Collections? 87

    Hi Dennis,
    Thanks for your help.
    I thought of this approach but was hoping for some miracle-like answer that avoided me the new field creation. But from the logical standpoint it seems as the right approach.
    I had some hope since on the already created sites it used to throw an error saying that the field had to be shorter than255 characters long, and after the change the error disappeared but the field only saves upto 255 characters.
    Thanks.
    I'll keep the post open for a while to see if anyone else finds the miracle :D

  • RELEVANCY SCORE 2.84

    DB:2.84:Client Found Response Content Type Of Text/Html; Charset=Utf-8, But Expected Text/Xml. m8


    After temporarily deploying to a spare SQL server to test for implementation with sharepoint, we've returned the settings to how they were but now I get this error when trying to deploy reports from Visual Studio. Any ideas anyone?Any help greatly appreciated.TITLE: Microsoft Report Designer------------------------------
    A connection could not be made to the report server http://mvfsvrsql/reports.
    ------------------------------ADDITIONAL INFORMATION:
    Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.The request failed with the error message:--html    head        titleRuntime Error/title        style         body {font-family:Verdana;font-weight:normal;font-size: .7em;color:black;}          p {font-family:Verdana;font-weight:normal;color:black;margin-top: -5px}         b {font-family:Verdana;font-weight:bold;color:black;margin-top: -5px}         H1 { font-family:Verdana;font-weight:normal;font-size:18pt;color:red }         H2 { font-family:Verdana;font-weight:normal;font-size:14pt;color:maroon }         pre {font-family:Lucida Console;font-size: .9em}         .marker {font-weight: bold; color: black;text-decoration: none;}         .version {color: gray;}         .error {margin-bottom: 10px;}         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }        /style    /head
        body bgcolor=white
                spanH1Server Error in '/Reports' Application.hr width=100% size=1 color=silver/H1
                h2 iRuntime Error/i /h2/span
                font face=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif
                b Description: /bAn application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.            brbr
                bDetails:/b To enable the details of this specific error message to be viewable on remote machines, please create a customErrors tag within a web.config configuration file located in the root directory of the current web application. This customErrors tag should then have its mode attribute set to Off.brbr
                table width=100% bgcolor=#ffffcc               tr                  td                      codepre
    !-- Web.Config Configuration File --
    configuration    system.web        customErrors mode=Off/    /system.web/configuration/pre/code
                      /td               /tr            /table
                br
                bNotes:/b The current error page you are seeing can be replaced by a custom error page by modifying the defaultRedirect attribute of the application's customErrors configuration tag to point to a custom error page URL.brbr
                table width=100% bgcolor=#ffffcc               tr                  td                      codepre
    !-- Web.Config Configuration File --
    configuration    system.web        customErrors mode=RemoteOnly defaultRedirect=mycustompage.htm/    /system.web/configuration/pre/code
                      /td               /tr            /table
                br
        /body/html
    --. (Microsoft.ReportingServices.Designer)
    ------------------------------BUTTONS:
    OK------------------------------

    DB:2.84:Client Found Response Content Type Of Text/Html; Charset=Utf-8, But Expected Text/Xml. m8

    Hi Jin Chen - MSFT,
    I think I'm having similar issue as Jonnythedrum.I've taking a close look at this solution here but for some reason I can't seen to workout the solution for my situation.
    I'm trying to connect to reporting services by Sql serever management studio and I get this messge:
    TITLE: Connect to Server
    ------------------------------
    Cannot connect to COMP1\SQL2K5.
    ------------------------------
    ADDITIONAL INFORMATION:
    Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    html
    head
    title
    SQL Server Reporting Services
    /titlemeta name=Generator content=Microsoft SQL Server Reporting Services 9.00.1406.00 /
    meta name=HTTP Status content=500 /
    meta name=ProductLocaleID content=9 /
    meta name=CountryLocaleID content=1033 /
    meta name=StackTrace content= at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load()
    at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Construct(String configFileName)
    at Microsoft.ReportingServices.Diagnostics.RSConfiguration..ctor(String configFileName, String location)
    at Microsoft.ReportingServices.Diagnostics.RSConfigurationManager..ctor(String configFileName, String configLocation)
    at Microsoft.ReportingServices.Library.Global.get_ConfigurationManager()
    at Microsoft.ReportingServices.WebServer.Global.StartApp()
    at Microsoft.ReportingServices.WebServer.Global.Application_BeginRequest(Object sender, EventArgs e) /
    style
    BODY {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE: 8pt; COLOR:black}
    H1 {FONT-FAMILY:Verdana; FONT-WEIGHT:700; FONT-SIZE:15pt}
    LI {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE:8pt; DISPLAY:inline}
    .ProductInfo {FONT-FAMILY:Verdana; FONT-WEIGHT:bold; FONT-SIZE: 8pt; COLOR:gray}
    A:link {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
    A:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#FF3300; TEXT-DECORATION:underline}
    A:visited {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}
    A:visited:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; color:#FF3300; TEXT-DECORATION:underline}
    /style
    /headbody bgcolor=white
    h1
    Reporting Services Errorhr width=100% size=1 color=silver /
    /h1ul
    liThe report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError) /liul
    liAccess to the path 'C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\RSReportServer.config' is denied./li
    /ul
    /ulhr width=100% size=1 color=silver /span class=ProductInfoSQL Server Reporting Services/span
    /body
    /html
    --. (Microsoft.SqlServer.Management.UI.RSClient)
    ------------------------------
    BUTTONS:
    OK
    ------------------------------
    When I try to connect vai the browser, I get the request for username and password. I don't remember setting one and every atempt has been in vain.
    Pleae help!!
    AkuAku

  • RELEVANCY SCORE 2.83

    DB:2.83:Java Mail Problem In Sending Html m8


    Hi

    I had created one java mail program i would send a static html page to the clients., I had already created a static html page with style sheets (CSS)
    using Stringbuffer i had append the entire html content and sent to client., the mail was sending successfully, but in client side i don't get any pictures and the style sheet was not applied why?
    Only html message with some text was appeared but the style sheet formatted design was not send why?
    Can any one please give solutions for this problem

    sample code

    sb.append("html");
    sb.append("head");
    sb.append("/head");
    sb.append("meta http-equiv='Content-Type' content='text/html; charset=windows-1252'");
    sb.append("meta name='GENERATOR' content='Microsoft FrontPage 4.0'");
    sb.append("meta name='ProgId' content='FrontPage.Editor.Document'");
    sb.append("meta name='Microsoft Theme' content='rmnsque 1111'");
    sb.append("link href='css/style.css' rel='stylesheet' type='text/css'");
    sb.append(" style type='text/css'/style");
    sb.append("brp align = 'center'bufont face = 'Arial' font size = 3brQUOTE INFORMATION/u/font/p");
    sb.append("table border='0' width='100%' height='50'");
    sb.append("/table/html")

    Thanks
    Marimuthu.NMessage was edited by:
    muthu2007

    DB:2.83:Java Mail Problem In Sending Html m8

    Thanks a lot Mr. Shannon
    Now i can achieve this

    Regards
    Muthu

  • RELEVANCY SCORE 2.83

    DB:2.83:How To Apply Style For Welcome User Menu Context Menu k3


    Hi,
    How can i apply my custom style for welcome user menu context list .
    it is display default style instead of that i need to apply my custom style (signin as different user, sign out..)

    DB:2.83:How To Apply Style For Welcome User Menu Context Menu k3

    Hello BrettoAbraham,
    You may use IE developer tool bar to locate the html component and customize corresponding style sheets.
    Since the welcome menu is fly out, you need to click on the welcome and then click on refresh button in IE developer tool bar, then select the menu you want to customize and check on the styles/style sheets.

    Regards,
    Jing Wang | Microsoft Online Community Support

  • RELEVANCY SCORE 2.83

    DB:2.83:Re: Need To Hide A Measure Column In A Pivot Table In Bi Answers cx


    Hi Jenny,

    Try this.......

    Pivot Table - Measures column- Click on More Options - Format Headings - In the Custom CSS Style Options (HTML Only) - check use Custom CSS Style
    and enter display:none

    Measures column- Click on More Options - Format Measure Values - In the Custom CSS Style Options (HTML Only) - check use Custom CSS Style
    and enter display:none

    Cheers,
    Aravind

    DB:2.83:Re: Need To Hide A Measure Column In A Pivot Table In Bi Answers cx

    Well that didn't work but thanks for your time anyway.
    And no need to say 'no,no,no' like that.

  • RELEVANCY SCORE 2.82

    DB:2.82:How To Customize Bc4j Jsp Tags? a9


    Hi,
    I'm new to this JSP Tag library stuff. I'm using Bc4J HTML form tag called InputSelect (for select HTML element). I'm unable to apply my style sheet and provide size attribute to this element. the jbo:InputSelect tag does not have the "size" attribute, Can anybody let me know how to customize BC4J custom tags, Or point me to a guide on how to create my own custom tag.

    Thanks,
    RM

    DB:2.82:How To Customize Bc4j Jsp Tags? a9

    Hi,
    I'm new to this JSP Tag library stuff. I'm using Bc4J HTML form tag called InputSelect (for select HTML element). I'm unable to apply my style sheet and provide size attribute to this element. the jbo:InputSelect tag does not have the "size" attribute, Can anybody let me know how to customize BC4J custom tags, Or point me to a guide on how to create my own custom tag.

    Thanks,
    RM

  • RELEVANCY SCORE 2.82

    DB:2.82:Retrieving Text From Html ak


    is there a way to retrieve text from html??

    for example, i have a html as below:
    html head style !-- p.default { size:3; bold:normal; foreground:#000000; italic:; family:Times New Roman; } -- /style /head body p class=default span style="color: #000000; font-size: 12pt; font-family: Times New Roman" hello world /span /p /body /html

    how can i retrieve the text "hello world" with the font as times new roman, size 12??

    DB:2.82:Retrieving Text From Html ak

    hi sanmenon,
    thanks for ur help... now i can convert my text into html and at the same time restoring it from html to text.... 1 more question:
    i have insert a image into my jtextPane as shown below:

    //inserting jtextpane
    jTextPane2 = new javax.swing.JTextPane(new HTMLDocument());
    HTMLEditorKit kit = new HTMLEditorKit();
    jTextPane2.setEditorKit(kit);
    HTMLDocument doc=(HTMLDocument)jTextPane2 .getDocument();
    try {
    kit.insertHTML(doc,0,"img src=\"file://////C:\\swot\\nyp\\sit\\gtzhub\\instrument\\SWOT\\images\\star-yellow-tan-sun-points1copy.gif\"",0,0,HTML.Tag.IMG);
    }
    catch(Exception e) {
    }

    by doing this, when i use the getText() to convert text to html, my image also convert to html... as shown below:

    html
    head
    /head
    body
    p img src="file://////C:\swot\nyp\sit\gtzhub\instrument\SWOT\images\star-yellow-tan-sun-points1copy.gif"
    HELLOfont face="Times New Roman" size="7"WORLD/font
    /p
    /body
    /html

    however, i do not want the image to be converted into html... is there a way to ignore the image while converting text to html???

  • RELEVANCY SCORE 2.81

    DB:2.81:Accessing Psc Appliance Custom Directory From Windows 7j



    Many people are more comfortable using the editors on their windows machine to edit HTML, JSP, CSS, etc. that may be part of their custom style.  To enable access to ***to everyone*** to the custom directory where custom styles are stored you can run the following commands.  To make this more secure investigate the options for configuring Samba, the linux package that provides this.  After you run the commands you should be able to go to a windows file explorer window and type \\psc-server-name in the location box and there will be a directory called psc-custom.

    Log in as the root user:

    yum install samba samba-client samba-common

    /sbin/chkconfig smb on

    /sbin/chkconfig nmb on

    /usr/sbin/setsebool -P smbd_disable_trans on

    /usr/sbin/setsebool -P winbind_disable_trans on

    /usr/sbin/setsebool -P nmbd_disable_trans on

    /sbin/iptables -I INPUT -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT

    /sbin/iptables -I INPUT -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT

    /sbin/iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT

    service iptables save

    mv /etc/samba/smb.conf /etc/samba/smb.conf.bak

    vi /etc/samba/smb.conf

    #======================= Global Settings ===========

    [global]

    workgroup = WORKGROUP

    security = share

    map to guest = bad user

    #================ Share Definitions ========================

    [psc-custom]

    path = /opt/cisco/cpsc/jboss-as-7.1.1.Final/RequestCenterServer/deployments/RequestCenter.war/custom

    browsable =yes

    writable = yes

    guest ok = yes

    read only = no

    chmod -R 0777 /opt/cisco/cpsc/jboss-as-7.1.1.Final/RequestCenterServer/deployments/RequestCenter.war/custom

    /sbin/service smb restart

    DB:2.81:Accessing Psc Appliance Custom Directory From Windows 7j


    Many people are more comfortable using the editors on their windows machine to edit HTML, JSP, CSS, etc. that may be part of their custom style.  To enable access to ***to everyone*** to the custom directory where custom styles are stored you can run the following commands.  To make this more secure investigate the options for configuring Samba, the linux package that provides this.  After you run the commands you should be able to go to a windows file explorer window and type \\psc-server-name in the location box and there will be a directory called psc-custom.

    Log in as the root user:

    yum install samba samba-client samba-common

    /sbin/chkconfig smb on

    /sbin/chkconfig nmb on

    /usr/sbin/setsebool -P smbd_disable_trans on

    /usr/sbin/setsebool -P winbind_disable_trans on

    /usr/sbin/setsebool -P nmbd_disable_trans on

    /sbin/iptables -I INPUT -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT

    /sbin/iptables -I INPUT -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT

    /sbin/iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT

    service iptables save

    mv /etc/samba/smb.conf /etc/samba/smb.conf.bak

    vi /etc/samba/smb.conf

    #======================= Global Settings ===========

    [global]

    workgroup = WORKGROUP

    security = share

    map to guest = bad user

    #================ Share Definitions ========================

    [psc-custom]

    path = /opt/cisco/cpsc/jboss-as-7.1.1.Final/RequestCenterServer/deployments/RequestCenter.war/custom

    browsable =yes

    writable = yes

    guest ok = yes

    read only = no

    chmod -R 0777 /opt/cisco/cpsc/jboss-as-7.1.1.Final/RequestCenterServer/deployments/RequestCenter.war/custom

    /sbin/service smb restart

  • RELEVANCY SCORE 2.80

    DB:2.80:Lp00 On Its Standalone 3j



    Hello,

    we have SAP 4.7 and ITS standalone. We have not ITSMobile.

    Anybody knows if It is possible create custom template on ITS standalone for the transaction LP00 ?

    We would like customize the screen of standard transaction LP00, in order to give custom style to HTML pages.

    Thanks and best regards,

    Matteo

    DB:2.80:Lp00 On Its Standalone 3j


    Hello Oisin,

    thank you for your answer. I'am trying to create the service and template for the transaction LP00, but the structure of transaction is strange. It is an ABAP report without dynpro; after the transaction execution, it calls a PERFORM in another program that calls a FUNCTION with the dynamic name (see below):

    CONCATENATE lv_progr+4(4) '_TEMPLATE_CALL' INTO lv_func.

    CALL FUNCTION lv_func

    ...

    When I try to create the template in the FUNCTION GROUP, using the dynpro I get from R/3 in the "System: Status", the ITS returns "Interpreter Failed" error.

    Do you know how can I create the ITS structure in order to use LP00 with a template custom layout?

    Thanks and best regards,

    Matteo

  • RELEVANCY SCORE 2.80

    DB:2.80:-Bodyashtml 31



    I am rewriting a script, and I want the output to be in HTML in a direct email message. In my last script, I would write a function, and then in the Send-MailMessage cmdlet, I would have something like -Body (Write-Mydata | Out-String). That would write everything that I wanted, and overall it looked nice, but I want to step it up with HTML, and the text gets off-center in certain versions of outlook when I use Out-String

    I have used HTML for a snapshot report, so I would have:

    $custom = 'style

    DB:2.80:-Bodyashtml 31


    I know it's me, I can't seem to get this to work. I have the $Head portion at the top, but I'm doing something wrong with it in my script. I have my script attached as a text file, I nornally like to figure this out, but every time I try to implement this I fail at it. Would you show me in the script how this should work? Obviously it's no rush, I'm still working on the script anyway, along with my other duties. Thanks again.

  • RELEVANCY SCORE 2.80

    DB:2.80:Combobox Style Control In Crystal Reports dc



    pDoes anyone know if a combobox style control is available in Crystal Reports? The production environment is Business Objects XI R2 on Windows 2003 Server and Crystal Reports Developer XI. Reports are delivered via Infoview./ppMost of the reports have "account" as an input parameter/prompt. The values are from a LOV. Some client relationships have a few hundreds to 1000 accounts. So the usability of a HTML SELECT style dropdown degrades rapidly as the number of elements in the list grows./ppA combobox control would allow the user to type in a partial account and scroll to that entry. E.g.: The search feature in Google Suggest http://www.google.com/webhp?complete=1hl=en/ppDoes WebElements have any custom controls that might have these requirements? Are there any 3rd party components that may meet these needs? /ppAny help would be greatly appreciated./ppThanks/ppRamki /p

    DB:2.80:Combobox Style Control In Crystal Reports dc


    Jamie - The combobox select control is pretty cool. Created some sample reports with it. Our next test is going to be with a bigger volume of data for the ElementValues.

    Will post our feedback on how responsive the control is with say a thousand elements in the dropdown.

    Regards,

    Ramki Balakrishnan

  • RELEVANCY SCORE 2.80

    DB:2.80:Align Html Elements Horizontally Within Custom Control 3k


    Hello, i'm having trouble aligning my html elements in my custom JavaScript control.
    When you put the following HTML in a blank HTML page, the controls align horizontally (how I want). See image below.
    body
    input name=txtValue type=text style=width: 100px; /
    input name=btnGo type=button value=Go style=width: 40px; /
    /body

    Now, when i try to create the same html for my custom control, using the code below in the _render function, the elements align vertically. the image below shows the result in LightSwitch.
    var $element = $(element);
    var $textbox = $('input name=txtValue type=text style=width: 100px; /');
    var $button = $('input name=btnGo type=button value= style=width: 40px; /');
    $element.append($textbox);
    $element.append($button);

    I need some help to align these input controls horizontally. I have tried various style settings like display, float, clear, position, but I might be missing the exact combination of styles needed. Since the HTML works perfect in a simple page I can't really
    determine why it wouldn't work in LightSwitch. I even tried a table with a single table row (each control put in its own td) and they still aligned vertically!
    Thanks!

    DB:2.80:Align Html Elements Horizontally Within Custom Control 3k

    Thanks for your time helping explain stuff. I was able to find a solution using an outer div around my elements with data-role=controlgroup and data-type=horizontal. This appears to handle the horizontal arrangement for my elements in jQuery UI Mobile.
    But for some reason the text input always appears to the right of the button no matter what order I append them. So to fix that I set float:left on the text input and it work!

    var itemTemplate = $('div data-role=controlgroup data-type=horizontal /div');

    var $textbox = $('input name=txtValue type=text style=width: 50px;float:left /');
    var $button = $('input name=btnGo type=button value=Go style=width: 40px; /');

    $textbox.appendTo($(itemTemplate));
    $button.appendTo($(itemTemplate));
    itemTemplate.appendTo($(element));

  • RELEVANCY SCORE 2.79

    DB:2.79:Webpart Not Picking Up Css Styles... js


    I have written a custom webpart that writes out some HTML. For instance one line of HTML is a simple div that utilizes a class. When I install this on our dev server, all is well. When installing on our QA box, the style is not picked up. The style sheet is correct and contains the classes, the HTML is correct, but the style simply isn't used.Any ideas?http://focusedgames.com

    DB:2.79:Webpart Not Picking Up Css Styles... js

    What about reenabling the cache: did you try that? --
    http://blog.mastykarz.nl

  • RELEVANCY SCORE 2.79

    DB:2.79:Skins Problems pc





    In my logs there is that line, and for user web0 i cannot change skins!!!!! The pages havent any css style.

    [Fri Jun 09 07:07:33 2006] [error] [client x.x.x.x] File does not exist: /var/www/confixx/html/mskins, referer: http://myhost.com/user/web0/allgeme...l_overviewmain_menu_page=allgemein_start.php

    What can i do?

    Thanks in advice

  • RELEVANCY SCORE 2.79

    DB:2.79:Custom Skings For Adf, ≪Af:Page≫ Tabs Are Not Showing Up. 3a


    I have custom skin created with our own style sheet. After switching the skin-family to our custom skin, page which had tab on the top and links on the bottom are missing now.

    We have changed the background colors for the table and tableSelectMany has created two table when I view the html page source. Hence our selectOneChoice and button next to them are showing up as two tables instead of 2 tds.

    What am I missing?? Any help would be highly appreciated.

    TIA

  • RELEVANCY SCORE 2.79

    DB:2.79:Use Custom Css Style In Obiee For Column Formatting z7


    I am trying to use the Custom CSS Style option for Column Formatting. Does anybody know if I can set the value of the CSS Custom Style to take the value of a Presentation Variable that is being set in the Analysis. I have a Presentation variable called @{Var}. When I use this under the Use Custom CSS Style, OBIEE ignores it.

    DB:2.79:Use Custom Css Style In Obiee For Column Formatting z7

    I am trying to use the Custom CSS Style option for Column Formatting. Does anybody know if I can set the value of the CSS Custom Style to take the value of a Presentation Variable that is being set in the Analysis. I have a Presentation variable called @{Var}. When I use this under the Use Custom CSS Style, OBIEE ignores it.

  • RELEVANCY SCORE 2.79

    DB:2.79:Custom Aspx Page Css Style For Html Select 1c


    Hi all,i have a problem with HTML select compatability in IE 6/7/8.Develop a custom aspx page using HTML select control and every thing is working fine ,but the problem only at display.it looks fine height wise width wise fine at IE8 .In IE 6 the HTML select Css style not rendered perfectly looks compressed mode.Following the code line used in the page please help me to move forwardselect id=selOption runat=server style=height:100%;width:100%; size=1

    /selectthanksVenkataPoptionA/optionoptionB/optionoptionC/optionoptionD/optionoption selected=selectedNot Required/optionVenkataP

    DB:2.79:Custom Aspx Page Css Style For Html Select 1c

    Set the height to a px value like select id=selOption runat=server style=height:25px;width:100%; size=1

  • RELEVANCY SCORE 2.78

    DB:2.78:Chart Themes ak



    A way to create a custom set of colors for a file.

    I have a corporate client with some pretty strict guidelines in their style book about chart creation, and it be nice to follow it

    DB:2.78:Chart Themes ak


    + improve the display on FM Go. It is way too blurry.

  • RELEVANCY SCORE 2.78

    DB:2.78:Custom Checkin Policy Installation 3a


    I've been trying out a custom null comment checkin policy and it works great *except* that we seem to have to not only install on the server but also on every client.  Having to install on every client is a bit of a problem and holding up deployment because now we've got to go through IT to get the client software installed.  Believe, that is a drag.  Is there any way to create custom checkin policies that only require server installation?  I mean, couldn't the server do a click-once style install for each client when or if they need client side software components for the custom policy?  If not, please consider this for the next version of TFS.

    DB:2.78:Custom Checkin Policy Installation 3a

    Thanks!  As long as you are asking about how to improve them ... :-)  Let me suggest adding a few more built-in policies like empty comments.  Also provide a Team Project alert that fires when someone overrides a checkin policy with the changeset link and the reason they provided.  Managers / tech leads would find this very useful.  Another policy that also might be useful is one that verifies that all the pending changes in the current VS solution are being checked in.  If not the policy could recommend that users shelve the changes they don't plan to checkin, restore those files back to the baseline version and verify the solution still builds before attempting the checkin.  Yes, the build breaks on us occassionally because people do a partial checkin.

  • RELEVANCY SCORE 2.78

    DB:2.78:Custom Css In Custom Master Not Working 8j


    I have created a custom style sheet named efficiency.css that includes a number of style classes prefixed ms-rteStyle (I'm expecting them to turn up in the Styles list when I edit the page in IE)
    For example:
    .ms-rteStyle-H2_Orange {
    -ms-name: 1E H2 Orange
    font-family: droid Sans;
    font-size: 22px;
    color: #FF9900;
    }
    This css file is saved in the Style Library/en-us/Themable/Core Styles folder in the Site Collection's root site (Intranet)
    I then made a copy of v4.master in the Master Pages library in the Intranet site. I modified this copy adding the line in bold below after the two existing lines shown.
    SharePoint:CssRegistration name=% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/controls.css % runat=server/
    SharePoint:CssRegistration name=% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/nightandday.css % After=corev4.css runat=server/
    SharePoint:CssRegistration name=% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/efficiency.css % After=nightandday.css runat=server/
    I saved efficiency.master, checked it in and approved it.
    I then changed the master page for the site to efficiency.master
    I don't seem to have access to any of the classes in my efficiency.css file - they certainly don't appear in the Sytles drop-down, and if I modify the HTML to reference a class, it has no effect on the text style.
    What am I missing?
    Dave

    DB:2.78:Custom Css In Custom Master Not Working 8j

    Hi,
    Sure you can find out which page layout it has. If you go to the Pages library where the page is hosted you should be able to see what page layout it has. If not, modify the view to show that column.Blog: Married to SharePoint Twitter:
    @SPNiax

  • RELEVANCY SCORE 2.78

    DB:2.78:Custom Css Style To Region a1


    what solution can i get to style a region with a custom CSS style?

    can't I force the HTML region tag (is it a TD, isn't?) to have an ID or a STYLE I choose?

    (then i can insert an HTML PORTLET to write the CSS style)

    DB:2.78:Custom Css Style To Region a1

    what solution can i get to style a region with a custom CSS style?

    can't I force the HTML region tag (is it a TD, isn't?) to have an ID or a STYLE I choose?

    (then i can insert an HTML PORTLET to write the CSS style)

  • RELEVANCY SCORE 2.78

    DB:2.78:How To Navigate Back In Html Client Using Javascript? ak


    In html client, when you are using built-in navigation to navigate to a detail screen, it adds a back button at the up-left corner of the screen. how can I navigate back the exactly same way using javascript? The reason for this is that in the custom
    method, I might need to do a few things in javascript code.

    jl

    DB:2.78:How To Navigate Back In Html Client Using Javascript? ak

    Hi,
    I am very glad that you have solved your problem by yourself.
    If you have any other problem, welcome to post it in the Visual Studio LightSwitch Forums.
    Best Regards,
    Amy PengTHE CONTENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED
    Thanks
    MSDN Community Support

    Please remember to Mark as Answer the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • RELEVANCY SCORE 2.78

    DB:2.78:Can Custom Controls Show In The Data-Win-Control Property Intellisense? aa


    Is it possible to have custom controls show up in the intellisense for the data-win-control property in addition to the WinJS controls when working with a .html page in a Metro style JS app? The custom controls are in an SDK that is deployed in VS
    and referenced in the project just like the WinJS library.

    DB:2.78:Can Custom Controls Show In The Data-Win-Control Property Intellisense? aa

    Sorry in the delay... I was doing some research. I do not believe this is possible. There may be some way to add this in Visual Studio if this is critical for you however. Really this would be a function of Visual Studio. You could
    ask in the Visual Studio VNext forum and get a definitive answer.
    -JeffJeff Sanders (MSFT)

  • RELEVANCY SCORE 2.78

    DB:2.78:Call Custom Web Service From Plugin 73


    hi guys,I try to call my custom web service which deployed as part of CRM4 and receive the following error:
    Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.The request failed with the error message:--html    head        titleNo Microsoft Dynamics CRM user exists with the specified domain name and user ID/title        style...        /style    /head
        body bgcolor=white
                spanH1Server Error in '/RecurrenceService' Application.hr width=100% size=1 color=silver/H1
                h2 iNo Microsoft Dynamics CRM user exists with the specified domain name and user ID/i /h2/span
    ...table width=100% bgcolor=#ffffcc               tr                  td                      codepre
    [CrmException: No Microsoft Dynamics CRM user exists with the specified domain name and user ID]   Microsoft.Crm.Authentication.WindowsAuthenticationProvider.Authenticate(HttpApplication application) +895   Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application) +125   Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application) +66   Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e) +513   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean completedSynchronously) +64/pre/code
                      /td               /tr            /table
                br
                hr width=100% size=1 color=silver
                bVersion Information:/b Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
                /font
        /body/html!-- [CrmException]: No Microsoft Dynamics CRM user exists with the specified domain name and user ID   at Microsoft.Crm.Authentication.WindowsAuthenticationProvider.Authenticate(HttpApplication application)   at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)   at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)   at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean completedSynchronously)----.There are some additional data:code for calling my web service:    RecurrenceService serv = new RecurrenceService();    serv.Credentials = System.Net.CredentialCache.DefaultCredentials;    string result = serv.UpdateSeries();CRM4 url: http://cw-dev-5/loader.aspxcustom service url: http://cw-dev-5/RecurrenceService/RecurrenceService.asmxthe following code snippet System.Security.Principal.WindowsIdentity.GetCurrent().Name return: NT AUTHORITY\NETWORK SERVICE (I suppose it's a cause of error)Could someone suggest me any solution to resolve my issue?

    DB:2.78:Call Custom Web Service From Plugin 73

    If you use System.Net.CredentialCache.DefaultCredentials it will be the Network Service account as that is what plugins are executed as, you can try using serv.Credentials = new NetworkCredential(username, password, domain) and get those settings from
    the plugins secure configuration...

  • RELEVANCY SCORE 2.77

    DB:2.77:Eg Style Manager And User-Defined Style Templates pz



    Okay, I'm flummoxed by the EG style manager (SAS 9.3 on Linux, EG 4.3).

    I used proc template to make a custom style MyHTML and save it in work.templat, because it's only for this session.

    I can use this style fine in EG when I write my own ODS sandwich : ods html file=... style=MyHTML etc

    I have HTML results turned on, so thought that to get my EG HTML output to use MyStyle, I would use the Style Manager. But can't see how to add this style.

    Is there an easy way for me to add a user-defined style template to the styles accessible to Style Manager?

    Or is there a way via code to just say "Hey EG, when you make HTML output, please use this style" ?

    If I add: ODS HTML (id=EGHTML) style=MyStyle ;

    before my a code block it works, but I would have to add that for every submit block to over-ride the ODS statement generated by EG wrapper.

    Maybe I need to create a CSS file and then import that, per:

    http://blogs.sas.com/content/sasdummy/2011/08/02/how-to-add-htmlblue-to-your-list-of-styles-in-sas-enterprise-guide/

    but while that makes sense for a permanent style template, doesn't make sense for a temporary one.

    I guess the real issue is that EG isn't actually using the style templates from my ODS path, it uses these CSS definitions???

    Or perhaps this approach makes more sense for use by a programmer (particularly since the template is in the work library):

    http://support.sas.com/resources/papers/proceedings13/408-2013.pdf

    Thanks,

    --Q.

    DB:2.77:Eg Style Manager And User-Defined Style Templates pz


    And, when you are using the BI Platform and client applications like Web Report Studio, there might be different things you have to do to have your custom style recognized by WRS. If you do need to use your custom style with Web Report Studio and not with just EG, then you need to look at the documentation for how to work with Web Report Studio and change the style:

    SAS(R) 9.3 Intelligence Platform: Web Application Administration Guide, Third Edition

    cynthia

  • RELEVANCY SCORE 2.77

    DB:2.77:Custom Theme Not Working After Application Of Sps sc



    Hi

    This is regarding an upgrade issue that has come up after the implementation of SPs.

    Recently support packs have been applied to the sandpit portal to achieve the Target Support Pack Level : ECC - Enhp6 SPS10 EP - Enhp 2 SP15

    After the application of the SPs, the custom theme has gone for the WD ABAP applications.

    SAP standard theme is refelcted for the header and the table for HR applications like Employee Profile , View Talent Information etc.

    Some information that might help :

    SAP Portal Style Sheet :

    Custom theme : portal=7.2.14.0.1;ur=7.33.3.57.1;7.2.6.0.0

    SAP Standard Tradeshow theme : portal=7.2.14.0.0;ur=7.33.3.57.0;0.0.0.0.0

    WD ABAP style sheets

    7.33.3.13.0

    Version of the SAP GUI for HTML style sheet

    kernel release : 720

    Supp. Pkg. Lvl. : 500

    Please help to resolve the issue.

    Regards

    Shaily

    DB:2.77:Custom Theme Not Working After Application Of Sps sc


    Hi Veera

    I have checked the mentioned SAP note , but it doesn't fulfills the purpose and the portal is at higher patch level than WD ABAP.

    Please suggest.

    Regards

    Shaily

  • RELEVANCY SCORE 2.77

    DB:2.77:Rh8 Table Lines Not Behaving In New Style 3z



    We want our table style to be solid black lines, 1 pt in width, 3 pts padding all around. The new default in RH8 is the classic HTML style instead of the 1 pt black lines from RH7...!

    So I created a style for Tables in my custom style sheet and even though I select 'all borders' in the drop down with black 1pt lines I only seem to be affecting the table border, not the cells. ??

    When I try selecting Horizontal or Vertical borders, I lose lines...not gain them. How do I set this for all cell borders/table boarders and make it work?

    Thank you very much!

    DB:2.77:Rh8 Table Lines Not Behaving In New Style 3z


    Boy...that looks a lot like what we want to do! Let me check that out...and thanks for the tip on the 'clean table inline formatting'...thank you!!!!

  • RELEVANCY SCORE 2.77

    DB:2.77:Re: Preserving Carriage Returns In Html Db Report ma


    This is an interesting question. It works in this forum since the text area for entering
    a thread has some kind of a HTML Editor, which is probably some kind of a custom editor.

    Other than that, you can use display:block;width:?px in CSS Style of your column to
    at least control the width of a report column.

    Denes Kubicek

    DB:2.77:Re: Preserving Carriage Returns In Html Db Report ma

    There should be a better way to do this.

    Wonder how the WIKI software does this kind of thing?

    All pages on a Wiki are editable so switching between readonly and editable mode is something they have mastered.

  • RELEVANCY SCORE 2.77

    DB:2.77:Style= Override In Proc Report For Html Output (Set Column Widht) m7



    Hi,

    I'm trying to get a larger column in PROC REPORT like this, using style override with CELLWIDTH:

    STYLE= override in PROC REPORT for HTML output (set column widht)DEFINE formula /GROUP FORMAT =$formula. "Sales (x 1.000 E)" STYLE(COLUMN)={JUST=CENTER CELLWIDTH=400px};[/b]

    In the HTML output this generates it doesn't seem to have effect.

    Can anyone help me on this?

    Cheers,

    Gahan

    DB:2.77:Style= Override In Proc Report For Html Output (Set Column Widht) m7


    Hi:

    I tried this using ODS HTML in SAS 9.1.3 and the 400px did work for me. If you need a quick resolution to this issue, Tech Support may be your best bet.

    cynthia

    Re: STYLE= override in PROC REPORT for HTML output (set column widht)

    ods html file='c:\temp\cw.html';

    proc report data=sashelp.class nowd;

    column name age height;

    define age /display

    style(column)={just=center cellwidth=400px};

    run;

    ods html close;

    https://communities.sas.com/pre

  • RELEVANCY SCORE 2.76

    DB:2.76:Custom Style Overridden By Theming pp


    Hi all,
    I have a application using the theming functionality of the toolkit.
    I'm trying to set a custom style on a button like so:
    Button Style={StaticResource MyCustomStyle}/
    I don't want this button to get the theme style. However when I run the app my custom style is replaced by the default style for the Button control.
    What can I do to fix this?
    Thanks.

    DB:2.76:Custom Style Overridden By Theming pp

    Ok here ismy custom style:

    Style x:Key=styleButtonTopMenu TargetType=Button
    Setter Property=Width Value=140/
    Setter Property=VerticalAlignment Value=Stretch/
    Setter Property=Template
    Setter.Value
    ControlTemplate TargetType=Button
    Grid
    Rectangle
    Rectangle.Fill
    LinearGradientBrush EndPoint=0.5,1 StartPoint=0.5,0
    GradientStop Color=#FFff9f58/
    GradientStop Color=#FF8e3c00 Offset=1/
    GradientStop Color=#FFfb6c00 Offset=0.84/
    /LinearGradientBrush
    /Rectangle.Fill
    /Rectangle
    TextBlock FontFamily=Trebuchet MS FontSize=16 Foreground=White Margin=8 VerticalAlignment=Center HorizontalAlignment=Center FontWeight=Bold Text={TemplateBinding Tag}
    TextBlock.Effect
    DropShadowEffect Color=#FFB44B19 ShadowDepth=0 BlurRadius=4 Opacity=1/
    /TextBlock.Effect
    /TextBlock
    /Grid
    /ControlTemplate
    /Setter.Value
    /Setter
    /Style

    The button I want to style:

    Button Tag=Home Style={StaticResource styleButtonTopMenu}/

    The default button style in my theme:
    Style TargetType=Button
    Setter Property=Height Value=36/
    Setter Property=Cursor Value=Hand/
    Setter Property=Template
    Setter.Value
    ControlTemplate TargetType=Button
    Grid
    vsm:VisualStateManager.VisualStateGroups
    vsm:VisualStateGroup x:Name=CommonStates
    vsm:VisualStateGroup.Transitions
    vsm:VisualTransition GeneratedDuration=00:00:00.3000000/
    /vsm:VisualStateGroup.Transitions
    vsm:VisualState x:Name=MouseOver
    Storyboard
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=ellipse Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#BEFFFFFF/
    /ColorAnimationUsingKeyFrames
    DoubleAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=ellipse Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Offset)
    EasingDoubleKeyFrame KeyTime=00:00:00 Value=0.403/
    /DoubleAnimationUsingKeyFrames
    DoubleAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=ellipse Storyboard.TargetProperty=(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)
    EasingDoubleKeyFrame KeyTime=00:00:00 Value=1.7/
    /DoubleAnimationUsingKeyFrames
    DoubleAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=ellipse Storyboard.TargetProperty=(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)
    EasingDoubleKeyFrame KeyTime=00:00:00 Value=1.7/
    /DoubleAnimationUsingKeyFrames
    DoubleAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=ellipse Storyboard.TargetProperty=(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)
    EasingDoubleKeyFrame KeyTime=00:00:00 Value=0/
    /DoubleAnimationUsingKeyFrames
    DoubleAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=ellipse Storyboard.TargetProperty=(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)
    EasingDoubleKeyFrame KeyTime=00:00:00 Value=0/
    /DoubleAnimationUsingKeyFrames
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=contentControl Storyboard.TargetProperty=(Control.Foreground).(SolidColorBrush.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FF111111/
    /ColorAnimationUsingKeyFrames
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=contentControl Storyboard.TargetProperty=(UIElement.Effect).(DropShadowEffect.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FFFFFFFF/
    /ColorAnimationUsingKeyFrames
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=rectangle Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FFFFFFFF/
    /ColorAnimationUsingKeyFrames
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=rectangle Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FFB0E7FF/
    /ColorAnimationUsingKeyFrames
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=rectangle Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FF75A4B9/
    /ColorAnimationUsingKeyFrames
    /Storyboard
    /vsm:VisualState
    vsm:VisualState x:Name=Normal/
    vsm:VisualState x:Name=Pressed/
    vsm:VisualState x:Name=Disabled
    Storyboard
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=rectangle Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FFFFFFFF/
    /ColorAnimationUsingKeyFrames
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=rectangle Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FFE7E7E7/
    /ColorAnimationUsingKeyFrames
    ColorAnimationUsingKeyFrames BeginTime=00:00:00 Duration=00:00:00.0010000 Storyboard.TargetName=rectangle Storyboard.TargetProperty=(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)
    EasingColorKeyFrame KeyTime=00:00:00 Value=#FFA4A4A4/
    /ColorAnimationUsingKeyFrames
    /Storyboard
    /vsm:VisualState
    /vsm:VisualStateGroup
    vsm:VisualStateGroup x:Name=FocusStates
    vsm:VisualStateGroup.Transitions
    vsm:VisualTransition GeneratedDuration=00:00:00.2000000/
    /vsm:VisualStateGroup.Transitions
    vsm:VisualState x:Name=Unfocused/
    vsm:VisualState x:Name=Focused/
    /vsm:VisualStateGroup
    /vsm:VisualStateManager.VisualStateGroups
    Rectangle x:Name=rectangle RadiusX=4 RadiusY=4 Stroke=#FF62757E
    Rectangle.Fill
    LinearGradientBrush EndPoint=0.5,1 StartPoint=0.5,0
    GradientStop Color=#FFC2ECFF Offset=0/
    GradientStop Color=#FF66D0FF Offset=0.885/
    GradientStop Color=#FF4C98B9 Offset=1/
    /LinearGradientBrush

    /Rectangle.Fill
    Rectangle.Effect
    DropShadowEffect ShadowDepth=0 Opacity=0.5/
    /Rectangle.Effect
    /Rectangle
    ContentControl x:Name=contentControl Margin=6,3,6,3
    HorizontalAlignment={TemplateBinding HorizontalContentAlignment}
    VerticalAlignment={TemplateBinding VerticalContentAlignment}
    Content={TemplateBinding Content} Foreground=#FF111111
    ContentControl.Effect
    DropShadowEffect Color=#FFFFFDC2 ShadowDepth=0/
    /ContentControl.Effect
    /ContentControl
    Rectangle x:Name=glass RadiusX=4 RadiusY=4 Clip=M298,15 C298,-118 -19,-126 -22,15 C-22,15 298,15 298,15 z Margin=3,3,3,3
    Rectangle.Fill
    LinearGradientBrush EndPoint=0.5,1 StartPoint=0.5,0
    GradientStop Color=#3FFFFFFF/
    GradientStop Color=#59FFFFFF Offset=1/
    /LinearGradientBrush
    /Rectangle.Fill
    /Rectangle
    controls:Viewbox
    Ellipse x:Name=ellipse Stroke={x:Null} Width=24 Height=10 Clip=M1.9375,-0.5 L21.5625,-0.5 C23.771637,-0.5 25.25,5.5 25.25,5.5 C25.25,5.6666665 -1,5.354167 -1,5.6875 C-1,5.6875 -0.27163899,-0.5 1.9375,-0.5 z Margin=0,12,0,-4 RenderTransformOrigin=0.5,0.5
    Ellipse.RenderTransform
    TransformGroup
    ScaleTransform/
    SkewTransform/
    RotateTransform/
    TranslateTransform/
    /TransformGroup
    /Ellipse.RenderTransform
    Ellipse.Fill
    RadialGradientBrush
    GradientStop Color=#7FFFFFFF Offset=0.333/
    GradientStop Color=#00FFFFFF Offset=1/
    /RadialGradientBrush
    /Ellipse.Fill
    /Ellipse
    /controls:Viewbox
    /Grid
    /ControlTemplate
    /Setter.Value
    /Setter
    /Style

    I wonder if this problem could be related to the fact that I override the default template in my theme version of the style.

  • RELEVANCY SCORE 2.76

    DB:2.76:How To Make Custom Style For Font 79


    Hi,
    I want to make unique Font style in my application like

    Style
    x:Key=TinyFontSize

    Setter
    Property=FontSize
    Value=8/Setter

    /Style
    But it gives me Error like this..
    Can Not resolve the Style Property 'FontSize'.
    How to make this style.
    Thanks in advance.

    DB:2.76:How To Make Custom Style For Font 79

    hi Rao12,
    Please specify a TargetTtype for this Style : e.g.

    Stylex:Key=TinyFontSize
    TargetType={x:Type Button}
    SetterProperty=FontSizeValue=8/Setter
    /Style

    Or
    write the FontSize property in specific type :

    Stylex:Key=TinyFontSize
    SetterProperty=Button.FontSizeValue=8/Setter
    /Style
    Jarrey

    Best day, Best life

  • RELEVANCY SCORE 2.76

    DB:2.76:Undefinedpx Value Errors In Css Validator xa





    Built a simple single page website using Web Presence - surely nothing can go wrong with that!
    Seemed to work and looked good... until -

    http://jigsaw.w3.org/css-validator/validator failed with lots of message like this;
    Value Error : width Too many values or values are not recognized : undefinedpx

    After stripping the page down found able to reproduce the problem very simply as follows:

    Step 1) Create a Text Images module.
    Go into editor - click html, enter custom html, for example:

    pimg src=http://anydomain.com/anyimage.png alt=My Example//p

    Click update.
    Click html again and the custom html has now changed to:

    pspan class=image-block style=undefined width:undefinedpx;img src=http://anydomain.com/anyimage.png alt=My Example/img/span/p

    Step 2) Dont change anything, just repeat:
    Click update.
    Click html again and the custom html has now changed to:

    pspan class=image-block style=undefined width:undefinedpx; width:undefinedpx;img src=http://anydomain.com/anyimage.png alt=My Example/img/span/p

    Step 3) Dont change anything, just repeat:
    Click update.
    Click html again and the custom html has now changed to:

    pspan class=image-block style=undefined width:undefinedpx; width:undefinedpx; width:undefinedpx;img src=http://anydomain.com/anyimage.png alt=My Example/img/span/p

    Any ideas?

    DB:2.76:Undefinedpx Value Errors In Css Validator xa




    Thanks for your feedback, brainforge.

    @ Parallels: Please have a look at the code validator and fix it, thanks.

  • RELEVANCY SCORE 2.76

    DB:2.76:Federated Web App Calls Its Own Federated Webservices. kd


    I am using Identity Training Kit 2010 for My POC.
    I have a Web Applicationwhich contains ASPX pages In Browser Silverlight pages WCF Services.
    LogIn to the site is done using Passive STS.
    SilverLight Pages can call the federated services, Tx to the Kit Samples.
    How Can I call Same services from ASPX code behind. I tried Adding Service Reference, But It doesnt Work:
    System.ServiceModel.ProtocolException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soapmsbin1). If using a custom encoder, be sure that the
    IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '
    !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

    html xmlns=http://www.w3.org/1999/xhtml
    head id=Head1title
    Login to the security token service (STS)
    /title
    style type=text/css
    .style1
    {
    width: 100%;
    }
    .style2
    {
    width: 125px;
    }
    .style3
    {
    font-size: large;
    font-weight: bold;
    }
    /style
    /head
    body
    form method=post action=Login.aspx?
    Which means the Web App is trying to redirect to STS Login Page.
    I triedReading the SAML Token from Page.Request.Cookies with Keys {FedAuth,FedAuth1}and adding it to the proxy message headers. But no luck.
    Is it possible to use the client Tokens in aspx code behind to call a federated web service?

    DB:2.76:Federated Web App Calls Its Own Federated Webservices. kd

    I am having the same issue, Did you resolve this issue already?

  • RELEVANCY SCORE 2.76

    DB:2.76:Is There A Rh Standard For Formatting Code Samples? z3



    In the RH default style sheet, I do not see a pre HTML tag or other tag that will display code samples in a monospaced font.

    I created custom styles for a single line code sample and another style for multiline samples.

    We want our code samples to be shaded. If I shade multiple lines, each line being separated with a paragraph, there is a small amount of

    white space between each line. We do not like this either.

    I then created a custom table style with a single shaded cell. I add my multiline sample code, then I apply the custom paragraph style to get

    the font and spacing between lines that I want.

    Is there a different best practice for this, so that the code sample would be rendered correctly if viewed from other devices that read the HTML and

    may look for the pre HTML tag?

    I am using RoboHelp 9 and I provide the output as Eclipse help. Our help files are integrated into Eclipse help in the Eclipse IDE.

    Thank you.

    Cynthia

    DB:2.76:Is There A Rh Standard For Formatting Code Samples? z3


    I will also pass this information to the person who will be assuming responsibility for my project. Thanks much!

  • RELEVANCY SCORE 2.76

    DB:2.76:Vs 2012 Rc - Custom Controls In The Data-Win-Control Intellisense? kx



    Is it possible to have custom controls show up in the intellisense dropdown for the data-win-control property in addition to the WinJS controls when working with a .html page in a Metro style JS app? The custom controls are in an SDK that is deployed in
    VS and referenced in the project just like the WinJS library.

    X-Post from
    metro style apps forum

    DB:2.76:Vs 2012 Rc - Custom Controls In The Data-Win-Control Intellisense? kx

    Bump...
    If this is not the correct forum, where should this question be posted?

  • RELEVANCY SCORE 2.76

    DB:2.76:Set Spviewstyle Using Javascript dj


    Hi,
    In my sharepoint site, I have created one custom list with boxed style. Also, for Client Side Rendering purposes I add a reference to JS Link which changes few fields on UI for color coding. Somehow after applying this JS Link, boxed
    style is getting vanished and view is being shown in Default style.
    Is there any way I can re add the style in JS link script or by any other means?

    DB:2.76:Set Spviewstyle Using Javascript dj

    Very sad to hear that. :( So MSFT will take a look into this one?

  • RELEVANCY SCORE 2.76

    DB:2.76:Cannot Invoke Component Class Method Using Postserverevent zc



    We have custom component for Creating a File. Before providing the name for the file, system prompts the user to select the client Name.

    Client Name was previously selected from a custom Client Locator component.

    But now the requirement is to Provide a Text box beside the Client Name which uses Ajax to lookup for the client by entering atleast first 2 caracters of the field.

    Using the below code I was able to achieve the Ajax look up:

    ls.jsp

    div id="div_clientsearch" style="display:none;"

    DB:2.76:Cannot Invoke Component Class Method Using Postserverevent zc


    We have custom component for Creating a File. Before providing the name for the file, system prompts the user to select the client Name.

    Client Name was previously selected from a custom Client Locator component.

    But now the requirement is to Provide a Text box beside the Client Name which uses Ajax to lookup for the client by entering atleast first 2 caracters of the field.

    Using the below code I was able to achieve the Ajax look up:

    ls.jsp

    div id="div_clientsearch" style="display:none;"

  • RELEVANCY SCORE 2.76

    DB:2.76:Error : When I Click On Add An App It Is Loading Forever. 1c


    i created master page for 2013 by putting this html code.

    !DOCTYPE html
    html
    head
    meta http-equiv=Content-Type content=text/html; charset=utf-8 /
    titleSharePoint 2013 Demo Site/title
    link href=style.css rel=stylesheet type=text/css
    /head
    body
    div id=menu_container
    /div
    div id=main_container
    /div
    div id=sidebar
    /div
    div style=clear:both;/div
    div id=footerPage footer Copyright notice./div
    /div
    /body
    /html

    and uploaded the html and using desginer manager i converted it to .masterpage.

    everything is working fine in my SharePoint Site except when i click on Add an App it is giving a message Loading but it is never showing up the app page.

    if i put seattle.master as defaultmasterpage and custom masterpage the Add An App page is working fine.

    can you guys tell me why it is happening like this.

    Thanks,
    M.M

  • RELEVANCY SCORE 2.76

    DB:2.76:Email Sending Problem Without Certain Text In Html 1m


    Hi Everyone,
    I am writing this to ask very weird problem in the program.
    Purpose of the program is to gather information and send email to users.
    However, it does not send email without certain words or something in HTML code.
    Please, refer to the below codes.
    ===============Coding for Contents in HTML==================
    lstReport.Add(tabletrtd This is a PCR Preparation Email. Please Refer to the below Contents. Thanks... /td/trtrtd/td/tr/table); // first line
    lstReport.Add(table border='0'trtd style=font-size: 10pt; font-family: Arial;Number of Blots :);
    lstReport.Add(Convert.ToString(blotCount) /td/trtr height=2td style=font-size: 10pt; font-family:Arial;nbsp;/td/trtrtd style=font-size: 10pt; font-family: Arial;Technician
    :);
    lstReport.Add(dtDiscrepancy.Rows[0][UserName].ToString() nbsp;/td/trtr height=2td style=font-size: 10pt; font-family:Arial;nbsp;/td/trtrtd style=font-size: 10pt; font-family:
    Arial;MM LotNumber :);
    lstReport.Add(dtDiscrepancy.Rows[0][LotNumber].ToString() nbsp;/td/trtr height=2td style=font-size: 10pt; font-family:Arial;nbsp;/td/trtrtd style=font-size: 10pt;
    font-family: Arial;MM Volume :);
    lstReport.Add(trtd style=font-size: 10pt; font-family: Arial;nbsp;/td/trtrtd style=font-size: 10pt; font-family: Arial;Please find below, the details of plates /td/tr trtd
    style=font-size: 10pt; font-family: Arial;/td/trtrtd style=font-size: 10pt; font-family: Arial;);
    lstReport.Add(table border=1 width=78% cellspacing=0 cellpadding=0trtdnbsp;/td/trtrtd width=13% style=font-size: 10pt; font-family: Arial;bPCRBlotName/b/tdtd width=13%
    style=font-size: 10pt; font-family: Arial;bPCRPlateName/b/tdtd width=13% style=font-size: 10pt; font-family: Arial;bDNABlotName/b/tdtd width=13% style=font-size: 10pt; font-family: Arial;bDNAPlateName/b/tdtd
    width=13% style=font-size: 10pt; font-family: Arial;bDNAVolume/b/tdtd width=13% style=font-size: 10pt; font-family: Arial;bPrimerLocusGroup/b/tdtd width=13% style=font-size: 10pt; font-family:
    Arial;bDNAMatch/b/tdtd width=13% style=font-size: 10pt; font-family: Arial;bPrimerMatch/b/td/tr);
    lstReport.Add(Environment.NewLine);
    lstReport.Add(tableHeader);
    ******
    foreach (string item in lstReport)
    {
    mailBody.Append(item); // Environment.NewLine);
    }
    if (!mailBody.ToString().Equals(string.Empty))
    SendMail(fileName, mailBody);
    ===============================================
    Without first line(This is a PCR.....), It does not send email. I don't know the reason for this.
    Please, explain to me if anyone knows about it.
    Thanks in advance.
    ===============Coding for Mail Service==================
    private void SendMail(string fileName, StringBuilder message)
    {
    MailMessage mail;
    SmtpClient client;
    mail = new MailMessage();
    mail.From = new MailAddress(FromAddress);
    foreach (string to in ToAddress)
    {
    mail.To.Add(to);
    }
    mail.Subject = Subject fileName;
    mail.Body = message.ToString();
    mail.IsBodyHtml = true;
    mail.Priority = MailPriority.High;
    client = new SmtpClient(MailServer);
    client.Send(mail);
    }
    ===============================================

    DB:2.76:Email Sending Problem Without Certain Text In Html 1m

    I noticed you are missing the second closing table tag (/table). And there might be other problems in your HTML.
    Best idea is to save the Mail's Body as .HTML and see if it can be interpreted. If there are too many problems a Spamfilter or Mail-Inspecting Firewall might block/discard it just to be save or as propably garbage.

    Also a tiny bit of CSS at the start of the Document could save you all those repetetive Font settings. It will propably reduced the mail size and increase readability (wich means easier finding of HTML Problems).
    Finally there might be a problem because of the Values you have in your Textboxes. You should always run strings through a HTML-Escaping Fucntion before putting them into HTML:
    http://stackoverflow.com/questions/1005264/escape-text-for-html

    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

  • RELEVANCY SCORE 2.75

    DB:2.75:How To I Make The Custom Style The Default Style For All New Documents 91


    I have modified and save a Quick Style set. However, every time I open a new document, it reverts to the Microsoft default. I have to select the default quick style from the list.

    DB:2.75:How To I Make The Custom Style The Default Style For All New Documents 91

    Changing the default set cannot be done in a
    document - you need to make a change in the
    Normal.dotm template, itself. Use File Open to navigate to:

    HD:UserName:Library:Application Support:Microsoft:Office:User Templates

    Open the file called Normal.dotm, select the preferred set then save close the template.

    Regards,
    Bob J.

  • RELEVANCY SCORE 2.75

    DB:2.75:Srm New Look And Feel For Nwbc For Html xf



    Hi Gurus,

    I need to change the look and feel the NWBC for HTML, custom shell with color like CRM style. What style sheet i need change?

    somebody how to know in SRM

    Regards

    DB:2.75:Srm New Look And Feel For Nwbc For Html xf


    Hi Gurus,

    I need to change the look and feel the NWBC for HTML, custom shell with color like CRM style. What style sheet i need change?

    somebody how to know in SRM

    Regards

  • RELEVANCY SCORE 2.75

    DB:2.75:Linkbutton Css Style Being Overridden By Ms-Wpbody A:Link, .Ms-Wpbody A:Visited Css Style fz


    Hi,I have a Linkbutton on my page using the Hyperlink format. I have applied a custom CSS style to it like so:asp:LinkButton ID=btnSortSpecialty CssClass=OTSortButtons runat=server OnClick=btnSortSpecialty_ClickSpecialty/asp:LinkButtonThe CSS style is declared as:.OTSortButtons {    font-size:12px;    text-decoration:none;    color:gray;}However, when I view the page the link button is being displayed using the the following style:.ms-WPBody a:link, .ms-WPBody a:visited {    color7c4c6d;    text-decoration:underline;}This is not the way I know CSS HTML to work. Specifying a Style in the control tag should override the general style for the  hyperlink tag. Does anyone know how to fix this?ThanksJohn

    DB:2.75:Linkbutton Css Style Being Overridden By Ms-Wpbody A:Link, .Ms-Wpbody A:Visited Css Style fz

    I actually meant the HTML after it has been rendered in the browser. As CSS works client-side you have to work on the rendered HTML in order to debug your CSS.
    A suggestion I could give you already: try to make your custom CSS even more specific, like:

  • RELEVANCY SCORE 2.75

    DB:2.75:Can We Use Mutiple Style Classes For Adf: Outputtext ? 71


    Hi,
    when i display the below content in a af:OutputText in jsff page , the 'description' is displaying on page by using all the style classes (style class 1, 2,3,4) as mentioned in the below html.
    But when i use the style class = 'style Class 4' in the property inspector for the af:OutputText it doesnt affect on the display of 'description'.

    htmlbody
    div class="style Class 1"
    div class="style Class 2"
    div class="style Class 3"
    P class="style Class 4" description/p
    /div/div/div/body/html

    My question is can we get the same affect of all the above style classes for af:OutputText by mentioning in the style class property in property inspector, if yes how we can specify alll the style classes in style class property.

    Edited by: 902796 on Apr 6, 2012 6:56 AM

    DB:2.75:Can We Use Mutiple Style Classes For Adf: Outputtext ? 71

    Hi navneeth,

    i have tried the same way which u have mentioned. But here the scenario is some class (suppose style class1 ) in sample.CSS used with html tags it is giving one result and the same class if we use for
    af:OutputText in .jsff file is giving different result. Could you please tell me whether the style class impact is different from html tags to ADF UI components . And also how we can achieve same result in both the usages.

    in css file :
    *[class*="style class1"]{
    max-width:55em;
    font-size:small
    }

    in html :

    .div class = style class1
    .p some context /p/div

    and in .jsff page used panel group instead of div tag

    af:PanelGrouplayout stylecclass = style class1 af:OutputText some context /af:OutputText/af:PanelGrouplayout

    if i change the font-size in styleclass1 from small to large then it is affecting in .jsff page but when width with html tags coming different and width for af: tags coming different
    as per our requirement we should show same width as showing using by HTML tags could you please tell me how it is showing different width with same style class using in div and af:PanelGroupLayout

    regards
    shanmukh

  • RELEVANCY SCORE 2.74

    DB:2.74:Unable To Call Css And Js Reference In Search Display Templates p8



    Hi

    Context: I am trying to brand the enterprise search results
    hover panel (Preview Panel) as I marked with red square box in the screen shot and I tried with inline styling for one of the HTML Files called “Item_CommonHoverPanel_Actions.html” which is present in the “masterpage/display templates/search/” path
    and when I looked at the code, it is completely different than normal styling and any way I applied inline styles to the one of the div (belongs to “OPEN”) and style is applied.

    Problem:How to brand those display templates, applying custom CSS and
    custom javascript code or client object model for a button.

    Problem Description:

    Say I want to put a button named “ Save “ and on click I want that list item to be moved into SavedList. When I trying to add client object model code to that button, its not functioning.
    So as my custom style sheets for those templates.

    I have gone through so many solutions but every one say that include script tag below the body tag and refer CSS and JS files over there and I have tried but CSS and scripting
    is not applied.

    Recommended Solution: I am giving some code what I have written in the script
    tag and tried to override some of the classes in these CSS but not applied for existing display templates.

    script
    $includeCSS(this.url,~sitecollection/Styles/testResult.css);

    $includeScript(this.url,~sitecollection/Scripts/Search.js);

    /script

    Kindly let me know any quick and best solutions for existing and proposed templates so that I can modify my existing code.

    Thanks

    Razvi444

    DB:2.74:Unable To Call Css And Js Reference In Search Display Templates p8

    It seems path issue. refer following :
    http://msdn.microsoft.com/en-us/library/jj945138.aspx

  • RELEVANCY SCORE 2.74

    DB:2.74:Block Vs. Inline Element ms


    To change the width of report columns, I tried setting width:100px in the CSS style under Report Attributes - Column Attributes.

    But, HTML DB wraps the style in a inline span using
    span style="width:100px;"data/span

    This works fine in IE in transitional mode but FF ignores the width property because SPAN is an inline element.

    Is there a way to use DIV instead of SPAN when generating the HTML so that setting the width would work?

    Short of writing custom report templates, what other ways are there to specify different widths for different columns on a report?

    Thanks

    DB:2.74:Block Vs. Inline Element ms

    Hello,

    Adding display:block to the style attribute is fine. As far as the browser is concerned at that point the span tag is the same as a div tag.

    Carl.

  • RELEVANCY SCORE 2.74

    DB:2.74:Repost:Use Page Style Feature For Portlet 1d


    All,
    How do i simulate the 'use page style' feature for a custom portlet ? Currently, I have to hard code the style.
    thanks

    DB:2.74:Repost:Use Page Style Feature For Portlet 1d

    The following is from one of the sample portlets (comments incl):
    /*
    Display the content of the portlet in the show mode.
    Use the wwui_api_portlet.portlet_text() API when generating the content of the portlet so that the output uses the portlet CSS.
    */
    htp.p(wwui_api_portlet.portlet_text(
    p_string = 'Hello World - Mode Show'
    ,p_level = 1
    ));

    I assume this is what you are looking for--the level would be the Portlet Text level, and you could substitute a parameter.

    HTH!

  • RELEVANCY SCORE 2.74

    DB:2.74:How To Edit Breadcrumb Properties Like "≫" Symbol In Jdeveloper. pc


    Hi, the problem is that I can not edit certain properties breadcrumb, like spaces or "" symbol. I have change the css style to my own style. When I use oracle style it's work.

    For example.

    1) Html generated with oracle style.
    P1 P2

    2) Html generated with my own css.
    P1P2

    As can you see, the line "" have dissapear. Are there some template or file to define this line?, what I need to do to place this line?.
    I 'm lost.

    Thank you.

    --------------------------------------------------------------------------
    ADF Business Components10.1.3.41.57
    BPEL Designer10.1.3.3.0 (Build 070615.0525)
    CVS VersionInternal to Oracle JDeveloper (client-only)
    Java(TM) Platform1.5.0_06
    Oracle IDE10.1.3.41.57
    Struts Modeler Version10.1.3.41.57
    UML Modelers Version10.1.3.41.57
    Versioning Support10.1.3.41.57

    Message was edited by:
    pakitwo

    DB:2.74:How To Edit Breadcrumb Properties Like "≫" Symbol In Jdeveloper. pc

    I found the answer:

    Write in your own .css file:

    "af|menuPath::separator-icon {content:" ";}"

    and breadcrumb will get this value

  • RELEVANCY SCORE 2.74

    DB:2.74:Thread: Messages From Outlook Connector Have Incorrect Content Type 9p


    I have a mix of Outlook Connector and GroupWise client users using version

    7.01 HP2.

    One of my Outlook users has a problem where the plain text copy of every

    message he sends is html. So he composes in HTML, the message arrives at

    the destination with two copies of that HTML: one marked as text/plain and

    the other marked as text/html. See the example below.

    Has anyone seen this before? How do I fix this?

    thanks

    Stuart

    eg from the source of one message:

    -' + '-=__Part4C685E17.0__=

    Content-Type: text/plain; charset=US-ASCII

    Content-Transfer-Encoding: quoted-printable

    !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN

    HTMLHEADTITLEOrion Style/TITLE

    META http-equiv=3DContent-Type content=3Dtext/html; charset=3Dus-ascii

    META content=3DMSHTML 6.00.2800.1561 name=3DGENERATOR!-' + '-[if !mso]

    STYLE/STYLE

    ![endif]-' + '-

    STYLE@font-face {

    (...snip...)

    -' + '-=__Part4C685E17.0__=

    Content-Type: multipart/related; boundary==__Part4C685E17.1__=

    -' + '-=__Part4C685E17.1__=

    Content-Type: text/html; charset=US-ASCII

    Content-Transfer-Encoding: quoted-printable

    Content-Description: HTML

    !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN

    HTMLHEADTITLEOrion Style/TITLE

    META http-equiv=3DContent-Type content=3Dtext/html; charset=3Dus-ascii

    META content=3DMSHTML 6.00.2800.1561 name=3DGENERATOR!-' + '-[if !mso]

    STYLE/STYLE

    ![endif]-' + '-

    STYLE@font-face {

    DB:2.74:Thread: Messages From Outlook Connector Have Incorrect Content Type 9p

    Stu,

    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.

    Has your problem been resolved? If not, you might try one of the following options:

    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp

    - Check all of the other support tools and options available at http://support.novell.com in both the free product support and paid product support drop down boxes.

    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)

    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.

    Good luck!

    Your Novell Product Support Forums Team

    http://support.novell.com/forums/

  • RELEVANCY SCORE 2.74

    DB:2.74:Css Page pa


    Hello - I have never worked with css style sheets. I have a
    client that gave me a .html general layout hompage and a seperate
    css document with all the background info, etc. I pull the .html
    page into Dreamweaver and all the info from the css sheet is no
    working with it - they are sitting side by side in the directory -
    how do I get it to work? Thank you for any help or suggestions.

    -Eric

    DB:2.74:Css Page pa

    Thank you Electric Graffitti

  • RELEVANCY SCORE 2.74

    DB:2.74:Epma Batch Client - Execute Deploy Against Planning jz


    Anyone who can clearify the syntax og the Execute Deploy when used against Planning. I'm specially interested in the parameters InstanceName and ApplicationServer? Or do you have an idea why I receive the errors below?

    EPMA and Workspace url variable are set, I then issue this command:

    EPMABatchClientExecute Deploy
    Parameters(ApplicationName, InstanceName, ApplicationServer, HubProject, PurgeTransactions, WaitForCompletion, datasourceName, CreateOutline, RefreshOutline, CreateSecurityFilters, SharedMembersSecurityFilters, ValidateSecurityFilterLimit)
    Values('Geotest','HyperionPlanning' ,'http://hypap1/', 'Planning', 'false','true','Geotest','false','true','false','false','false');

    This is the error message being returned

    +2009-05-26 09:36:48,611 ERROR Response Body: !DOCTYPE HTML PUBLIC "-//W3C//DTD+
    +HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"+
    +HTMLHEADTITLEThe page cannot be found/TITLE+
    +META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"+
    +STYLE type="text/css"+
    +BODY { font: 8pt/12pt verdana }+
    +H1 { font: 13pt/15pt verdana }+
    +H2 { font: 8pt/12pt verdana }+
    +A:link { color: red }+
    +A:visited { color: maroon }+
    +/STYLE+
    +/HEADBODYTABLE width=500 border=0 cellspacing=10TRTD+

    +h1The page cannot be found/h1+
    The page you are looking for might have been removed, had its name changed, or i
    s temporarily unavailable.
    +hr+
    +pPlease try the following:/p+
    +ul+
    +liMake sure that the Web site address displayed in the address bar of your bro+
    wser is spelled and formatted correctly./li
    +liIf you reached this page by clicking a link, contact+
    the Web site administrator to alert them that the link is incorrectly formatted
    +.+
    +/li+
    +liClick the Back button to try anothe+
    r link./li
    +/ul+
    +h2HTTP Error 404 - File or directory not found.brInternet Information Servic+
    es (IIS)/h2
    +hr+
    +pTechnical Information (for support personnel)/p+
    +ul+
    +liGo to Microsoft Produc+
    t Support Services/a and perform a title search for the words bHTTP/b and
    +b404/b./li+
    +liOpen bIIS Help/b, which is accessible in IIS Manager (inetmgr),+
    and search for topics titled bWeb Site Setup/b, bCommon Administrative Ta
    sks/b, and bAbout Custom Error Messages/b./li
    +/ul+

    +/TD/TR/TABLE/BODY/HTML+

    +2009-05-26 09:36:48,626 ERROR ERROR: The HTTP response to URL http://hypap1/work+
    space/../awb/repository.enumWorkbenchElements.do ended with an error: !DOCTYPE
    HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"

    +HTMLHEADTITLEThe page cannot be found/TITLE+
    +META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"+
    +STYLE type="text/css"+
    +BODY { font: 8pt/12pt verdana }+
    +H1 { font: 13pt/15pt verdana }+
    +H2 { font: 8pt/12pt verdana }+
    +A:link { color: red }+
    +A:visited { color: maroon }+
    +/STYLE+
    +/HEADBODYTABLE width=500 border=0 cellspacing=10TRTD+

    +h1The page cannot be found/h1+
    The page you are looking for might have been removed, had its name changed, or i
    s temporarily unavailable.
    +hr+
    +pPlease try the following:/p+
    +ul+
    +liMake sure that the Web site address displayed in the address bar of your bro+
    wser is spelled and formatted correctly./li
    +liIf you reached this page by clicking a link, contact+
    the Web site administrator to alert them that the link is incorrectly formatted
    +.+
    +/li+
    +liClick the Back button to try anothe+
    r link./li
    +/ul+
    +h2HTTP Error 404 - File or directory not found.brInternet Information Servic+
    es (IIS)/h2
    +hr+
    +pTechnical Information (for support personnel)/p+
    +ul+
    +liGo to Microsoft Produc+
    t Support Services/a and perform a title search for the words bHTTP/b and
    +b404/b./li+
    +liOpen bIIS Help/b, which is accessible in IIS Manager (inetmgr),+
    and search for topics titled bWeb Site Setup/b, bCommon Administrative Ta
    sks/b, and bAbout Custom Error Messages/b./li
    +/ul+

    +/TD/TR/TABLE/BODY/HTML+

    The URL http://hypap1/workspace/../awb/repository.enumWorkbenchElements.do returns this message:

    +?xml version="1.0" encoding="UTF-8" ?+

    - BpmResponse type="error"
    +actornone+

    +codecom.hyperion.bpm.web.common.BaseServiceException$SessionExpired/code+

    +descCould not create user session/desc+

    +tracecom.hyperion.awb.web.common.BaseAction.checkWebSession(BaseAction.java:104) com.hyperion.bpm.web.common.BaseAction.execute(BaseAction.java:65) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158)/trace+

    +/BpmResponse+

    DB:2.74:Epma Batch Client - Execute Deploy Against Planning jz

    Hi,

    Have you installed IIS server at the time of Planning installation, or you skipped at that time. If you have installed IIS server then could you explain more exactly what you are looking for it will help to understand your issue.

    Thanks
    Focusthread Hyperion Trainer
    [http://focusthread.com/training]

  • RELEVANCY SCORE 2.74

    DB:2.74:Ddl Style In Navigation View ds



    Hello,

    I implemented custom jsp page to replace default ToolArea view in default framework page. Everything is fine but one of the controls I put to this view is drop down list (select), and this ddl is styled as a usual html control, although I tried to change "class" attribute of this control for example to sapDdlWhl or gSAPSelect. I was able to successfully apply theme class for the input control.

    Probably somebody faced with DDL style customization for navigation jsp view. Please advise how to change the look of this control to SAP standard.

    Thanks,

    Andrei

    DB:2.74:Ddl Style In Navigation View ds


    Hello,

    I implemented custom jsp page to replace default ToolArea view in default framework page. Everything is fine but one of the controls I put to this view is drop down list (select), and this ddl is styled as a usual html control, although I tried to change "class" attribute of this control for example to sapDdlWhl or gSAPSelect. I was able to successfully apply theme class for the input control.

    Probably somebody faced with DDL style customization for navigation jsp view. Please advise how to change the look of this control to SAP standard.

    Thanks,

    Andrei

  • RELEVANCY SCORE 2.74

    DB:2.74:Custom Css In Field 8f



    I tried use custom style for column in table field. As MidTier Guide says - I added my style in ArSystem.css and in field's property "Custom CSS Style" wrote style's name. But style doesn't work (browser's cache was flushed). Can anybody help me. Thanks in advance.

    DB:2.74:Custom Css In Field 8f


    I tried use custom style for column in table field. As MidTier Guide says - I added my style in ArSystem.css and in field's property "Custom CSS Style" wrote style's name. But style doesn't work (browser's cache was flushed). Can anybody help me. Thanks in advance.

  • RELEVANCY SCORE 2.74

    DB:2.74:Add Drop Down List To Search Screen In Lightswitch Html Client jc


    Hi
    I was creating a custom search screen for one of my projects; and i found that on LS HTML client i can't change parameter's fields to a drop-down list (picked from another table). So the question how to do that?
    How to make html client search screen with different parameters? but with fields as drop-down list picked from another table (with a relationship to the required search table).
    Thanks for your help.
    Mo

    DB:2.74:Add Drop Down List To Search Screen In Lightswitch Html Client jc

    I found this question on this forum; which has many intersting and related answers:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/d56002e1-16c1-4f13-ab5a-1cf82c24930f/can-you-bind-a-drop-down-to-a-query-or-dynamic-data-in-the-html-client?forum=lightswitch
    i thought to put it on this question post as a reference.
    Mo

  • RELEVANCY SCORE 2.74

    DB:2.74:Free Html Generator ~ Create Your Own Custom Store... s7


    Do you want to create a professional looking eBay Storefront, but feel like you're HTML-challenged? Visit our easy-to-use HTML generator page, and build your own custom store header.

    CLICK HERE for HTML Made Easy!

    DB:2.74:Free Html Generator ~ Create Your Own Custom Store... s7

    Do you want to create a professional looking eBay Storefront, but feel like you're HTML-challenged? Visit our easy-to-use HTML generator page, and build your own custom store header.

    CLICK HERE for HTML Made Easy!

  • RELEVANCY SCORE 2.73

    DB:2.73:How To Develop Metro Style App Using Windows Live Messenger. 7d


    Hi folks,

    I'm developing metro style apps using Windows Live Services by HTML/CSS/JavaScript.
    When using skydrive, identity, contacts, i used LiveConnect, and it works fine.

    Now, i'm trying to use Windows Live Messenger on Metro style apps.
    But LiveConnect does not include library for Windows Live Messenger.
    According to help file, i'm supposed to use open source of XMPP client.
    However, there are some XMPP clients for JavaScript.
    Which is recommended library for using Windows Live Messenger on Metro style app?
    Is there a sample code of metro style app using Windows Live Messenger?

    Thanks.

    DB:2.73:How To Develop Metro Style App Using Windows Live Messenger. 7d

    Microsoft is ending support for XMPP laterthis year. See the post at thebottom ofhttp://dev.live.comfor the dates.

  • RELEVANCY SCORE 2.73

    DB:2.73:Custom Style To Format Table pa


    Hello,
    I would like to add a custom style for a table to the HTML Editor in SharePoint Server 2007.
    The style would add a border at the bottom of each cell. However, the only way the border will currently show up is if I apply a style to the table, a style to the row and then a style to the cell. I was hoping to combine the row and cell style into one. Below is the code I have so far. Is it possible to combine the td with the tr somehow?
     
    Thanks in advance.
    Regards,
    A.C.
     
    .ms-rteCustom-Table{ border-collapse: collapse; border: solid 0px;}
     
    .ms-rteCustom-Table tr.ms-rteCustom-TableRow{ border-width: 1px; color: blue; font-size: 10pt;   vertical-align: top; border-color:red; border-bottom-style: solid; border-bottom-color: red;}
     
    .ms-rteCustom-Table td.ms-rteCustom-TableCell
    { border-width: 1px; border-color: red; padding: 0in 5.4pt 0in 5.4pt; border-bottom-style: solid;
    }

    DB:2.73:Custom Style To Format Table pa

    Hello,
    I would like to add a custom style for a table to the HTML Editor in SharePoint Server 2007.
    The style would add a border at the bottom of each cell. However, the only way the border will currently show up is if I apply a style to the table, a style to the row and then a style to the cell. I was hoping to combine the row and cell style into one. Below is the code I have so far. Is it possible to combine the td with the tr somehow?
     
    Thanks in advance.
    Regards,
    A.C.
     
    .ms-rteCustom-Table{ border-collapse: collapse; border: solid 0px;}
     
    .ms-rteCustom-Table tr.ms-rteCustom-TableRow{ border-width: 1px; color: blue; font-size: 10pt;   vertical-align: top; border-color:red; border-bottom-style: solid; border-bottom-color: red;}
     
    .ms-rteCustom-Table td.ms-rteCustom-TableCell
    { border-width: 1px; border-color: red; padding: 0in 5.4pt 0in 5.4pt; border-bottom-style: solid;
    }

  • RELEVANCY SCORE 2.73

    DB:2.73:Webview And Font-Face ad


    Hi, I'm trying to include custom fonts to WebView with no result.
    My C# code looks like this:
    this.BookView.Navigate(new Uri(ms-appx-web:///Html/HTMLPage.html));
    And HTML:
    !DOCTYPE html
    html lang=en xmlns=http://www.w3.org/1999/xhtml
    head
    meta charset=utf-8 /
    title/title
    style
    @font-face {
    font-family: 'OldStandard';
    src:url('ms-appx:///Html/OldStandard-Regular.woff') format('woff');
    }
    * {
    font-family: 'OldStandard', Wingdings; font-size:24px;
    }
    /style
    /head
    body
    test
    /body
    /html
    Page display correctly but without custom font. What I'm doing wrong?
    I've tested on the ttf, otf and woff fonts

    DB:2.73:Webview And Font-Face ad

    window.navigator.userAgent returns: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; Touch; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0; WebView/1.0)

    I used woff, ttf, opf fonts with no result.

    Full source:

    Page
    x:Class=WebViewTest.MainPage
    xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
    xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
    xmlns:local=using:WebViewTest
    xmlns:d=http://schemas.microsoft.com/expression/blend/2008
    xmlns:mc=http://schemas.openxmlformats.org/markup-compatibility/2006
    mc:Ignorable=d

    Grid Background={StaticResource ApplicationPageBackgroundThemeBrush}
    TextBlock Name=UserAgent FontSize=16 /
    WebView Name=BookView VerticalAlignment=Stretch HorizontalAlignment=Stretch Margin=96 /
    /Grid
    /Page

    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Navigation;

    // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238

    namespace WebViewTest
    {
    /// summary
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// /summary
    public sealed partial class MainPage : Page
    {
    public MainPage()
    {
    this.InitializeComponent();
    }

    /// summary
    /// Invoked when this page is about to be displayed in a Frame.
    /// /summary
    /// param name=eEvent data that describes how this page was reached. The Parameter
    /// property is typically used to configure the page./param
    protected override void OnNavigatedTo(NavigationEventArgs e)
    {
    this.BookView.NavigateToString(this.HTML);
    this.BookView.ScriptNotify = BookView_ScriptNotify;
    }

    private void BookView_ScriptNotify(object sender, NotifyEventArgs e)
    {
    this.UserAgent.Text = e.Value ;
    }

    private string HTML
    {
    get
    {
    return @!DOCTYPE html
    html lang='en' xmlns='http://www.w3.org/1999/xhtml'
    head
    meta charset='utf-8' /
    title/title
    style

    /*
    @import url(ms-resource:///Html/georgiaz.ttf) all;
    @import url(ms-resource:///Html/OldStandard-Regular.woff) all;
    */

    /*
    @font-face { font-family: 'OldStandard'; src:url(ms-resource:///Html/OldStandard-Regular.woff); }
    @font-face { font-family: 'Georgia'; src: url(ms-resource:///Html/georgiaz.ttf); }
    */

    @font-face {
    font-family: 'OldStandard';
    src:url(ms-appx-web:///Html/OldStandard-Regular.woff) format('woff');
    }

    * { font-family: 'OldStandard', 'Georgia', Wingdings; font-size:24px; }

    /style
    script
    window.external.notify(window.navigator.userAgent);
    /script
    /head
    body
    Text test, text.
    /body
    /html;
    }
    }
    }
    }

  • RELEVANCY SCORE 2.73

    DB:2.73:Is It Possible To Create Style Sheet For Html Tag Using Inside Xaml.Cs dz


    is it possible to create style sheet for html tag using inside xaml.cs

    DB:2.73:Is It Possible To Create Style Sheet For Html Tag Using Inside Xaml.Cs dz

    Hi,
    I don't really understand your question as well.
    You want to create css style using xaml page's code behind?
    If this is the case , it's very possible , cause silverlight can invoke javascript.

    You want to set css style to xaml pages' control element?
    Unfortuntely, i don't know any approach could achieve this. It's two very different things,though they serve the same purpose.
    Best Regards

  • RELEVANCY SCORE 2.73

    DB:2.73:Custom Style In Charts 3s



    Hi all

    I can find few of the inbuilt styles in CHARTSPROPERTIESSTYLECURRENT STYLE.

    Is is possible to create a custom style for tables in Qlikview, if yes how...

    Please advise.

    DB:2.73:Custom Style In Charts 3s


    I am not sure what exactly you need to customize in table, but you can always set different settings for text, background, and fonts in Visual Cues property. Also you can apply same settings to other tables in the app, by using linked objects. Linked objects are availabe starting Qlikview 10 version.

  • RELEVANCY SCORE 2.73

    DB:2.73:Ssrs Custom Renderer - Table Header Column Style Issue pa


    I have built a custom renderer whose purpose is to output the report in the same format displayed after running the report in MSWord. I have a renderer working for the most part but the style of the table headers doesn't seem to retrieving correctly.the example is a report is rendered with a table with 5 columns and x rows. the column headers have a blue background and while lettering.i'm using the style class and the reportitem.style on the table cell to populate the style class then output the html style from the class. this appears to work correctly except for the header cells which always end up with a black background. the text and font are retrieved correctly the issue appears to only be with styles.any input is appreciated.bob

    DB:2.73:Ssrs Custom Renderer - Table Header Column Style Issue pa

    I have just posted a similar issue @
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/84128de5-17b6-4666-947e-8e24177de936

    I am doing exactly as you mention using the instance style and falling back on the base style collection but I am still hitting this issue.
    Bob, did you find a solution?

  • RELEVANCY SCORE 2.73

    DB:2.73:Custom Dash Style sj


    Hi,Can anyone tell me how to use custom dash style for a connector? Thanks a lot     Ran Mouri

    DB:2.73:Custom Dash Style sj

    Thank you very much, Edward and Patrick Tseng. It worked well.    Ran Mouri

  • RELEVANCY SCORE 2.73

    DB:2.73:How To Define Stlye For Datable Subheader Cell 7k



    hi,i'm trying to overwrite the style of the rich datatable subheader cell (.dr-table-subheadercell). However the custom style is taken instead? my style is displayed in firebug but marked as overwritten by the custom/original style. any help welcome, cheers

    DB:2.73:How To Define Stlye For Datable Subheader Cell 7k


    hi,i'm trying to overwrite the style of the rich datatable subheader cell (.dr-table-subheadercell). However the custom style is taken instead? my style is displayed in firebug but marked as overwritten by the custom/original style. any help welcome, cheers

  • RELEVANCY SCORE 2.73

    DB:2.73:How To Simulate 'Use Page Style' For A Portlet 9x


    All,
    How do i simulate the 'use page style' feature for a custom portlet ? Currently, I have to hard code the style.
    thanks

    DB:2.73:How To Simulate 'Use Page Style' For A Portlet 9x

    All,
    How do i simulate the 'use page style' feature for a custom portlet ? Currently, I have to hard code the style.
    thanks

  • RELEVANCY SCORE 2.73

    DB:2.73:Sap Html Viewer In Sap Business Client 3k



    Hi

    I have an SAP HTML viewer application which displays webpages in SAP GUI. There are some custom controls embedded into the program.

    If i access my program on SAP Business Centre, will the SAP HTML Viewer work? I read the online documentation and it does mention that SAP Business Client has embedded rendering engines for Webdynpro ABAP/JAVA, HTML etc.

    Would appreciate if someone can confirm on this point.

    Regards

    Vikram

    DB:2.73:Sap Html Viewer In Sap Business Client 3k


    It will work assuming NWBC for Desktop is used and it is able to launch SAP GUI for Windows for running your custom program.

  • RELEVANCY SCORE 2.72

    DB:2.72:Mixing Adf Faces Rich Client And Html 1k


    Hi,

    I think I read in this forum that it is a bad idea to mix HTML and ADF faces markup, but I haven't been able to find any posts related to the subject. Therefore, I ask your opinion about this piece of code in a JSPX page; it is an HTML table inside a PanelBorderLayout:
    af:panelBorderLayout inlineStyle="padding:10px;"
    table cellspacing="1" cellpadding="3" border="0" width="100%"
    style="background-color:#CCCCCC;"
    tr
    td width="100"
    style="background-color:#EDEDEC; text-align:right;"
    af:outputLabel value="Criterio de Bsqueda:"
    showRequired="true"/
    /td
    td width="200" style="background-color:White;"
    af:selectOneChoice inlineStyle="width:100%; height:100%;"
    af:selectItem label="Seleccione una opcin"
    value="Seleccione una opcin"/
    /af:selectOneChoice
    /td
    td width="300" style="background-color:White;"
    af:inputText inlineStyle="width:100%;" columns="60"/
    /td
    /tr
    /table
    .
    .
    .Thanks for your help!

    Juan Manuel

    DB:2.72:Mixing Adf Faces Rich Client And Html 1k

    Juan Manuel,

    If you really want to use table markup like that, you can use the Trinidad HTML components (tablelayout, rowlayout), but if you can use the ADF Faces layout components to acheive your design, so much the better.

    I admit, I have used the (10g) ADF Faces HTML components mixed with ADF Faces components to acheive some quite complex layouts. In 11g, you can use Trinidad HTML and ADF Faces together.

    Best,

    John

  • RELEVANCY SCORE 2.72

    DB:2.72:How To Initialize Custom Component Styles So They Work Properly In Sub-Applications 1p



    Anyone have any ideas on how to set up a static initializer that accesses styles in the parent application so that sub-applications can be included and custom components can be styled using the style declaration in the compiled sub-application.

    If you create a custom component and want to apply style properties to it, the standard practice per adobe docs (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf687e7-7ff6.html#WS2d b454920e96a9e51e63e3d11c0bf69084-79da) is to create a static initializer like:

    // Define a static variable.

    private static var classConstructed:Boolean = classConstruct();

    // Define a static method.

    private static function classConstruct():Boolean {

    if (!FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration("myComponents.StyledRe ctangle"))

    {

    // If there is no CSS definition for StyledRectangle,

    // then create one and set the default value.

    var myRectStyles:CSSStyleDeclaration = new CSSStyleDeclaration();

    myRectStyles.defaultFactory = function():void {

    this.fillColors = [0xFF0000, 0x0000FF];

    this.alphas = [0.5, 0.5]; }

    FlexGlobals.topLevelApplication.styleManager.setStyleDeclaration("myComponents.StyledRect angle", myRectStyles, true);

    }

    return true;

    }

    And there in lies the problem for sub-applications. It seems that custom components don't work with the new style inheritance from modules and sub-applications because your static initializer accesses the FlexGlobals.topLevelApplication, not the parentApplication of the class. The parentApplication, which would have the style selectors defined, is only accessible on an instance (unless I am missing something). This seems like a significant gap in the improvements to style management in Flex 4.

    The only other option I see is to write some kind of code in the constructor to check if the topLevelApplication is the parentApplication and if not look up the style selector for the class, but this seems like a hack.

    Anyone have any idea how to do this cleanly so that custom components in sub-applications work correctly when no style selector for the class is defined in the topLevelApplication styleManager, but rather in the parentApplication style manager?

    DB:2.72:How To Initialize Custom Component Styles So They Work Properly In Sub-Applications 1p


    Anyone have any ideas on how to set up a static initializer that accesses styles in the parent application so that sub-applications can be included and custom components can be styled using the style declaration in the compiled sub-application.

    If you create a custom component and want to apply style properties to it, the standard practice per adobe docs (http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf687e7-7ff6.html#WS2d b454920e96a9e51e63e3d11c0bf69084-79da) is to create a static initializer like:

    // Define a static variable.

    private static var classConstructed:Boolean = classConstruct();

    // Define a static method.

    private static function classConstruct():Boolean {

    if (!FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration("myComponents.StyledRe ctangle"))

    {

    // If there is no CSS definition for StyledRectangle,

    // then create one and set the default value.

    var myRectStyles:CSSStyleDeclaration = new CSSStyleDeclaration();

    myRectStyles.defaultFactory = function():void {

    this.fillColors = [0xFF0000, 0x0000FF];

    this.alphas = [0.5, 0.5]; }

    FlexGlobals.topLevelApplication.styleManager.setStyleDeclaration("myComponents.StyledRect angle", myRectStyles, true);

    }

    return true;

    }

    And there in lies the problem for sub-applications. It seems that custom components don't work with the new style inheritance from modules and sub-applications because your static initializer accesses the FlexGlobals.topLevelApplication, not the parentApplication of the class. The parentApplication, which would have the style selectors defined, is only accessible on an instance (unless I am missing something). This seems like a significant gap in the improvements to style management in Flex 4.

    The only other option I see is to write some kind of code in the constructor to check if the topLevelApplication is the parentApplication and if not look up the style selector for the class, but this seems like a hack.

    Anyone have any idea how to do this cleanly so that custom components in sub-applications work correctly when no style selector for the class is defined in the topLevelApplication styleManager, but rather in the parentApplication style manager?

  • RELEVANCY SCORE 2.72

    DB:2.72:Css Style Ignored? x8


    Hallo
    I have defined two styles that should be applied to a submit button. However upon inspecting the html that has been rendered to the client I notice that the settings of the 2nd style are being ignored (striked through). How can I enforce the use of both
    styles for the button element?
    See screenshot, this was taken using the F12 developer tools in IE 9.
    I.W Coetzer

    DB:2.72:Css Style Ignored? x8

    Hello

    This problem occurs because the following conditions are true in Internet Explorer:
    All style tags after the first 31 style tags are not applied.
    All style rules after the first 4,095 rules are not applied.
    On pages that uses the @import rule to continously import external style sheets that import other style sheets, style sheets that are more than three levels deep are ignored.
    Note: refer to http://support.microsoft.com/kb/262161for specific information.

  • RELEVANCY SCORE 2.72

    DB:2.72:Semanticzoom m9


    hi
    I need to implement SemanticZoom function in my app.
    So I look at the example :QuickStart: Adding SemanticZoom controls .
    Now I want to implement SemanticZoom function with custom controls . But I didn't find the information or example about

    ISemanticZoomInformation .
    There is the example :HTML SemanticZoom for custom controls sample inBuilding Metro style apps with Javascript.
    So can you provide me an example about ISemanticZoomInformation inBuilding Metro style apps
    with C#
    Thanks !

    DB:2.72:Semanticzoom m9

    All of the samples are located here:
    http://code.msdn.microsoft.com/windowsapps/
    You can request a sample if you don't see one that fits your needs.Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

  • RELEVANCY SCORE 2.72

    DB:2.72:Custom Guistyle Border 1p




    use this pic as background in GUI Style


    set borders for this style 2,2,2,2


    set all other values to 0,0,0,0

    DB:2.72:Custom Guistyle Border 1p



    use this pic as background in GUI Style


    set borders for this style 2,2,2,2


    set all other values to 0,0,0,0

  • RELEVANCY SCORE 2.72

    DB:2.72:Custom Html Label For Rich:Simpletogglepanel px



    I want the to display some data on my simpleTogglePanel label in different fonts and styles.

    Is there any provison to add custom HMTL Style label for SimpleTogglePanel?

    I tried using rich:simpleTogglePanel label="bbold/b and iitalic/i"

    But no luck

    i didnt see any attribute like escape=false, which is there for h:outputText, which escapes the html content

    Is there any way to acheive the same?

  • RELEVANCY SCORE 2.72

    DB:2.72:How Do I Access Custom Web Part Properties Through The Javascript Client Object Modal (Om)? pm


    If I have a custom property for a web part, how do I access it in the client OM?
    For example:

    [Personalizable(PersonalizationScope.Shared),
    WebBrowsable(true),
    WebDisplayName(HTML Class),
    WebDescription(Enter the HTML class attribute),
    Category(Configuration)]
    public string HtmlClass
    {
    get;
    set;
    }

    DB:2.72:How Do I Access Custom Web Part Properties Through The Javascript Client Object Modal (Om)? pm

    If I have a custom property for a web part, how do I access it in the client OM?
    For example:

    [Personalizable(PersonalizationScope.Shared),
    WebBrowsable(true),
    WebDisplayName(HTML Class),
    WebDescription(Enter the HTML class attribute),
    Category(Configuration)]
    public string HtmlClass
    {
    get;
    set;
    }