No button click in datagrid with RC1
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


Anders.Vikstrom@banqit.com
I have a datagrid that is always in edit mode. It contains one column =
with a
textbox and one column with a button. Prior to RC1 I could press the =
enter
key while focus where in the textbox and the ItemCommand event would be
fired. In RC1 the page is still posted but I don't get any ItemCommand
event. If I click the button with the mouse I do get the event. Also, =
if I
add a textbox outside the datagrid (with width=3D0) the event will be =
fired.
Strange, huh? Or?

Regards,

Anders Vikstr=F6m
SW Engineering, BANQIT AB
http://www.banqit.com
mailto:Click here to reveal e-mail address
Phone: +46 8 7594737

Reply to this message...
 
    
Anders.Vikstrom@banqit.com
Hmm... It seems to be a pattern here, but I could need some help to =
revel
it. I have a form with a single textbox, a required field validator
associated with the textbox and a button. If I press the enter key =
while
focus is in the textbox, the form is posted even if the textbox is left
blank. If I would use the mouse or set focus to the button before =
pressing
the enter key, the form is not posted. Also, if I add a second textbox, =
the
form will not be posted. I'm starting to suspect IE 6 to be the problem =
here
and not the controls...

Regards,

Anders

-----Original Message-----
From: Anders Vikstrom=20
Sent: den 30 november 2001 16:49
To: aspngcontrolsvb
Subject: [aspngcontrolsvb] No button click in datagrid with RC1

I have a datagrid that is always in edit mode. It contains one column =
with a
textbox and one column with a button. Prior to RC1 I could press the =
enter
key while focus where in the textbox and the ItemCommand event would be
fired. In RC1 the page is still posted but I don't get any ItemCommand
event. If I click the button with the mouse I do get the event. Also, =
if I
add a textbox outside the datagrid (with width=3D0) the event will be =
fired.
Strange, huh? Or?

Regards,

Anders Vikstr=F6m
SW Engineering, BANQIT AB
http://www.banqit.com
mailto:Click here to reveal e-mail address
Phone: +46 8 7594737

| [aspngcontrolsvb] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com