Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Sean #1
Collection Property of Another Custom Server Control
Hi,
I read more and figured out how to build what I needed:
<cc>
<item></item>
<item></item>
</cc>
when <item> is an editable control in designer and I can drag and drop
controls in it.
The problem I'm having is to preserve user values on postbacks.
I found posts that recommend IStateManager, but this is not for server
controls.
What can be done to solve the problem?
PS: If I put <item></item> control out, it preserves user inputs on
postbacks. I probably miss some kind of link in viewstate management between
<cc> and <item>s...
Sean Guest
-
Collection Property in web custom control
Hi all, I'm building a custom control. I would like that on the control you can set some 'rights' For that I have an enum: public enum... -
Custom Control - Collection Property
Hey gang. I am taking the task of trying to learn how to write custom web controls. I have started with inheriting from the VS 2005 default which... -
Nested Collection property in a custom control
I have the extactly the same problem.. I am creating a control where a collection property is exposed which has a nested collection object. It... -
Help with using a custom collection as a property for a TextBox derrived control.
Hi I am creating a new TextBox control but I am having problems when I am trying to add my own collection to the control and persisting the... -
Custom Control nad Collection property
I have a collection-property on my control. I Add the items through a collection editor, and items tags appears. <bugge:Control>... -
Sean #2
RE: Collection Property of Another Custom Server Control
Ok, figured out how to do it.
"Sean" wrote:
> Hi,
> I read more and figured out how to build what I needed:
> <cc>
> <item></item>
> <item></item>
> </cc>
>
> when <item> is an editable control in designer and I can drag and drop
> controls in it.
>
> The problem I'm having is to preserve user values on postbacks.
> I found posts that recommend IStateManager, but this is not for server
> controls.
> What can be done to solve the problem?
>
> PS: If I put <item></item> control out, it preserves user inputs on
> postbacks. I probably miss some kind of link in viewstate management between
> <cc> and <item>s...
>Sean Guest



Reply With Quote

