Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
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 >>



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 >>


DevelopmentNow Blog