Server couldnt notice object that i appended (ClientSide) ...

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Server couldnt notice object that i appended (ClientSide) ...

    even if you are using an dropdownlist webcontrol, you'll only have access to
    a dynamically added item if it's selected via the Request.Form().

    Karl

    "Ozz" <oguz.karadenizli@isbank.com.tr> wrote in message
    news:OWI6$UrUDHA.2452@TK2MSFTNGP09.phx.gbl...
    > have a ListBox server side control i want to add new Item to this
    control..
    > For this i wrote this code:
    >
    > var oOption=document.createElement("OPTION");
    > oOption.value="Test"
    > oOption.innerText="Test" Form1.ListBox1.options.appendChild(oOption);
    >
    > And item(<option>) apended to ListBox(<select>) on client side..
    > But i couldnt get this item on server side...
    >
    > What was my fault?
    >
    >

    Karl Seguin Guest

  2. Similar Questions and Discussions

    1. remote object to singleton object(server side)
      how can I use a RemoteObject when the remote object in the server side is a singleton (this means that there is no public constructor in the remote...
    2. troubleshoot : couldnt create folder on USB mass storage disk driver under Win2003 std
      I'm using IRiver iFP-395, a standard UMS USB disk diver. But now I couldnt create folder on USB mass storage disk driver under Win2003 std. ...
    3. url appended to
      I have to work with a url that has a value appended after a question mark. Usually, this is set forth as http://.....?variable=value but in this...
    4. domainname not appended
      Hi, on my AIX 4.3.3 (ML10) Box the domainname from /etc/resolv.conf will not be appended. If i run "telnet computer" aix says unknown host, if i...
    5. X Server fails to notice loaded agpgart module
      Hi. The following message appears in my XFree86 logs... (WW) R128(0): AGP not available (WW) R128(0): AGP failed to initialize -- falling...
  3. #2

    Default Re: Server couldnt notice object that i appended (ClientSide) ...

    or can i use .Net component for this requirement...
    I don't want to make convertion functions "information to string" and
    "string to information"
    only i want to extend .Net components that perceive client side operation ..
    It must say " my listbox is 3 elements now..Someone add child on clientside
    by jscript " :)

    "Ozz" <oguz.karadenizli@isbank.com.tr> wrote in message
    news:eTck9jPVDHA.2368@TK2MSFTNGP09.phx.gbl...
    > Yes ..I haven't used ordinary asp method until now ..
    > I usually use xml spesific methodology (xmlhttp,xslt,xsd,...)...
    > Because of this i dont have any ideas for ASP tricks ...
    > I try to use request.form but I recognized that if my listbox have 4 line
    i
    > couldnt reach it by Request.Form["myListBox"] but if I it has only one
    line
    > i can reach it by Request.Form ...
    > Similarly I couldnt reach Tables but i can reach (<input> ) (hidden or
    > visible )...
    > And i thought "if my form element have value attributes i can access it
    by
    > request.form...
    >
    > But i have problem for my application .. my information is not string ..
    > what must i do ...
    > must i convert my information to string (hidden input) ?(I saw someone
    make
    > this) ...Else..?
    >
    > "Karl Seguin" <kseguin##crea.ca> wrote in message
    > news:%230OiZZrUDHA.2224@TK2MSFTNGP10.phx.gbl...
    > > even if you are using an dropdownlist webcontrol, you'll only have
    access
    > to
    > > a dynamically added item if it's selected via the Request.Form().
    > >
    > > Karl
    > >
    > > "Ozz" <oguz.karadenizli@isbank.com.tr> wrote in message
    > > news:OWI6$UrUDHA.2452@TK2MSFTNGP09.phx.gbl...
    > > > have a ListBox server side control i want to add new Item to this
    > > control..
    > > > For this i wrote this code:
    > > >
    > > > var oOption=document.createElement("OPTION");
    > > > oOption.value="Test"
    > > > oOption.innerText="Test" Form1.ListBox1.options.appendChild(oOption);
    > > >
    > > > And item(<option>) apended to ListBox(<select>) on client side..
    > > > But i couldnt get this item on server side...
    > > >
    > > > What was my fault?
    > > >
    > > >
    > >
    > >
    >
    >

    Ozz Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139