dropdown in the listview control for ASP.net

5 views
Skip to first unread message

sn@gShadow

unread,
Aug 28, 2008, 11:22:50 PM8/28/08
to DotNetDe...@googlegroups.com, asp...@googlegroups.com
Hi guys,

I have a probelm with listview control in ASP.net framework 3.5, C#.
I tried to collect information from sqldatasource (select statement from stored procedure) then I feed all of the data to listview, everything going normal

and then... I modified one of those cell in "<EditItemTemplate>" with dropdown control and everthing going normal too, I has already used "smart Tag" from listview control to enabling "editing option" (I used stored procedure to update the data).
but how to update the modified cell because on the original template <EditItemTemplate> used label control, all of them, and now one of the cell use dropdownlist control?

I have tried use "updating" event ? but still have an error.
anyone have ideas to solve this problem ? (thax's in advance)



rgds
sugiarto

一日不见如隔百秋

It's not what you can get but what you can give that makes you a rich person

Cerebrus

unread,
Aug 29, 2008, 12:07:08 AM8/29/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Call DataBind again after the update is done.

sn@gShadow

unread,
Aug 29, 2008, 1:06:45 AM8/29/08
to DotNetDe...@googlegroups.com, aspnet

ok all (specially for zorg007),

problem solved, thax's for your advice :)
another ref for liview with dropdown list control:
- http://forums.asp.net/t/1275744.aspx
- http://forums.asp.net/p/1275595/2423702.aspx#2423702

thax's
sugi




On Fri, Aug 29, 2008 at 11:48 AM, sn@gShadow <the...@gmail.com> wrote:

yeah, I have called DataBind already, but:
- there is still error message: Sys.WebForm.PageRequestManagerServerErrorException: Input string was not incorrect format.
- and the data hasn't updated, yet.

did you (anyone) ever face with this before ?


Rgds

sn@gShadow

unread,
Aug 29, 2008, 12:48:41 AM8/29/08
to DotNetDe...@googlegroups.com, aspnet

yeah, I have called DataBind already, but:
- there is still error message: Sys.WebForm.PageRequestManagerServerErrorException: Input string was not incorrect format.
- and the data hasn't updated, yet.

did you (anyone) ever face with this before ?


Rgds



On Fri, Aug 29, 2008 at 11:07 AM, Cerebrus <zor...@sify.com> wrote:

Cerebrus

unread,
Aug 29, 2008, 4:25:28 AM8/29/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Thanks for the special mention amongst all those luminaries ! :P

On Aug 29, 10:06 am, "sn@gShadow" <the....@gmail.com> wrote:
> ok all (specially for zorg007 <zorg...@sify.com>),
>
> problem solved, thax's for your advice :)
> another ref for liview with dropdown list control:
> -http://forums.asp.net/t/1275744.aspx
> -http://forums.asp.net/p/1275595/2423702.aspx#2423702
>
> thax's
> sugi
>
>
>
> On Fri, Aug 29, 2008 at 11:48 AM, sn@gShadow <the....@gmail.com> wrote:
>
> > yeah, I have called DataBind already, but:
> > - there is still error message:
> > Sys.WebForm.PageRequestManagerServerErrorException: Input string was not
> > incorrect format.
> > - and the data hasn't updated, yet.
>
> > did you (anyone) ever face with this before ?
>
> > Rgds
>
> > On Fri, Aug 29, 2008 at 11:07 AM, Cerebrus <zorg...@sify.com> wrote:
>
> >> Call DataBind again after the update is done.
>
> >> On Aug 29, 8:22 am, "sn@gShadow" <the....@gmail.com> wrote:
> >> > Hi guys,
>
> >> > I have a probelm with listview control in ASP.net framework 3.5, C#.
> >> > I tried to collect information from sqldatasource (select statement from
> >> > stored procedure) then I feed all of the data to listview, everything
> >> going
> >> > normal
>
> >> > and then... I modified one of those cell in "<EditItemTemplate>" with
> >> > dropdown control and everthing going normal too, I has already used
> >> "smart
> >> > Tag" from listview control to enabling "editing option" (I used stored
> >> > procedure to update the data).
> >> > but how to update the modified cell because on the original template
> >> > <EditItemTemplate> used label control, all of them, and now one of the
> >> cell
> >> > use dropdownlist control?
>
> >> > I have tried use "updating" event ? but still have an error.
> >> > anyone have ideas to solve this problem ? (thax's in advance)
>
> >> > rgds
> >> > sugiarto
>
> >> > 一日不见如隔百秋
>
> >> > It's not what you can get but what you can give that makes you a rich
> >> person- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages