Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development | Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
Author | Forum: PowerWEB LiveControls for ASP.NET Topic: SelectedIndexChanged event on the livedropdownlist in the datagrid not firing |
Surbhi From: cincinnati, OH USA Posts: 2 Member Since: 05/17/05 |
posted May 17, 2005 12:58 PM Hi, I am adding the livedropdownlist to the livedatagrid dynamically on the edititemcommand. But when I change the dropdown selection the selectedindexchange event is not firing ?? Private Sub ddFreq_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.tbMedFreqdd.Text = CType(Me.LiveDGMeds.Items(Me.LiveDGMeds.EditItemIndex).Cells(5).Controls(1), DropDownList).SelectedIndex end sub |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted May 18, 2005 9:19 AM It is a little non-intuitive to do this in the LiveDataGrid, so I made a quick sample which demos it. You can download the sample at http://support.dart.com/downloads/grid.zip |
Corgalore From: Huntley, IL USA Posts: 9 Member Since: 05/24/05 |
posted June 2, 2005 6:02 PM Jeff, I'm having a hard time converting your event handling code to VB.NET. Could you provide that code-behind file in VB.NET please! Thanks a million! |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted June 7, 2005 10:36 AM Sorry for the delay. I've been away at a conference. It should look somthing like this: AddHandler ddList.SelectedIndexChanged, New EventHandler(AddressOf MySelectedIndexChanged) |
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
This site is powered by
![]() |