I have generated the File Upload controll Dynamically
FileUpload
flupQue.ID =
now I want to get the value from this controll .
but I am unable to find this controll
FileUpload
I have master page atteched with aspx page
Please help
Thanks,
Archana
FileUpload
flupQue.ID =
now I want to get the value from this controll .
but I am unable to find this controll
FileUpload
I have master page atteched with aspx page
Please help
Thanks,
Archana
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 attend4days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Jul 2, 2011, 4:34 AM EDT
fl = (FileUpload) FindControlRecursive(this.Master, "flupQue0");
if(fl != null)
{
}
public Control FindControlRecursive(Control Root, string Id)
{
if (Root.ID == Id) {
return Root;
}
foreach (Control Ctl in Root.Controls) {
Control FoundCtl = FindControlRecursive(Ctl, Id);
if (FoundCtl != null) {
return FoundCtl;
}
}
return null;
}
Sam HobbsRank #108 · 20.5K reputationPosted Jul 3, 2011, 10:05 AM EDT
Note that it helps to put ASP questions in the ASP forum.
Archana Patil42 reputationPosted Jul 3, 2011, 10:32 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Jul 4, 2011, 12:15 AM EDT
Archana Patil42 reputationPosted Jul 4, 2011, 12:25 AM EDT
i am attaching my code file PFA
thnx
Suthish NairRank #92 · 22.8K reputationPosted Jul 4, 2011, 1:36 AM EDT