Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > OnSelectedIndexChanged event does not work with the selection on the checkbox ( on the cell of Datagrid control ) ?

Reply
Thread Tools

OnSelectedIndexChanged event does not work with the selection on the checkbox ( on the cell of Datagrid control ) ?

 
 
bienwell
Guest
Posts: n/a
 
      03-09-2005
Hi,

Does the OnSelectedIndexChanged event work when we mark on the checkbox on
the cell of Datagrid control ? I tried to call this event; it didn't
affect anything.
Do you know any event that make the selection on the checkbox work ? Please
give me your advise. Thanks


 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      03-09-2005
Check that the 'Handles' clause has not dissapeared...this is a known bug in
VS 2003...happens to me all the time-- really annoying!

"bienwell" wrote:

> Hi,
>
> Does the OnSelectedIndexChanged event work when we mark on the checkbox on
> the cell of Datagrid control ? I tried to call this event; it didn't
> affect anything.
> Do you know any event that make the selection on the checkbox work ? Please
> give me your advise. Thanks
>
>
>

 
Reply With Quote
 
 
 
 
bienwell
Guest
Posts: n/a
 
      03-09-2005
Hi,

Here are my code. Please take a look on it. Thanks

Sub IndexChange_Command(sender As Object, e As EventArgs)
response.write("<BR>Account_ID ==> " &
DGrid_Carrier.SelectedItem.Cells(0).Text)
End Sub

<aspataGrid id="DGrid_Carrier" runat="server"
OnSelectedIndexChanged="IndexChange_Command"
OnItemDataBound="DGrid_ItemDataBound" OnItemCommand="DGrid_ItemCommand"
Width="353px" Font-Size="Smaller" Font-Names="Arial" CellSpacing="1"
CellPadding="3" AutoGenerateColumns="False">


================================================== ========
"Mike" <> wrote in message
news:97A4CD58-B902-40D5-BFCD-...
> Check that the 'Handles' clause has not dissapeared...this is a known bug

in
> VS 2003...happens to me all the time-- really annoying!
>
> "bienwell" wrote:
>
> > Hi,
> >
> > Does the OnSelectedIndexChanged event work when we mark on the checkbox

on
> > the cell of Datagrid control ? I tried to call this event; it didn't
> > affect anything.
> > Do you know any event that make the selection on the checkbox work ?

Please
> > give me your advise. Thanks
> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdownlist onselectedIndexChanged event not fires Alexander Reichman ASP .Net 3 12-01-2009 04:14 PM
DropDownList control and OnSelectedIndexChanged event =?Utf-8?B?Z2xlbm4=?= ASP .Net 2 04-21-2006 01:49 PM
OnSelectedIndexChanged event not firing on a DropDownList within a DataList Paul L ASP .Net 1 05-06-2005 12:12 AM
OnSelectedIndexChanged event does not fire with custom inherited class Stuart Allen ASP .Net 0 01-18-2005 03:41 PM
JTable with row selection, but no cell selection Simon Niederberger Java 2 01-07-2005 04:17 PM



Advertisments
 



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