Assign a property to webcontrol in run-time
- From: Andrea <googlegroups@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 1 Jun 2006 20:04:21 +0000 (UTC)
I've built my own webcontrol to make page navigation.
One of control's property is recordCount that is used to know how many record
should be take in mind to print out the pages number.
The question is
I've registered the control in the page in this way <%@ Register Assembly="WebControls.PageNavigationBar" Namespace="WebControls"
TagPrefix="cc1" %>
and added a a declaration like this
<cc1:pagenavigationbar id="PageNavigationBar1" runat="server" ></cc1:pagenavigationbar>
but how can I modify dinamically the property in page's code.
Simply trying to write cc1 or PageNavigationBar won't give the expected result
so this mean that this is not the right way.
Where Am I doing mistakes?
Thanks
Andrea
.
- Prev by Date: Re: Space presenting as %20 in link
- Next by Date: Working alternative to ObjectDataSource control
- Previous by thread: Problem with Internet Explorer ActiveX Update
- Next by thread: Working alternative to ObjectDataSource control
- Index(es):