Eliyahu:
Thanks for that url. I am testing out his DynamicListBox for this problem.
Found some other useful controls there.
Val
"Eliyahu Goldin" <> wrote in message
news:...
> Valerian,
>
> Have a look at
> http://www.metabuilders.com/Tools/DynamicListBox.aspx
>
> Eliyahu
>
> "Valerian John" <> wrote in message
> news:%...
> > Eliyahu:
> >
> > Thanks for your response.
> > Yes, I am using the Options collection of the Select element.
> > The ListBox webcontrol is rendered as an HTML Select so I figured I
should
> > be able to manipulate it client-side.
> > I am wondering if one must call a built-in client-side function (similar
> to
> > __doPostBack) that registers that the ListBox's items were altered and
> that
> > changes must be passed via ViewState on postback.
> >
> > TIA,
> > Val
> >
> > "Eliyahu Goldin" <> wrote in message
> > news:...
> > > The ViewState of a webcontrol is a collection of the control's
> properties.
> > > When you add items on client-side, you are using options collection of
a
> > > select object, aren't you? Probably it doesn't translate to ListBox
> Items
> > > property and therefore doesn't get posted back.
> > >
> > > Eliyahu
> > >
> > > "Valerian John" <> wrote in message
> > > news:%23kOcm$...
> > > > I have a ListBox webcontrol on an aspx page. Items are added to
the
> > > > ListBox using client-side code. However, when the page is posted
back
> > the
> > > > items are missing/not available. (It is like the page does not know
> the
> > > > items were added client-side.)
> > > >
> > > > TIA,
> > > > Val
> > > >
> > > >
> > >
> > >
> >
> >
>
>