Composite control inside datagrid

L

Laflak

Hi,
I have created a composite control which function "perfectly" in my web page
(Framework1.1).
The problem is:
When I try to use it on a datagrid, I'm not able to set properties

I probabily miss something.

Here is snippet my Control Code:
<DefaultProperty("Value"), ToolboxData("<{0}:pmieWebCalendar
runat=server></{0}:pmieWebCalendar>")> _
Public Class PmieWebCalendar
Inherits System.Web.UI.Control
Implements INamingContainer
<Bindable(True), Description("Value of control")> Public Property Value()
As String
Get
Return ViewState("value" & ClientID)
End Get
Set(ByVal Value As String)
ViewState("value" & ClientID) = Value
End Set
End Property


The design code on my page.
<pmie:pmieWebCalendar id="oMilestoneDate" runat="server"
value="23.12.1978"></pmie:pmieWebCalendar>

This work perfectly when the control is on the page. But whe I used it on a
datagrid for the Value Property did not receive any more the value defines in
HTML tag.
Any solutions or idea would be very appreciate.

thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top