G
Guest
Hello,
I have DetailsView control called "EmployeeDetails" with a bunch of fields,
one of thos is button called "btnAddEmployee" inside ItemTemplate . How do I
get access to properties of that button from within a main page?
Page.FindControl("btnAddEmployee") does not work,
EmployeeDetails.FindControl("btnAddEmployee") also returns null. I'm trying
to set those values in Page_PreRender event.
I have DetailsView control called "EmployeeDetails" with a bunch of fields,
one of thos is button called "btnAddEmployee" inside ItemTemplate . How do I
get access to properties of that button from within a main page?
Page.FindControl("btnAddEmployee") does not work,
EmployeeDetails.FindControl("btnAddEmployee") also returns null. I'm trying
to set those values in Page_PreRender event.