Hello Every one,
I have a gridview which contains a textbox. But I want to open a popup on clikcing of that textbox and update value by getting gridview row index.
Please some one get me solutions.
Thank You
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
Dhirendra MisraRank #4,173 · 360 reputationPosted Jan 9, 2014, 12:00 AM EST
You can make use of rowdatabound event of gridview. In that event you can find the textbox and add attribute OnClick which will open the popup. You can pass unique id with URL of popup in querystring. Then use the querystring id to update the relevant record.
Some sample code is here:
http://forums.asp.net/t/1903451.aspx