Hey everyone, i created a masterpage and linked a page that has a gridview linked to a contentplace holder on that master page, now this is working.
But there is a problem with controls when i cast a object as control that excists in the gridview to a textbox by using FindControl on Me.Master.Page (also tried Me.Master and EditSpec.findcontrol (edit spec is the gridview)) i will get an error concerning a nullreference exception because that control was not found on the masterpage.
I have the same code working but it isn't in the masterpage.
But there is a problem with controls when i cast a object as control that excists in the gridview to a textbox by using FindControl on Me.Master.Page (also tried Me.Master and EditSpec.findcontrol (edit spec is the gridview)) i will get an error concerning a nullreference exception because that control was not found on the masterpage.
I have the same code working but it isn't in the masterpage.