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 > february 2005 > threads for february 15 - 21, 2005

Filter by week: 1 2 3 4

Problem Adding Controls
Posted by loureiro at 2/21/2005 6:37:06 AM
Hello, I seem to be having a problem loading a div tag with a control. here is what I am doing: Dim oObjCheckBox As CheckBox = New CheckBox() oObjCheckBox.ID = "chkTestControl" oObjCheckBox.Text = "Test Control" outputList.Controls.Add(oObjCheckBox) i do this inside a sub routine...more >>

Changing HTML in the Render() method
Posted by Benton at 2/19/2005 1:10:28 PM
Hi there, I am looking for C# code samples on how to: 1.- Get a string with the default HTML that would be rendered for a custom control. 2.- Customize this string. 3.- Make the control render the customized HTML. I want to customize the "HREF" part of the HTML generated for a LinkButto...more >>

Basics to extend the any control?
Posted by Vishal at 2/17/2005 6:44:12 PM
Hello I would like to know what methods/events I have to override to extend any webserver control. I actually need to extend the datagrid control, but the basics should be same for all, right? What are the basic required events, which I have to insert for each control? I have never cre...more >>

Collections as properties?
Posted by Paul Louth at 2/17/2005 4:40:35 PM
Hi, I'm creating my own custom web-control called Table, with a collection of my own custom 'Column's as a property: [ToolboxData("<{0}:Table runat=server></{0}:Table>")] public class Table : System.Web.UI.WebControls.WebControl { ... [Bindable(true)] public ColumnCollection Co...more >>

DataGrid.Column.Count is empty?
Posted by SK at 2/17/2005 1:44:07 PM
Hello, I have created my own datagrid control, derived from datagrid. Now my webform uses this datagrrd and calls the ItemDataBound method, which then SHOULD loop through the columns, but it always shows me that the columns count is 0. Although I can see several columns in the webbrows...more >>

Derive OnItemCreated
Posted by SK at 2/16/2005 4:02:12 PM
Hello, i have created my own datagrid control derived from the datagrid control. Now I would like to override the OnItemCreated method. But I dont get how I can do that. Can somebody help me out? Thanks ...more >>

Building a non-databound custom template and accessing it's properties
Posted by Geoffrey Gallaway at 2/16/2005 5:39:52 AM
Hello, I've built a custom control (inherits from WebControls.Repeater) with a custom template. The intention is to make a custom paging repeater. The repeater would be controlled via LinkButtons that would be inside the custom template. I want to do something like this in the aspx files that...more >>

Strange button behaviour
Posted by ByB at 2/15/2005 11:19:49 PM
Hello, I created an ASPX page with some buttons on it, but one of them is reacting in a strange way : In design mode, if i double click on it, it takes me to the corresponding OnClick method. But if I put a breakpoint on this method, when i work in debug mode and clicking on this button, i...more >>



Creating a panel with a collection property -- NEED HELP
Posted by Nicolas LeBlanc at 2/15/2005 3:36:36 PM
Hello everybody, I've been working lately on making my own tabstrip control because I = couldn't find anything that works the way I want it. But now I have a = problem, because I have a "Tabs" property which is the collection of = tabs inside my control, I'm no longer able to add controls insi...more >>

Really Creating dinamically Web Controls
Posted by Cesar Garcia H at 2/15/2005 1:57:41 PM
Hi everyone. I'm developing a custom control and i'm having some problems. Here goes the figure : I have a N level tree structure, and I have to show the first level in a DropDownList. When the user selects one option of the first dropdownlist, the page has to show another dropdownlist, ...more >>

hide component from toolbox
Posted by Naveen Kohli at 2/15/2005 9:45:03 AM
I have a control assembly which contains the my custom web control. In the same assembly I have few classes that implement IComponent interface. I need this interface for my classes. When I add the assembly to toolbox, every single class that implements IComponent interface shows up in the toolbo...more >>

HELP: Where is the asp.net web based control designer???
Posted by inetmug at 2/15/2005 7:57:08 AM
What namespace is it in? -- Patrick...more >>

CreateChildControls and Exception Failed to Load ViewState
Posted by Craig at 2/15/2005 6:53:04 AM
Hi I've been struggling with this problem for several days now, pretty much out of ideas... I have n number of xml files each defines what server side control to to render inside my custom web control (composite). The OnInit of my web control parses the xml files creating a collection o...more >>

Adding Datasource Property
Posted by Steven W at 2/15/2005 4:23:05 AM
I need help with how to add a DataSource property to a composite control and then how to assign that property to the datasource of a datagrid. Thanks...more >>


DevelopmentNow Blog