473,385 Members | 1,396 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Custom WebControl Property Group issues

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


Jul 21 '05 #1
0 1007

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Curt_C [MVP] | last post by:
working on a Custom WebControl. I want to add a property, lets call it FOO and I want a custom list of possible values for the designer and for usage "BAR,BANG,GU" (you get the idea). I know how...
0
by: Earl Bonovich | last post by:
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...
1
by: Jeremy Chapman | last post by:
I have a property will an array of webcontrols. The control features a custom property editor which can add and remove web controls to the array, but how do I persist the informtion by...
0
by: Jeremy Chapman | last post by:
I have included below virtually all the code to a control I'm trying to build. My issue is that an array list property in my control does not get persisted properly to the aspx page code in design...
14
by: Rolf Welskes | last post by:
Hello, I have an ObjectDataSource which has as business-object a simple array of strings. No problem. I have an own (custom) control to which I give the DataSourceId and in the custom-control...
2
by: P4trykx | last post by:
Hello I'm want to add some custom attributes to WebControls using WebControl.Attributes.Add("abc","234"); So the html output will look like this, <input type="hidden" abc="123" /etc. I know...
0
by: Ryan | last post by:
I have a custom control and would like to give it a property like the WebControl class's FONT property. I created the following importing from System.Drawing Public Property HeaderFont() As...
1
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, misters, I have a custom web control, and I want use it in my main user control ASCX. My webcontrol has one event, see source code above /// <summary>Control DropDownExtender para...
3
by: Tomasz J | last post by:
Hello Developers, I have a control derived from System.Web.UI.WebControls.WebControl. Control has this property: public string Value { set { _value = value; } get { return _value; }
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.