Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#ASP.NET
I have a modal popup,on submit button click am refreshing parent page using parent.document.forms[0].submit(),
 
How to detect , this particular statement caused postback in parent page, without setting/getting hidden variables and checking them, I just want to confirm that this caused the parent page postback with some other stuff like SENDER/EVENTARGS or something else, moreover I have to check this in is postback of parent page itself.
Posted 8-Nov-12 17:25pm
PBGuy1.8K
Comments
shabari7 at 8-Nov-12 23:32pm
   
string strTrigger = Request.Form["__EVENTTARGET"]; returns empty string
shabari7 at 8-Nov-12 23:33pm
   
Even this: string ctrlname = Page.Request.Params.Get("__EVENTTARGET");

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 910
1 OriginalGriff 523
2 Abhinav S 253
3 thatraja 245
4 Emre Ataseven 210
0 Sergey Alexandrovich Kryukov 8,282
1 OriginalGriff 4,750
2 Peter Leow 3,784
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid