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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted Jul 4, 2011, 5:36 AM
Archana PatilPosted Jul 4, 2011, 4:25 AM
i am attaching my code file PFA
thnx
Suthish NairPosted Jul 4, 2011, 4:15 AM
Archana PatilPosted Jul 4, 2011, 2:32 AM
Sam HobbsPosted Jul 3, 2011, 2:05 PM
Note that it helps to put ASP questions in the ASP forum.
Suthish NairPosted Jul 2, 2011, 8:34 AM
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;
}