multiline textbox size limitation?

Discussion in 'Questions (Windows Mobile)' started by Cableguy, Sep 26, 2008.

  1. Cableguy

    Cableguy Expert Licensed User

    Hi guys...I'm using a multilined textbox to see the html from a web page...
    My problem is that the text returned to the textbox is not the complete webpage html code...
    Is there any size limitation to how many characters a textbox can hold?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Yes, the native control is limited to 64k characters.
     
  3. Cableguy

    Cableguy Expert Licensed User

    still, my page source is surelly under those 64k characters....it has 4071 characters acording to strlenght
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    So this is not the cause of your problem.
     
  5. Cableguy

    Cableguy Expert Licensed User

    Ok, so I discovered that the WebBrowser.documentText prop, set with the door dll so I could get the output, returned only a partial of the complete html text...(4071 characters)
    using the http dll to get the http response, gets the full content of the page (5764 characters), any idea why?
    In MSDN documentation both seem to do exactly the same, retrieve the html contents of a web page...so why the diferent results?
     
    Last edited: Sep 26, 2008
  6. agraham

    agraham Expert Licensed User

    Is this a page loaded from the Web? If so are you sure the download is complete before you try to get the text?
     
  7. Cableguy

    Cableguy Expert Licensed User

    I'm reading the tet on the NAVITD event, wich supposedly ocours after the age is completly loaded....
    Should I use any other event??
    The answer is YES!!!
    I changed the event to DocumentCompleted and i got the hole html document...
    Thanks agraham....
     
    Last edited: Sep 26, 2008
  8. agraham

    agraham Expert Licensed User

    From MSDN
    Also from MSDN
     
  9. Cableguy

    Cableguy Expert Licensed User

    s for the clarification, Andrew...
    I'm trying to add a sendclick to a webpage button, I already can focus the control I want, providing it return a valid ID, or name, but I keep getting an error saying the the value "does not fall within the expected range"....
    Any ideas?
     
  10. agraham

    agraham Expert Licensed User

    That's not in my sphere of competence I'm afraid!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice