PC Review


Reply
Thread Tools Rate Thread

Custom WebControl Property Group issues

 
 
Earl Bonovich
Guest
Posts: n/a
 
      31st Jul 2004
This is a repost from my question in the buildcontrol sub group.
----------------

I have created a composite custom control.
It works fine, renders, all is good on that side.

I am trying to cleaup the design mode side of it, and in turn clean up the
core control.
All surounding properties.

I have been able to create classes for the properties.
I have been able to get them to appear expandable on VS.2003

Here are the two issues I am having:

1) If I change a a property that is part of a custom grouping (That I
created), the value does not trip design mode rendering to be redone.
In my non-grouped properties, I am acomplishing this by putting in the
code:
ChildControlsCreated = False
Me.EnsureChildControls()
This does work for my properties that are pulling in the grouped class from
above.

However, if I go and change another non-grouped parameter (or a VS supplied
grouping, such as font).
It re-renders, with the updated values from my custom grouping.

2) (Bigger Issue). Once I close the page in any fashion (close page, close
solution, View in Browser, whatever).
My custom group (class) properties are not saved.

What am I doing wrong? I have been pulling my hair out for a couple days
now, trying to figure this out.

Thanks for any help.

I can post the code if anyone would like to see it.

Thanks




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WPF webcontrol does not have ScriptErrorsSuppressed property Lloyd Sheen Microsoft VB .NET 1 13th Aug 2009 06:11 PM
Can't set value to the property "Width" of my custom webcontrol Brook Microsoft ASP .NET 2 2nd Dec 2007 04:37 AM
Xml WebControl's Transform property in ASP.NET 2.0 n33470@hotmail.com Microsoft ASP .NET 7 15th Dec 2005 03:02 PM
Cannot assign property of a WebControl Frédéric Mayot Microsoft ASP .NET 2 8th Aug 2004 10:25 PM
Array in the property of a webcontrol Moreno Tonin Microsoft Dot NET Framework 2 9th Sep 2003 08:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:05 AM.