Explicit call of RowCommand event of gridview
can i call RowCommand event of gridview on page load
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 27, 2013, 11:30 PM EDT
No, it is not possible. May I know what you are trying to do it.
Regards,
Iftikar
Sonam Sharma127 reputationPosted Aug 28, 2013, 9:02 PM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Aug 28, 2013, 9:10 PM EDT
As your requirement you can't do it in rowcommand.
what you have to do is pass the orderid by using query string to other page on redirect and catch the orderid in pageload of that page then pass the orderid to database to get the detail of the order.
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 9:11 PM EDT
Regards,
Iftikar