Could you provide some source code to give an example of your problem?
Chris Moore [msft]
Visual Studio Update
-------
>From: "jeff" <vader1000x@dotnet.itags.org.yahoo.com>
>Subject: listbox
>Date: Mon, 23 Jun 2003 15:10:19 -0400
>Lines: 9
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <u3ZlbubODHA.3408@dotnet.itags.org.tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: washdc3-ar4-4-35-058-209.washdc3.dsl-verizon.net
4.35.58.209
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:154384
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>i have an unbound webforms listbox. when i add items and select something,
>selecteditem, selectedvalue are nothing. selectedindex is -1. if i us the
>exact same code with an unbound combobox, it returns a selected item.
>wassup wit dat? i'm using .net 1.1 w/vb.
>jeffi found the problem after a lot of digging. for whatever reason, i had to
put my listbox.add("x") code inside of an if not ispostback.
jeff
"Chris Moore" <bork111@.yahoo.com> wrote in message
news:ns0VW5MPDHA.1640@.cpmsftngxa06.phx.gbl...
> Could you provide some source code to give an example of your problem?
> Chris Moore [msft]
> Visual Studio Update
> -------
> >From: "jeff" <vader1000x@.yahoo.com>
> >Subject: listbox
> >Date: Mon, 23 Jun 2003 15:10:19 -0400
> >Lines: 9
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> >Message-ID: <u3ZlbubODHA.3408@.tk2msftngp13.phx.gbl>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> >NNTP-Posting-Host: washdc3-ar4-4-35-058-209.washdc3.dsl-verizon.net
> 4.35.58.209
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:154384
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> >i have an unbound webforms listbox. when i add items and select
something,
> >selecteditem, selectedvalue are nothing. selectedindex is -1. if i us
the
> >exact same code with an unbound combobox, it returns a selected item.
> >wassup wit dat? i'm using .net 1.1 w/vb.
> >jeff
Saturday, March 24, 2012
listbox
Labels:
asp,
code,
example,
jeff,
listbox,
moore,
msftvisual,
net,
problemchris,
provide,
source,
studio,
update--gtfrom
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment