all groups > asp.net building controls > march 2004 > threads for march 15 - 21, 2004
Filter by week: 1 2 3 4 5
Composite vrs Rendered (tradeoffs)
Posted by ccallen at 3/21/2004 12:23:00 PM
Are there any rules of thumb for deciding to go with a rendered vrs
composite control? Are there times where you would definantly want to choose
one over the other. What are the tradeoffs (Performance, additional
overhead, etc), or is it mostly a matter of style or employer policy.
... more >>
ExtenderProvider object code persistence
Posted by PV at 3/19/2004 8:42:45 AM
I have written my own class that implements IExtenderProvider - it adds a
couple of extra properties to all the WebControl controls on the page. The
new property values are stored in a Collection within my extender class. In
order to persist the property values in code, I wrote my own serialize... more >>
DropDownList BorderColor not working !!?
Posted by Duncan at 3/19/2004 3:51:08 AM
Hi
I've spent the last 2 days searching the Net and Knowledge base for a "working" example of how to change the border properties of a DropDownList box.
Can anyone tell me WHY ! Microsoft would miss out such a major thing like this ? No examples I have tried actually work, even though the option... more >>
a trigger to update frames?
Posted by Rudi Ahlers at 3/18/2004 7:59:55 PM
Can this be done?
The site has a few frames, some on top, some on the side, and the middle
one. I want to be able to tell the one side frame containing the menu, to
change the menu contents when a user logs in, and also the change the top
banner (in another frame) to something targeted at this... more >>
table joins - 3 tables
Posted by Rudi Ahlers at 3/17/2004 8:02:57 PM
Ok, I got three tables, company, comments and old_company.
In company are all the current companies, in old_company are companies who
have been suspended, and in comment, clients can make comments about the
companies, regardless if they are current or suspended companies.
I currently display... more >>
CreateChildControls(...) or Render(...)?
Posted by nobody at 3/17/2004 5:06:49 PM
Should I create controls for a composite WebControl in the
CreateChildControl or the Render method? It seems like CreateChildControl
is not called at design time when the control is on a page being designed.
Here's my situation. I'm making a composite WebControl that has a label and
a RadioB... more >>
Server Control Design-Time Image
Posted by Shawn A. Hall at 3/17/2004 2:18:51 PM
Hi All!
I'm attempting to create a Designer for a Custom Server Control that I've
designed. It doesn't have any interactivity, but I'm trying to spruce it up
a bit by adding an image with my company logo, etc. to the design-time
rendering. I've done quite a bit of research and have found ver... more >>
Problem viewstate dynamically added custom control
Posted by Henk at 3/17/2004 12:27:38 PM
Hello,
I have a custom control that works fine with it's viewstate when it is
placed as a tag inside the aspx (I need to read if a Checkbox, rendered by
the custom control, is checked). Problem is that I want to create it
dynamically (in Page_Load or the OnInit of the aspx) and than add it to ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multiple controls with the same ID '_ctl11'
Posted by sreddi NO[at]SPAM razorhost.com at 3/17/2004 12:15:53 PM
We designed a dynamic control loading framework that loads ASCX files
into placeholders in a single ASPX page that inherits from a base page
class. The framework consists of a controller device that is dragged
out onto the ASPX page and "devices" that are dragged out onto the
ASCX files. At ru... more >>
Depending properies doesn't change aspx source
Posted by Robert Warnestam at 3/17/2004 9:38:39 AM
Hi,
I have some trouble (again) with a WebControl, I've a some properties =
that depends on other properties. The problem is when I change a =
property which also changes another, the aspx file doesn't update the =
last one.
What's the trick to update the aspx file?
Here is sample componen... more >>
WebControl rendering at design time
Posted by nobody at 3/17/2004 12:42:12 AM
Is it possible to make a custom WebControl reder itself at design time?
I've made a WebControl that contains a Label and a RadioButtonList. It works
fine at run time, but at design time it just draws a solid while box.
Neither the Label nor the RadioButtonList render themself. Am I doing
someth... more >>
Editing collection property from Property Window...
Posted by nobody at 3/16/2004 9:32:02 PM
If I've got a property on my web control that is a collection (of strings),
how can I have it allow the user to edit those strings through the property
window at design time?
The property on my webcontrol is defined as:
Private WithEvents m_Choices As ChoiceList
Property Choices() As ... more >>
Validation controls doesn't fire on dynamically created HtmlForms
Posted by Michail Zlatanov at 3/16/2004 9:30:12 PM
Hi all,
I have created one base class (which derive from System.Web.UI.Page class)
from which all my web pages will derive. In this class I override the OnInit
method and create a HtmlForm on the fly:
--------------------------------------------------------------------
protected override vo... more >>
Using Color
Posted by Robert Warnestam at 3/16/2004 4:31:54 PM
I've problems using Color for a WebControl
I've declared a property called TEST which is of the type Color. Comparing
to existing Color properties, such as ForeColor I can spot the following
difference;
1. Setting TEST to a custom color (#121212) then the property windows shows
"18; 18; 18"... more >>
Add Control without touching ASPX?
Posted by localhost at 3/16/2004 9:03:00 AM
I have a server control that is declared in the top of the .aspx page.
I want to use the control in many, many pages, but do not want to
hand-modify every .aspx page template.
How can I specify that a control be added/used in the codebehind
..aspx.cs only and *not* touch the .aspx page?
... more >>
Choosing a base class
Posted by Emjay at 3/15/2004 4:51:07 PM
Hi, there
I'm trying to write a non-rendering component that is manipulated at design time in VS.Net
By non-rendering I mean the component doesn't generate any HTML tags
In fact, the component is supposed to be used both for windows applications and web applications just like the DataSet class
... more >>
Viewing WebControls in DesignTime
Posted by Robert Warnestam at 3/15/2004 1:50:45 PM
Hi,
I've problems with a custom WebControl. The control has properties for
letting the user set the relative path to some images and a xml file that
the controls need. In runtime the images are displayed and the control can
load the xml file. In design time however, this fails because the curr... more >>
Referencing a custom struct in .Net asp tags. Getting error.
Posted by Jeff Rhoads at 3/15/2004 1:00:26 PM
Hello,
I created a custom struct called Automobile. This struct has various
properties called "Ford", "Chevy", "Dodge", "Pontiac", .... This struct is
pretty much the exact same format as the .Net System.Drawing.Color struct
where "Ford", "Chevy", ... would equate to the Colors "Red",
"PaleGold... more >>
How to expose collections on a usercontrol
Posted by j_a5 at 3/15/2004 11:29:06 AM
Hi,
I have a custom user control. In that custom control MyControl. I am
exposing a property called MyItems. The MyItems is a
strongly typed collection of MyItem. I am exposing a MyItems in the user
control as a public property. I want to be able to add items to the MyItems
collection at design... more >>
|