Jambhalheart Posted March 26, 2011 Report Posted March 26, 2011 Hello friends.. this is interview question for one my friend....suppose u have 2 pages A and B Page A with A.aspx, A.aspx.csPage B with B.aspx, B.aspx.csBoth pages a button on them each and their respective onclick event handlers...Now if I click the button in B, I must be fire the click event for button of A.... How can u do that ???Note, u shuld not use respose.redirect and stuff or page.findcontrol and delegates concept....how to fire the click event of button in A when button in B is clicked ????telisthe seppandi baaa.... naadhi emo matti burra antha twaraga grasp seyalenu.... sSc_hiding2 sSc_hiding2nenu software seyadame oka 8th wonder.... @3$%
galigannarao Posted March 26, 2011 Report Posted March 26, 2011 cross page post back concept exactga ilage pani chestadi ani doubt. oka sari aa concept sadivi maalli ee question chudu. neeke ardmayipoddi. nenu eppduo 6 months back vada. so naaku gurutledu
htnamus Posted March 26, 2011 Report Posted March 26, 2011 pbm anta peddadi kuda kadu baa ..nenu eppudo chesanu kani ..crst ga gurturatle ..searching chesta ..but it is easy ..
Jambhalheart Posted March 26, 2011 Author Report Posted March 26, 2011 [quote author=galigannarao link=topic=173643.msg2110561#msg2110561 date=1301170616]cross page post back concept exactga ilage pani chestadi ani doubt. oka sari aa concept sadivi maalli ee question chudu. neeke ardmayipoddi. nenu eppduo 6 months back vada. so naaku gurutledu[/quote]cross page post back ante 2nd page load avthundi anukunta rather than firing an event in that page....postbackurl for a button will direct to another page rather than firing a particular event for a control in that page... and moreover he says that pages r not related...actually, this is a tricky question.... lets see our friends can answer this...
galigannarao Posted March 26, 2011 Report Posted March 26, 2011 [quote author=Jambhalheart link=topic=173643.msg2110631#msg2110631 date=1301171053]cross page post back ante 2nd page load avthundi anukunta rather than firing an event in that page....postbackurl for a button will direct to another page rather than firing a particular event for a control in that page... and moreover he says that pages r not related...actually, this is a tricky question.... lets see our friends can answer this...[/quote]nenu kooda chusi chebuta undu.
htnamus Posted March 26, 2011 Report Posted March 26, 2011 [quote author=HS link=topic=173643.msg2110624#msg2110624 date=1301170989]pbm anta peddadi kuda kadu baa ..nenu eppudo chesanu kani ..crst ga gurturatle ..searching chesta ..but it is easy ..[/quote][img]http://i36.tinypic.com/ftpv00.gif[/img]dorakatledu ..ikkada anta matte ani ardam aindi sSa_j@il sSa_j@il sSa_j@il
galigannarao Posted March 26, 2011 Report Posted March 26, 2011 [quote author=HS link=topic=173643.msg2110714#msg2110714 date=1301171556][img]http://i36.tinypic.com/ftpv00.gif[/img]dorakatledu ..ikkada anta matte ani ardam aindi sSa_j@il sSa_j@il sSa_j@il[/quote]nenu chusta undu darling. give me some time i will give you the solution
Jambhalheart Posted March 26, 2011 Author Report Posted March 26, 2011 [quote author=HS link=topic=173643.msg2110714#msg2110714 date=1301171556][img]http://i36.tinypic.com/ftpv00.gif[/img]dorakatledu ..ikkada anta matte ani ardam aindi sSa_j@il sSa_j@il sSa_j@il[/quote]lite lee baa.... @3$% @3$% ade kadha... koncham trick question edhi... cognizant interview lo adigaru anta.... vadu cheyochaa , cheyalema ani adigadu.... oka vela chesthe ela chestham ani annadu.... delegates use chesi cheyochu anukunta...
galigannarao Posted March 26, 2011 Report Posted March 26, 2011 [quote author=Jambhalheart link=topic=173643.msg2110771#msg2110771 date=1301171889]lite lee baa.... @3$% @3$% ade kadha... koncham trick question edhi... cognizant interview lo adigaru anta.... vadu cheyochaa , cheyalema ani adigadu.... oka vela chesthe ela chestham ani annadu.... delegates use chesi cheyochu anukunta...[/quote]question delegates use cheyoddu ani annadu kada.
Jambhalheart Posted March 26, 2011 Author Report Posted March 26, 2011 [quote author=galigannarao link=topic=173643.msg2110782#msg2110782 date=1301171938]question delegates use cheyoddu ani annadu kada.[/quote]yes delegates use cheyoddu annadu ....delegates use chesthe cheyochu baa... kani delegates or any page postbacks lekunda ela ??
galigannarao Posted March 26, 2011 Report Posted March 26, 2011 [quote author=Jambhalheart link=topic=173643.msg2110813#msg2110813 date=1301172110]yes delegates use cheyoddu annadu ....delegates use chesthe cheyochu baa... kani delegates or any page postbacks lekunda ela ??[/quote]may be vere page instance create chesi ee button clicklo aa eventni register cheste fire avutundemo. chudali.
chipanjichiru Posted March 26, 2011 Report Posted March 26, 2011 [quote author=Jambhalheart link=topic=173643.msg2110131#msg2110131 date=1301167266]Hello friends.. this is interview question for one my friend....suppose u have 2 pages A and B Page A with A.aspx, A.aspx.csPage B with B.aspx, B.aspx.csBoth pages a button on them each and their respective onclick event handlers...Now if I click the button in B, I must be fire the click event for button of A.... How can u do that ???Note, u shuld not use respose.redirect and stuff or page.findcontrol and delegates concept....how to fire the click event of button in A when button in B is clicked ????telisthe seppandi baaa.... naadhi emo matti burra antha twaraga grasp seyalenu.... sSc_hiding2 sSc_hiding2nenu software seyadame oka 8th wonder.... @3$%[/quote]baa... yemee anukokapothe, mee friendni inka yemi adigaro PM cheyagalava? Naku interviews jaruguthunnayi...konhem use avuthayi baa ilanti typican questions...Please?
Recommended Posts