all groups > asp.net building controls > july 2004 > threads for july 1 - 7, 2004
Filter by week: 1 2 3 4 5
custom control with inner 'gridlayout'
Posted by Robert Wallström at 7/7/2004 8:47:27 PM
Hi everyone..
I am trying to biuld a control wich should have simulare behavior as
htmlcontrols.htmlgenericcontrol,
buy that I ment to get the inner part of my control to be gridlayout
enabled.
I know howto make this posible in runtime, BUT how do one make this possible
in design-time?
To... more >>
Radiobuttonlist and cssclass
Posted by news NO[at]SPAM besty.org at 7/6/2004 7:29:01 AM
I am in the process of updating old asp projects into asp.net.
We used to have radiobuttons which had an attached css class as
follows:
<label for="q2a1">High<input id = "q2a1" class = "radio" type="radio"
name="q2a" value="1"></label>
with the corresponding css class:
..radio {height:... more >>
Can a webcontrol (webcontrol.dll) have a configuration file?
Posted by Luis RamÃrez. at 7/5/2004 12:07:01 PM
Hello everybody:
I would like to know if a webcontrol (webcontrol.dll) can have a configuration file (webcontrol.dll.config)?
I have done some tests and I found the config file (webcontrol.dll.config) is never examinated.
Thanks in advance.
Luis Ramirez.
... more >>
Composite webcontrol and postback
Posted by George Ionescu at 7/5/2004 10:23:54 AM
Hello all,
while trying to develop a composite webcontrol (which has, among other
things two textboxes and no submit buttons) I've faced the following
problem:
how can I read webcontrol's texboxes values, how can it pass data posted
from the client (the post is done with a command button on... more >>
manage properties in PropertiesWindow
Posted by arg at 7/5/2004 6:42:01 AM
For example I have properties:
b1 bool;
b2 bool;
[Browsable(true),Category("Test")]
public bool B1
{get{return b1;} set{b1 = value;}}
[Browsable(true),Category("Test")]
public bool B2
{get{return b2;} set{b2 = value;}}
How I can make B2 read-only or invisible in Properties Windo... more >>
Composite Control Property Setting Problem
Posted by Alphonse Giambrone at 7/3/2004 4:51:40 PM
I have built a simple composite control that consists of a textbox,
requiredfieldvalidator and rangevalidator.
For properties that are unique to the individual control, I set/get them
directly from the control as follows:
[Description("The text value"),
Bindable(true),
Browsable(true),... more >>
MustInherit base class inherited by UserControl
Posted by Craig Edmunds via .NET 247 at 7/3/2004 7:51:39 AM
Following on from this discussion
http://www.dotnet247.com/247reference/msgs/29/146830.aspx
i'm having the same problem, the classes that i think should work but are throwing up the "type abstract" error are:
########################################
base class:
###########################... more >>
Parser Errors with VS.NET
Posted by Adam Smith at 7/2/2004 4:09:01 PM
Firstly I appologise for the cross post, I've discovered more information
which pinpoints VS.NET 2003 as the problem.
The issue: I'm trying to create a server control, after failure I'm trying
some simplistic controls to build from
I'm using the following code:
SimpleControl.cs
--------... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
User Controls Inherited from a Custom Control share variables?
Posted by Yuri Vanzine at 7/2/2004 6:06:02 AM
I have a Custom Control that I inherit from a User Control like this:
public class SecureUserControl : UserControl, INamingContainer
it maintains a few control states like visible, readonly relying on security settings.
I override CreateChildControls() similar to how you woud handle a custo... more >>
Access dynamically created controls
Posted by sub NO[at]SPAM pox.nl at 7/2/2004 2:20:22 AM
Hi there,
I read a lot about this issue but still got no clear answer that
solves my problem.
I've a Web User Control with a placeholder called phProperties.
I create a form with a number of Textboxes dynamically from values in
a database and add them to the phProperties placeholder. The numb... more >>
Building a control to container users html
Posted by MattC at 7/1/2004 3:46:53 PM
I want to be able to create a control that will wrap any html placed inside
the control tag with some predefine html.
For example is the following possible?
<mycontrol:container id="test" hidebutton=hide.gif CSSClass="container"
containername=details runat=server>
Hello
</mycontrol:cont... more >>
Server Control using a Collection
Posted by ME at 7/1/2004 2:21:41 PM
Ok I am brand new at C#. I am attempting to build a server control that
contains a collection. Trouble is when I place my control on my page and
edit the collection via the property window (using an Editor) the control
generates the following html:
<controlgroup:ControlGroupControl id="Contr... more >>
Server Control using a Collection
Posted by ME at 7/1/2004 7:05:24 AM
Ok I am brand new at C#. I am attempting to build a server control that
contains a collection. Trouble is when I place my control on my page and
edit the collection via the property window (using an Editor) the control
generates the following html:
<controlgroup:ControlGroupControl id="Contr... more >>
|