all groups > asp.net building controls > january 2004 > threads for january 22 - 28, 2004
Filter by week: 1 2 3 4 5
How can I use events within the server control
Posted by ton at 1/28/2004 7:10:29 PM
Hi,
I wrote a customserver control with 2 columns showing the data from 1
record.
i use label & hyperlink as for the field name and text and checkboxes for
the other data.
I want to use the hyperlink. How can I get a postback on that hyperlink.
Ton
... more >>
ParseChildren(false) not adding sub objects in the designer
Posted by Sam Fields at 1/28/2004 12:25:34 PM
I have been wrestling with this code for about 2 weeks now. My goal is to
create a table for formatting purposes. I want to standardize it as a
webcontrol. I want all of the content to persist as top-level controls so
that they are visible to the asp.net designer -- PersistChildren(true). The... more >>
How to detect a modified textbox in webservercontrols
Posted by ton at 1/28/2004 12:02:11 PM
Hi,
I've developed a server control which shows a database record. The fields
are showen in 2 columns and the added controls depends on the datatype.
I use textboxes, chekcboxes and dropdownlists
Now I'm adding a server procedure, but how can I detect that one of the
fields has been modified.... more >>
Windows form control on Web page
Posted by rob thomson at 1/28/2004 11:00:16 AM
VB.NET ASP.NET
Does anyone know how to embed a windows forms control on a web page in =
the same way that you could do active x objects in asp
Thanks... more >>
Init method firing early
Posted by gozza at 1/28/2004 10:41:22 AM
Hi,
Looks like I've misunderstood something about controls lifecycles. I have
an OnInit method override in my control:
protected override void OnInit(EventArgs e)
{
base.OnInit (e);
//some stuff
}
The control is then added to an ASPX page and an event handler is assigned
in the... more >>
Rendering design-time content on a web UserControl
Posted by malibio at 1/28/2004 12:36:06 AM
I created a web user control and would like to add the ability for it to contain design-time rendering capabilities. So that, during development, when the control is dragged to an aspx web form, it'll show html content that contains what it would look like when ran. Is this possible? I created a ... more >>
GetDesignTimeHTML doesn't fire for PanelDesigner.
Posted by swesorick NO[at]SPAM t60t.com at 1/27/2004 12:26:02 PM
I have a custom web control that inherits from
System.Web.UI.WebControls.Panel
What I want is for developers to be able to drag controls from the
toolbox, into my control, and have them appear as they would on the
finished page. My control renders a table around the outside of its
child cont... more >>
Datagrid in Custom Server control Does not show
Posted by ton at 1/27/2004 12:21:33 PM
Hi,
I've created a custom server control dbList which contains a datagrid
In my CreateChildControls sub I add the control
Controls.Add(Grid)
In my Fill sub I have this code (Fill can be executed from a button on the
page like dbList.Fill)
sqlConn.ConnectionString = "workstation id=VRS7;p... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Parsing Children and embeded custom controls
Posted by gozza at 1/27/2004 11:58:02 AM
Hi,
I am developing couple of custom controls and I can't really figure out what
I need to do for one of them to be parsed appropriately.
This is what I want to achieve: in the aspx file, I would have the code:
<cc:ControlA attr1="val1">
<cc:ControlB attiba="valx" />
... more >>
Programmatically detecting property changes and method calls to an given object
Posted by Yasutaka Ito at 1/27/2004 8:57:42 AM
Hi,
Given an object, I want to programmatically monitor it for any property
changes and method calls. The object can be anything (component, control,
etc.), and there is no guarantee that each property has <property
name>Changed event corresponding to it.
What are the best way for this?
I'... more >>
ection Editor not holding collection
Posted by Stanley at 1/26/2004 10:15:03 AM
I am working on a control and trying to use my custom collection with a
CollectionEditor. However, the collectio is never being held after I click
the OK button. The last set of properties is there but the member list is
blank. Below are some snippets from my control. Please help I am going crazy... more >>
concept problem webcustomcontrols
Posted by josemari at 1/26/2004 5:36:07 AM
Hi to the forum..
i have a project with this webcontrol
Webcontrol
_______________________
|
|initialize component
| button +=new event.....
| controls.add(button) |
|
|event onclick ... more >>
System.Drawing and GDI+ Question - Please help
Posted by padawan at 1/26/2004 12:24:15 AM
I have a winforms control that draws a rectangle for a boarder and positions
some graphical elements around the control to create the boarder effect I
desired. In the control I have overriden the onpaint event and added the
code to draw my rectangle and position my graphic items:
Protected Ove... more >>
Collection Editor Issue
Posted by Stanley at 1/25/2004 11:19:03 AM
I have a control that has a collection in it. In the designer the collection
editor comes up fine and I can add items to the collection. But once I click
on OK and then go back into the collection editor the Member side is blank
and the Properties side shows the last item entered. For some reason... more >>
Reg SESSION..
Posted by Jagadeesh at 1/23/2004 3:10:16 PM
hi
i have a login page. as soon as the user logs in, am moving the User_id and
Session Id to a log table.
The problem is that if i use the back button of the browser and login again.
am getting the same session ID. but i want it to be an unique one.....
any help... wud be useful...
Rea... more >>
WebControl, CssStyleCollection and ViewState
Posted by Marri Suliez at 1/23/2004 12:44:31 PM
Does anyone know how the Style property of the WebControl class persists
between calls as if it's added to the ViewState? CssStyleCollection is
not serializable.
The following scenario leads me to believe it is being stored in
ViewState somehow:
1. Add a TextBox and a Button to a form
2.... more >>
Accessing Web User Control from code behind
Posted by Michael Morse at 1/23/2004 10:56:06 AM
How come I am unable to access the properties and methods of my Web User Control from the codebehind of an aspx page
Any ideas how how to do this
-mike... more >>
Custom controls
Posted by josema at 1/23/2004 4:01:09 AM
Hi to all,
this is my question....
Webcontrol1
________________________
| |
|initialize component |
| button +=new event..... |
| controls.add(button) |
| |
|event onclick ... more >>
no scroll events in ScrollableControl?
Posted by Jens Weiermann at 1/22/2004 4:27:22 PM
Hi!
I'm creating a custom control derived from ScrollableControl (a picture
viewer similar to what ACDSee does). My problem is that I couldn't find any
scroll events (what i would expect from a ScrollableControl)...
Any hints?
TIA!
Jens... more >>
Large memory control questions
Posted by Justin Weinberg at 1/22/2004 1:29:03 PM
I have an ASP.NET control that can generate up to 200K in memory on a per
request basis. It reads a series of files, manipulates them in memory and
then writes them out together as a single response stream. This is
unavoidable given what I'm doing with them.
I have a couple questions about t... more >>
How do we build a custom control using datagrid from scratch?
Posted by sumana36 NO[at]SPAM hotmail.com at 1/22/2004 11:50:25 AM
How do we build a custom control using datagrid from scratch? ANy
sites, ideas will be appreciated.
Sumana... more >>
DataList Problem
Posted by Gerald Klein at 1/22/2004 10:08:13 AM
I have a datalist that I subclassed and it has a usercontrol in the header
template, in the usercontrol is a databound dropdown. It loads fine and
posts fine unless I rebind the datalist, then the dropdown loses it's
viewstate. Someone please help their has to be a way around this.
Gerald Klei... more >>
HELP Generating ConnectionString Property from the Designer
Posted by Christopher Calhoun at 1/22/2004 9:21:20 AM
This functionality is implemented in the SQLConnection control in the
connectionstring property. I am Building a custom control from an inherited
base class. (datagrid)
I have exposed a property for a connectionstring which I want the user of
this control to be able to use the way the connecti... more >>
Datagrid in Designer
Posted by Stanley at 1/22/2004 8:16:46 AM
I have a control that I have built a custom designer that shows the content
from an ItemTemplate. However the Datagrid never shows up in the designer.
It seems at this point that the Datagrid is the only thing that will not
show up in the designer for me and this is an issue for me because it wil... more >>
|