Insert Focus on New Inserted Record inC#
how to Insert Focus on New Inserted Record on grid
2 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
Sukesh MarlaRank #461 · 5.4K reputationPosted Sep 17, 2012, 7:02 AM EDT
TextBox m=MyGridView.Rows[IntIndex].FindControl("MyTextbox") as TextBox;
if(m!=null)
{
m.Focus();
}
Hope it helped.
Check answer as correct if it helped
Akkiraju IvaturiRank #473 · 5.3K reputationPosted Sep 17, 2012, 7:06 PM EDT