all groups > asp.net building controls > july 2003 > threads for july 29 - 31, 2003
Filter by week: 1 2 3 4 5
webuser control not responding to event?
Posted by Comcast at 7/31/2003 10:25:29 PM
Newbie to VS.NET so hopefully this is a simple problem ....
I'm desiging a multipage site that has a common banner along the top and
navigation controls down the left side so I read that the thing to do is
have a main.aspx file with the common areas "static" and then have a
PlaceHolder control... more >>
System.Web.UI.Design.ControlDesigner never calls GetErrorDesignTimeHtml on Exceptions
Posted by John Saunders at 7/31/2003 7:52:44 PM
I can create a reproducer for this later, if needed, but I'm too aggravated
at the moment.
I have a control whose GetDesignTimeHtml method pretty much just calls
base.GetDesignTimeHtml(). ControlDesigner.GetDesignTimeHtml of course, calls
((Control) component).Render(htmlStringWriter) and then... more >>
Basic Question
Posted by Mark Fox at 7/31/2003 4:09:36 AM
Hello,
I am not sure if this is possible, but it's a simple
enough situation that it seems as though it would be.
I have a page main.aspx with a couple user controls
in it Control1.ascx and Control2.ascx. I am attempting
to figure out how to hook up an event handler of some
... more >>
Page Access
Posted by Shawn B. at 7/30/2003 11:37:18 PM
Greetings,
Is there a way, from inside a custom WebControl, that I can modify the
attributes of the parent page? I ask because if a certain property is set
in my WebControl, I would like it to add an attribute (onResize, for
example) to the page's <Body> tag that calls some JavaScript it regi... more >>
Custom Control
Posted by Darren at 7/29/2003 11:00:58 PM
Can someone please help with how to access a generated
value in a custom control.
I have an aspx page that contains an ascx (ctl1) control
which in turn contains several ascx controls (ctl2, ctl3)
I need to click a button on ascx1 and retrive a value
from ascx2
My project is based on... more >>
Toolbox icon
Posted by Shawn B. at 7/29/2003 8:37:48 PM
Greets,
When inheriting WebControl, how do I omit it from being added to the toolbox
when I add items to the toolbox. Initially, it adds all the controls in the
assembly to the toolbox. What if there is one I don't want added?
Thanks,
Shawn
... more >>
Button Type
Posted by Shawn B. at 7/29/2003 4:55:22 PM
Greets,
The Button control is by default rendered as "Submit" type. I would like to
change it to "Button" or "Cancel" if I choose.
In the render event, I'm saying
Attributes.Item("type") = "button"
and it's rendering two "type" attributes, one for "Submit" and one for
"button"
Ho... more >>
Nested Composite Controls
Posted by adunfield NO[at]SPAM hotmail.com at 7/29/2003 3:03:38 PM
I have built a composite control that takes in XML and creates
controls based on the XML. One of the controls that this composite
control creates is itself a composite control. The problem that I am
running into is that the second composite control is not receiving any
events. If I use this s... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Postback
Posted by Shawn B. at 7/29/2003 2:41:30 PM
Greets,
Is it possible to disable the postback for a button control if I inherit
from it?
Thanks,
Shawn
... more >>
Readonly Checkbox?
Posted by John Kievlan at 7/29/2003 2:23:51 PM
Well, I'm sure you guys know that the ASP.NET Checkbox
control doesn't have a Readonly property. I'm writing an
application where I need it to have, that is, I want to
be able to set the Checked property in code, but if the
user clicks on it, the checkbox won't change.
Now, I'll admit I ... more >>
border around controls
Posted by sramruttun at 7/29/2003 1:35:30 PM
hi there
How can I put a rectangular border around some controls (similar to the
Frame control in VB6) ?
NB: I cannot use the panel control bec some of my code is based on the panel
control...
I tried using a table with border=1 but the border appears around all
controls in the table (si... more >>
|