#
desunit
I created a new module with Administration page. This page has GridView when I tried to get value SelectedValue everything is thing. But odd things started when I tried to move the GridView into .ascx which embeded into Admin page - selectedvalue is always null.
I opened sources and noticed that GenericBasePage.OnInit load BasePageControl which acts as container. It seems that OnInit for this is too late - I move all code from GenericBasePage.OnInit to GenericBasePage.OnPreInit and SelectedValue starts working fine.
It would be safe to move it in the next release.
I opened sources and noticed that GenericBasePage.OnInit load BasePageControl which acts as container. It seems that OnInit for this is too late - I move all code from GenericBasePage.OnInit to GenericBasePage.OnPreInit and SelectedValue starts working fine.
It would be safe to move it in the next release.