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 > august 2003 > threads for august 8 - 14, 2003

Filter by week: 1 2 3 4 5

Inheriting from System.Web.UI.WebControls.Table
Posted by Jimmy [Used-Disks] at 8/14/2003 2:24:10 PM
I am trying to create an ASP.NET control by inheriting from Table. I would like to stop the Rows property from being displayed/persisted at design-time, plus I would like to have new properties I have introduced be persisted as nested tags within my controls tag in the ASP.NET page. To do this I...more >>


Adding Literal Controls in CreateChildControls - Is this bad?
Posted by klj_mcsd NO[at]SPAM hotmail.com at 8/14/2003 1:59:47 PM
Adding Literal Controls in CreateChildControls - Is this bad? Someone told me it was but every example I've seen does not have a problem doing it. They told me I should add the html to the page in the render method and add the control where I want them to go. I just wanted to get other peopl...more >>

Composite control events dont fire.
Posted by Arthur Puszynski at 8/13/2003 5:57:48 PM
Hello, I cannot figure out why this doesnt work. This is almost exactly the same as the samples I've seen but it doesnt work for me. I am making a composite control with a button that has a click event but the event never fires. Here's my code: public class WebCustomControl1 : System.We...more >>

Circular references are not supported
Posted by Dan C Douglas at 8/13/2003 5:00:26 PM
I have a user control, and I would like to create another instance of the user control inside the same user control. I am doing this because the user control has a datagrid, and in the datagrid I instantiate a reference to a new instance of the same ascx file that I am currently on and place i...more >>

receiving databound property data in a custom server control
Posted by dm2 NO[at]SPAM rcs.urz.tu-dresden.de at 8/13/2003 3:47:17 AM
Hi, Background: I wrote a custom server control with a public property. Everything works perfekt when I use that server control as following: <DM:Visitenkarte id="Visitenkarte1" runat="server" KontaktID="1"></DM:Visitenkarte> Problem: I would like to use my control within another. So,...more >>

[ASCX In Separate Project]
Posted by Jim Christiano at 8/12/2003 3:01:14 PM
I would like to place an .ASCX file in one project while my main program is in another project. If this is possible, what type of project should I use for the ASCX? How do I call the ASCX from my main program? Do I use the standard @Register directive? Thanks in advance, Jim Christiano ...more >>

Looking for a tutorial on building custom controls
Posted by Billy Porter at 8/12/2003 12:01:18 PM
Any ideas? -- Thanks, Billy ...more >>

Custom Server Control with Panel --> how?
Posted by Gönen EREN at 8/11/2003 7:05:42 PM
Hi , I want to built a custom server control which has: * a panel * a button which sets the visiblity of the panel true or false and finally a want to add controls in the custom control (label,datagrid,...) in the aspx page just like an asp:panel i have a very small experience in bui...more >>



When does LoadControl really load the control?
Posted by rory.plaire NO[at]SPAM co.benton.or.us at 8/11/2003 4:24:19 PM
Hi, I'm loading a user control (.ascx) with LoadControl in a code-behind page. LoadControl returns successfully, and the valid reference it returns is successfully cast to the type of control I need (TimeEntryGrid). All this is done in Page_Init so that the control can catch the Page_Load the...more >>

Exposing a string array on a control - how to get PB support
Posted by Howard Dierking at 8/11/2003 10:59:02 AM
I've got a custom server control where I need to provide the user the ability to create a list of items items (I know that they will all be strings). In the property browser, I want to use the default type editor for string arrays (basically a textbox where items are seperated by new lines), an...more >>

possible to use TableItemStyle/ TableStyle to control radiobuttonlist appearence?
Posted by Christian H at 8/10/2003 12:47:45 AM
Hi! I'm so fed up with the built'in control's beeing hard to customize.. I'm trying to modify the radiobuttonlist, so that I can control the appearence of the table when using TableLayout. Right now you can only modify borderwidth,color,style and cellpadding,spacing. I'd like to add the poss...more >>

Cannot create an object of type 'System.String[]' from its representation 'String[] Array'
Posted by Hessam at 8/8/2003 1:06:16 PM
Hello, I am designing a .net custom control in VS.net 7.1 and my control exposes an array of strings which are supposed to be the items to show. To do this have declared a private string[ ] variable and a public property which returns it. string[] options = new string[1]; public string[] Opt...more >>

how to fire a postback event
Posted by kevinchu1021 NO[at]SPAM yahoo.com at 8/8/2003 12:28:06 PM
Hi, All I design a composite custom control, which has three dropdownlists in it. I find as long as one of the dropdownlist control's id is assigned using uniqueid property of my custom control then a postback event will be fired, but since my dropdownlist has javascript event which does some...more >>


DevelopmentNow Blog