OK right buttons dont use the __Dopostback so the EVENTTARGET field is
empty,
1) If you look at the Form.Keys collection you will found the Button ID
that cause the postback.
2) RaisePostBackEvent is a method that you need to overload it :
override protected void RaisePostBackEvent ( IPostBackEventHandler
sourceControl,
string eventArgument)
{
string s = ((WebControl)sourceControl).ID ;
}
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture