Results 1 to 4 of 4

Thread: [RESOLVED] Asp.net webforms listbox

  1. #1

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Resolved [RESOLVED] Asp.net webforms listbox

    I’ve written an Asp.net webforms app that works well in chrome on my desktop workstation, but in iOS chrome and safari, the listboxes don’t render their contents. I know they have contents, as another part of the program (a button) is only enabled if at least one of two listboxes have contents. Has anyone any idea what is happening?

  2. #2

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: Asp.net webforms listbox

    In iOS my list boxes appear almost disabled in appearance, but I know the items I’m adding are being added to them. Items are still not rendered.

    This is the app. embedded in my webpage...

    http://www.scproject.biz/basic_set_theory.php#trynow

    This is the app. without the webpage...

    http://www.scproject.biz/basicsettheory.aspx

  3. #3
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Re: Asp.net webforms listbox

    Not sure if you still have the issue but,
    I haven't read throughout the code as am in a hurry but if I understand correctly you expect to add items that they don't appear.
    Try using not page.ispostback as a webpage can go in multiple cycles and if you don't handle the postback then the content will re-render.
    Again a quick read as I'm in a hurry.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  4. #4

    Thread Starter
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: Asp.net webforms listbox

    Quote Originally Posted by sapator View Post
    Not sure if you still have the issue but,
    I haven't read throughout the code as am in a hurry but if I understand correctly you expect to add items that they don't appear.
    Try using not page.ispostback as a webpage can go in multiple cycles and if you don't handle the postback then the content will re-render.
    Again a quick read as I'm in a hurry.
    Apparently, listboxes don't work the same in ios. Instead of displaying the list onscreen, clicking the listbox brings up a scrollable selecter at the bottom of the screen. I switched to asp:datagrids and an asp:textbox

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width