Html Content without scrolling

I need to show html content like a textblock in Store App 8.1. I have created a webview and navigate this webview to the html string
coming dynamically. After this I call a script to disable the scrolling in WebView but I am not able to set the height of WebView according to the amount of content coming dynamically. I have created another webview to get the height of content but it returns
wrong height and sometimes text is not shown. So whole view is ruined.I need to show html content without scrolling. I tried RichtextBlock but it does not parse all html tags properly. Can somebody provide a solution to it?

What's the scenario for this issue?
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.

Similar Messages

  • Escape HTML content without escaping tags

    How can I escape HTML content without escaping the HTML tags?

    Thanks for the info.  The select statement worked for me when I ran it with the inputs below but when I tried to put the statement in my code it didn't work.  Can you have a look and see what I may have done wrong?
    Thanks
    Karen
    My code looks like this:
    FUNCTION escape_varchar(p_text_in IN VARCHAR2, p_encode  IN NUMBER)
        RETURN VARCHAR2
      IS
        p_text_out VARCHAR2(32767);
      BEGIN
        p_text_out := DBMS_XMLGEN.CONVERT(utl_i18n.escape_reference(unistr(REPLACE(p_text_in,'\','\\')),'US7ASCII'),p_encode);
        RETURN p_text_out;
    END escape_varchar;
    p_text_in =
    <html>
    <head>
      </head>
    <body>
    Make sure the following characters are getting Displayed in EIS
    ~`!@#$%^&*()_-+={}|[]\:;"'<>?,./ ¢ £€¥©®™‰µ >• • … §¶ß‹›«»==–—¯ ?¤¦¨¡¿ˆ˜°-±÷/×¹²³¼½¾ ƒ??8v˜?=?¬n?´¸ªº
    †‡ÀÁÂÃÄÅÆÇÈÉÊËÌÎÏÐÑÒÓÔÕÖØŒŠÙÚÝÜŸÞàáâãäåæçèéêëì í î ï ðñòóôõøœšùúûüýþÿ??G????T?????????S??F??Oaß?de?????
    ?µ???p??st?f??????????????
      </body>
    </html>
    p_encode = 0
    p_test_out =
    &amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
      &amp;lt;/head&amp;gt;
      &amp;lt;body&amp;gt;
    Make sure the following characters are getting Displayed in EIS
    ~`!@#$%^&amp;amp;*()_-+={}|[]\:;&amp;quot;&amp;apos;&amp;lt;&amp;gt;?,./ &amp;#xa2; #&amp;#x20ac;Y&amp;#xa9;&amp;#xae;&amp;#x2122;&amp;#x2030;&amp;#xb5; &amp;gt;&amp;#x2022; &amp;#x2022; &amp;#x2026; &amp;#xa7;&amp;#xb6;&amp;#xdf;&amp;#x2039;&amp;#x203a;&lt;&gt;==&amp;#x2013;&amp;#x2014;&amp;#xaf; ?&amp;#xa4;|&amp;#xa8;!&amp;#xbf;&amp;#x2c6;&amp;#x2dc;&amp;#xb0;-&amp;#xb1;&amp;#xf7;/&amp;#xd7;&amp;#xb9;&amp;#xb2;&amp;#xb3;&amp;#xbc;&amp;#xbd;&amp;#xbe; &amp;#x192;??8v&amp;#x2dc;?=?&amp;#xac;n?&apos;&amp;#xb8;&amp;#xaa;&amp;#xba;
    &amp;#x2020;&amp;#x2021;AAA&amp;#xc3;A&amp;#xc5;&amp;#xc6;CEEEEIII&amp;#xd0;&amp;#xd1;OOO&amp;#xd5;O&amp;#xd8;&amp;#x152;SUUYU&amp;#x178;&amp;#xde;aaa&amp;#xe3;a&amp;#xe5;&amp;#xe6;ceeeei i i i &amp;#xf0;&amp;#xf1;ooo&amp;#xf5;&amp;#xf8;&amp;#x153;suuuuy&amp;#xfe;y??G????T?????????S??F??Oa&amp;#xdf;?de?????
    ?&amp;#xb5;???p??st?f??????????????
      &amp;lt;/body&amp;gt;
    &amp;lt;/html&amp;gt;

  • Printing HTML content without the printout dialog

    Hi all,
    I'm using a "CL_ISHMED_PMD_HTMLVIEWER" object to display an HTML file inside a PMD.
    Now, when I'm trying to print it, the OLE printout dialog pops up and ask me which printer I want to use.
    I want to hardcode the destination device and suppress this dialog.
    I don't mind setting an outside button in my PMD and print the file in an other way (directly printing the file maybe), but it MUST be without the dialog.
    Does anyone have an idea?
    Cheers,
    Ido

    Hi,
    Goto SU01 transaction.
    Enter your user id & click display
    Goto PARAMETERS tab
    enter PRI & value as LOCL or LP01 depending on the output device which you have configured for SAP.( You can check the same in SPAD transaction => Output device)
    SAVE
    You wont get the popup.
    Best regards,
    Prashant

  • How to scroll the contents of the table without scrolling tab/colmn headers

    how to scroll the contents of the table without scrolling table and column headers in WebDynPro.
    I have set the table properties as
    footer visible = false;
    Visible row count = -1;
    and have put the table into scroll container with some specified height.
    I dont want to use the footer as I have used many tables in the container in same row and with same <b>Data node</b>.
    I have used many tables in same row and with same context node to differentiate it with two different colors for that specific columns.
    I am using <b>NW 04</b> and not NW04s.
    Please help me regarding this.

    To print the whole data of your table you have to do it yourself. The showPrintablePageBehavior only print what you actually see on the page. It does not traverse the data.
    The normal way to handle tis is to use a report generator (like itext, jasper report, fop ...).
    Timo

  • How to split a html page without frames and display random questions

    1) In my online examination application i need to display timer at the top of the page. even if the user
    scrolls down the timer should be visible. is there any way to do this without frames.
    2) questions are displayed randomly for each user. iam using rand() function to retrieve the questions from mysql database. now the problem is if the user refresh the page another set of questions are displayed. how to avoid this.
    thanks

    Hi Thanuja,
    Can you try it with the one below..... and checkout whether tht works or not
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
      </head>
    <script language="javascript">
    var i=0
    function showDate()
    i=i+1
    document.getElementById("staticcontent").innerHTML= "<center><b>Time :  " + i +" secs</b></center>"
    setTimeout("showDate()",1000)
    </script>
    <body onload="showDate()"> 
    <div id="staticcontent" style="position:absolute; border:1px solid black; background-color: lightyellow; width: 135px;">
    </div>
    <script type="text/javascript">
    //define universal reference to "staticcontent"
    var crossobj=document.all? document.all.staticcontent : document.getElementById("staticcontent")
    //define reference to the body object in IE
    var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body
    function positionit(){
    //define universal dsoc left point
    var dsocleft=document.all? iebody.scrollLeft : pageXOffset
    //define universal dsoc top point
    var dsoctop=document.all? iebody.scrollTop : pageYOffset
    //if the user is using IE 4+ or Firefox/ NS6+
    if (document.all||document.getElementById){
    crossobj.style.left=parseInt(dsocleft)+5+"px"
    crossobj.style.top=dsoctop+5+"px"
    setInterval("positionit()",100)
    </script>
    <%
    /* JSP LOGIC*/
    %>
    <!-- Customized HTML content -->
    </body>
    </html>REGARDS,
    RaHuL

  • SSRS 2008 R2 report does not print the page header for a html content displaying on multiple pages

    Hi
    I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I  am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
    second page onwards.
    Nikesh Shah
    Nikesh Shah

    Hi Nikesh,
    According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
    color, background images, and expressions. But we couldn’t add tablix in the page header.
    If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
    If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to display a html file without tags?

    Hello,
    I am new for Java programming. Now i have to display a html file without all the tags. My code is the fllowing:
    u = new URL("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=protein&val=55584070");
    BufferedReader in = new BufferedReader(new InputStreamReader(u.openStream()));
    while ((s = in.readLine()) != null) {
    System.out.println(s);
    in.close();
    Unforturnately, the output is the soucecode of the html file and I just want the content.
    Please help me.
    Thanks a lot in advance,
    Danica

    Here's a simple example
    http://forum.java.sun.com/thread.jspa?threadID=293830
    I haven't tested it, but I bet camickr did.

  • Embed  html file without using IFrame UI

    Is there any way to embed html file without using IFrame UI?

    Hi
    To embed a static HTML content inside your view, Iframe is the easiest form or else, you can provide links through Linktourl UI or through a static text or a button, invoke a action and display the HTML content inside the frame or call it in a seperate (external) window.
    Otherwise, we have only less options!
    if you have anything specific, do let us know
    thanks
    sathya

  • How to attach HTML content to DMS Document?

    Hello,
    I have a requirement in which I have to make a HTML file which contains the current Dispaly on screen, I have to attach this HTML file inside the DMS document.
    For this I am doing following steps.
    1 ) FM SAVE_LIST
    2) FM WWW_HTML_FROM_LISTOBJECT, form this FM I am getting the Internal table which is containing the HTML content.
             a) I am converting this internal table content ot first in XSTRING using FM SCMS_TEXT_TO_XSTRING
             b) And XSTRING to Binary format.
    3) After this I am creating a DMS cocument using FM CVAPI_DOC_CREATE
    3) After DMS document creation I am using FM CVAPI_DOC_CHECKIN to attach HTML file content to this DMS Document.
    Everthing seems to be ok, but when I am using CV03N to view the document, its showing the HTML file bu not showing the original content(HTML)
    Please help to find the problem, Is there any other way from which I could CHECKIN HTML content directly inside DMS document in HTML form without converting it to binary.

    HI,
    I have not understood the requirement.
    As far as I know, HTML need not to be checked in.
    Refer also link below
    Re: some questions on SAP DMS
    May be useful in choice of FM.
    Regards
    Nitin

  • In mozila 3.6 or higher version as i install Browser Highlighter addone then in my site when i edit any html content in fck editor or in tiny mce editor then it add a script name gwproxy how i can solve it

    in mozila 3.6 or higher version as i install Browser Highlighter addone then in my site when i edit any html content in fck editor or in tiny mce editor then it add a script name gwproxy its happend with 3.6 or higher version thanks
    == This happened ==
    Every time Firefox opened
    == i upgrqde mozilla to 3.6.3 version and i check it with on another computers

    Hi Deepak!
    This seems to be a well-known and quite widespread problem with this extension, unfortunately - the net is full of complaints about this issue, not to mention 'horror stories' about how this (otherwise fairly innocent and well-certified but clearly highly commercial) extension has 'sneaked' its way into peoples installations.
    I find it quite amazing that such an issue has existed for so long without the Browser Highlighter, TinyMCE and FCKeditor teams getting together and making a working fix - it should be rather easy to prevent with a tag or plugin check in editor code and/or a simple editor recognition routine in the extension.
    If you want (/need) to use this extension, I can only point you to the Browser Highlighter homepage for support; in [http://thebrowserhighlighter.com/help.jsp The Browser Highlighter Help section] it is clearly documented - first section, last paragraph - along with a link to [http://thebrowserhighlighter.com/blacklist.jsp this problem report form] where it seems you can ask for help solving the problem.
    However, given the (script-)name of the page, I suppose that reporting a problem on your own website (with all details) actually adds your site - or part of it - to a blacklist that TBH maintains to turn off TBH or at least problematic script injections when visiting sites registered in this list. So actually this might help you solve the problem quite easily, if they do what the page implies.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help more users with similar problems.

  • How to Edit html content of My First Days in ESS

    Hi All,
    My requirement is to change only the html content displayed in My first Days under Life and work event tab.
    Currently it shows content provided by sap.
    e.g ; it displays "Welcome to xyz_Company_name  "  and some dummy content.
    where as we want to customize it as per client requirement i.e. to  display client specific policies and     
    name etc.
    Please help to solve the problem.
    Thanks,
    Zaid

    s.r.e.e wrote:
    I am reading this html file in java class file and displaying the template as it is in jsf page, now when user clicks on edit button one pop up should be opened and entered data should be displayed at appropriate place in layout, on clicking clear content should be cleared.
    Can anyone help me how to write the logic to open a popup using html button instead of a4j:commandbutton in jsf and how can I bind the values to backing bean list without using a4j:repeat using normal html template
    I'm not sure you are going to get any binding happening without a lot of cajoling.
    The real question is why are you trying to write (hardcode?) HTML in a Java class that needs to interact with JSF components?

  • Show HTML content as TextBlock string

    I need to show some string parsed as HTML content like TextBlock text i.e. no scrolling in text and size of control auto adjusts to size of string. I thought of converting the html to string and set this as content of textblock but I also want the formatted
    view of HTML tags. Is it even possible? If it is then how can I achieve this?

    >>Is it even possible?
    No, the TextBlock doesn't translate HTML tags like <b>bold..</b> to bold text if that's what you are trying to do.
    But you could use the WebView control and its NavigateToString method to load a local HTML string into it and display on your XAML page:
    http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.webview.
    Hope that helps.
    Please remember to mark helpful posts as answer and/or helpful.

  • IFrame is Obscuring Content When Scrolling Down

    Hi,
    I've got a Flex 3 project. I'm having some problems gettting an iFrame to work. If I open my project in a normal size browser window, it looks fine. If I open it in a smaller window with scrolllbars and scroll down, then the iFrame scrolls down as well and covers content. How do I keep the iFrame from obscuring content when scrolling.
    My iFrame looks like:
    <flexiframe:IFrame id="myiFrame"  source="http://www.mysite.com/myStuff.html"  x="315" y="20" width="498" height="65" scrollPolicy="off"   />
    Any suggestions?
    Thank you.
    -Laxmidi

    Now, I've got it so that the iFrame doesn't overlap. But the problem is that if the user opens a small browser window, they don't get scrollbars. How can I solve this problem? Is there a way to force the browser to put up scrollbars?
    In the main app:
    In the Application tag, I've got:
         horizontalScrollPolicy="off" verticalScrollPolicy="off"
    My iFrame looks like:
    <flexiframe:IFrame id="myiFrame"  source="http://www.mysite.com/myStuff.html"  x="315" y="20" width="498" height="65" scrollPolicy="off"   />
    In the HTML Template, I've put a div around the swf and added css:
    <style type="text/css">
    #blockwrapper{
    display: block;
    margin:0;
    padding:0;
    width: 980px;
    height: 800px;
    </style>
    <div id="blockwrapper">
    <noscript>
      <object classid="clsid:D26CDA6E-AE6D-11cf-96B8-444553540000"
    id="${application}" width="${width}" height="${height}"
    codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="${swf}.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="${bgcolor}" />
    <param name="allowScriptAccess" value="sameDomain" />
    <embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
    width="${width}" height="${height}" name="${application}" align="middle"
    play="true"
    loop="false"
    quality="high"
    allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash"
    pluginspage="http://www.adobe.com/go/getflashplayer">
    </embed>
    </object>
    </noscript>
    </div>
    Any suggestions?
    Thank you.
    -Laxmidi

  • Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash

    hi all and adobe forum team
    im download felx bulder 3 and make a new flex project ....
    its ok
    but when i want to run my project i take empty page with the
    error code " Alternate HTML content should be placed here. This
    content requires the Adobe Flash Player. Get Flash "
    that error mean i havent flash player on my pc
    but i have because it will installed by default with adobe
    flex builder, and flash cs3 on my pc, and im installed it from
    adobe web site, and im installed it from cd
    but without any result, i have same the error when i want to
    run my flext project
    i take "Alternate HTML content should be placed here. This
    content requires the Adobe Flash Player. Get Flash "
    plz help me why
    note: im using windows vista ulimate

    I had the same problem.
    After I've installed new flash player version 9.0.60.120.
    I've got the same error.
    I'm using Korean windows. Maybe that's the problem. I don't
    know yet.
    I will test on English machine tomorrow.
    Anyway,
    Problem is caused by version detaction javascript.
    In AC_OETags.js file, there is ControlVersion() function.
    Inside of that function,
    axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
    this line throw error with catching but do nothing.
    So, overall javascript recognize flash player as version 2.0
    and something.
    I testd this on firefox 2.0.0.4 and IE 7.0.5730.11.
    There are all Korean version and failed.
    But Safri beta version for Window works fine.
    This does not have any Korean version yet. That's why I
    assume maybe
    that's causing the problem.
    So, I guess Adobe people will do something for this, but if
    you want to
    run it right now without this error message.
    Easiest way is just turn off that Flash player version
    detection in
    project properties > Flex Complier > HTML wrapper.
    Uncheck Require Flash player version.
    Or edit your Javascript by yourself in
    html-template>AC_OETags.js.
    like below;
    axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
    I hope this will be solved quickly.
    Dongwook, Kwon.
    awwad ¾´ ±Û:
    > hi all and adobe forum team
    >
    > im download felx bulder 3 and make a new flex project
    .... its ok
    > but when i want to run my project i take empty page with
    the error code "
    > Alternate HTML content should be placed here. This
    content requires the Adobe
    > Flash Player. Get Flash "
    >
    > that error mean i havent flash player on my pc
    > but i have because it will installed by default with
    adobe flex builder, and
    > flash cs3 on my pc, and im installed it from adobe web
    site, and im installed
    > it from cd
    > but without any result, i have same the error when i
    want to run my flext
    > project
    > i take "Alternate HTML content should be placed here.
    This content requires
    > the Adobe Flash Player. Get Flash "
    > plz help me why
    >

  • Opening new HTML window without toolbars and set size.

    Hi, I am researching the possibilities for opening a new HTML
    window without toolbars and at a certain size. I have found a bunch
    of tutorials and even this guide here at adobe:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14192
    BUT
    I work in Flash 8 and I use Dreamweaver 8.2 (with all the
    latest updates). As you know Dreamweaver uses Java Script to
    implement Flash into a HTML page. By generating a folder called
    Scripts and the file AC_RunActiveContent.js
    So I tri the methods described in the above technote. I even
    found a guide at kirupa...and at flashkit. I even downloaded an
    example file from Flashkit. But any implementation of any of the
    methods above in a Flash 8 file implemented with DW does NOT work.
    I am not a hardcore programmer. I am more the kind of guy who
    finds code that works and moulds it to my purpose. Copy and paste
    programming if you may. So its not so easy for me to see why it
    wont work and where the problem is. But I do have a suspicion
    towards the javascript flash implementation that Dreamweaver does.
    So if anyone have guide or tips to how I can use Flash 8 and
    DW 8.2 and get flash to open a new HTML window with a certain size
    and without scroll or toolbars..that would be GREAT!!
    Thanks in advance!
    AKIRA

    AKIRA,
    The TechNotes are from the Cold Fusion site at Adobe. I am
    not certain, but I think that you need to be using Cold Fusion on
    your websites server to be able to use the functions to which you
    refer. Again, I am not certain that I am right here, but it could
    be a place to start research into the problem.
    -john

Maybe you are looking for