Hi guys, i am having a issue.
I already developed one class (my custom gridview) and i want use it on a .aspx That class is defined in app_code and compiled to the dll of the project.
namespace MyCostumControls{
public class DropDownPagingGridView : GridView{
...
I already registered the control on the aspx page using
<%@ Register Namespace="MyCostumControls" TagPrefix="ctrl" %>
and i can use in the page
<ctrl:DropDownPagingGridView ID="ddl_gv_errors" runat="server"
AutoGenerateColumns="false"
PageSize="20" AllowPaging="true" Width="100%">
and works ok.. But i'm watching one problem.
That class contains methods defined by me, than when i try to call them in code-behind sayd to me than they're not defined.
In designed i don't see the reference to MyCostumControls, and when i try declare one field using
protected global::MyCostumControls.MyCostumControls ddl_gv_errors,
i cannot access to MyCostumControls namespace,
Is because he's compiled to the project dll?
I can access to all namespaces than are not contained in app_code.
Solutions?
Apreciate. Thanks