|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Newbie ListboxI've set up two listboxes with script to move items back and forth, along
with a button to submit. However, when I do sumit, the code behind sees zero items in my second (starts empty) listbox. I figure I'm missing something obvious. Can anybody tell me what it might be? -- Thanks, CGW On Fri, 11 Nov 2005 12:09:02 -0800, CGW wrote:
> I've set up two listboxes with script to move items back and forth, along I don't know what you mean by 'moving back and forth'. I have seen code> with a button to submit. However, when I do sumit, the code behind sees zero > items in my second (starts empty) listbox. I figure I'm missing something > obvious. Can anybody tell me what it might be? that does this in http://www.aboutfortunate.com/default.aspx they should ban religous crap from the net.... period
Show quoteHide quote "intrader" wrote: > On Fri, 11 Nov 2005 12:09:02 -0800, CGW wrote: > > > I've set up two listboxes with script to move items back and forth, along > > with a button to submit. However, when I do sumit, the code behind sees zero > > items in my second (starts empty) listbox. I figure I'm missing something > > obvious. Can anybody tell me what it might be? > > I don't know what you mean by 'moving back and forth'. I have seen code > that does this in http://www.aboutfortunate.com/default.aspx > > When you manipulate a ListBox server control on the client, the ViewState of
its items is not saved. You have to manage it yourself as in this example: http://www.societopia.net/samples/listbox_clientside.aspx Show quoteHide quote "CGW" wrote: > I've set up two listboxes with script to move items back and forth, along > with a button to submit. However, when I do sumit, the code behind sees zero > items in my second (starts empty) listbox. I figure I'm missing something > obvious. Can anybody tell me what it might be? > > -- > Thanks, > > CGW I had about decided that must be what it was. Got it working now. Thank you!
-- Show quoteHide quoteThanks, CGW "Phillip Williams" wrote: > When you manipulate a ListBox server control on the client, the ViewState of > its items is not saved. You have to manage it yourself as in this example: > http://www.societopia.net/samples/listbox_clientside.aspx > -- > HTH, > Phillip Williams > http://www.societopia.net > http://www.webswapp.com > > > "CGW" wrote: > > > I've set up two listboxes with script to move items back and forth, along > > with a button to submit. However, when I do sumit, the code behind sees zero > > items in my second (starts empty) listbox. I figure I'm missing something > > obvious. Can anybody tell me what it might be? > > > > -- > > Thanks, > > > > CGW
Web Server Control and property tree in design time like Font has.
Retrieve Datagrid Element Index by Name Postback in Web Controls client-side .NET control Retrieve GridView column header text on sort how to override DropDownList.SelectedValue property DropDownList Box Combining 2 Fields Using ListBox.DataTextField LoadControl and Multiple IDs in UserControls Error DropDownList |
|||||||||||||||||||||||