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 > march 2005 > threads for march 1 - 7, 2005

Filter by week: 1 2 3 4 5

Composite Web Custom Control derived from DataGrid
Posted by SRGTech_Max at 3/7/2005 10:07:07 AM
Hello I am a beginner at creating composite web controls. What I am trying to do it add functionality to the DataGrid webcontrol by adding two dropdowns, a textbox and two buttons to it (for search-capabilities) I have created a new class (DataGridFilter) derived from DataGrid e.g. pu...more >>


Extending Calendar to add Day Click Event
Posted by nileblitz NO[at]SPAM gmail.com at 3/7/2005 6:06:00 AM
Hello, I am trying to extend the Calendar Control to add a event for a Day Click. Currently we have a "SelectionChanged" event. I would like an event to be fired on "DayClick" I extended the calendar control and added the following // public event EventHandler DayClick; protected void ...more >>

Controls inheriting ListControl will not fire in UserControl
Posted by Chris Glenn at 3/6/2005 11:11:01 AM
I ran into a problem when building some usercontrols. I am using a dropdownlist and radiobuttonlist and setting the AutoPostBack = "True". I add sub routines to handle the selectedindexchanged event. Neither of them fire. All of my other controls fire no problem. They post back but it will no...more >>

List of Checkboxes
Posted by Tony at 3/6/2005 5:35:06 AM
How would I create a list control containing checkboxes in ASP.Net TIA...more >>

Implementing postback functionality in custom control
Posted by Showjumper at 3/5/2005 4:38:06 PM
Here is my situation. I first made a custom composite control (consisting of a textbox and button) that does a whois lookup based on the domain name entered in the textbox. Getting the lookup sub to fire in the composite version is not a problem b/c all i do is add AddHandler LookUp.Click, Addr...more >>

DataGrid subclass - design time problem
Posted by Jay at 3/4/2005 11:00:31 AM
I created a custom control which is a simple subclass of the DataGrid. I wanted to display a message when the DataSource is empty. Right now I am assuming the datasource is a datareader. The problem is in design mode. I get the error "Error in displaying...". This is caused by the DataSo...more >>

Description of property
Posted by simon at 3/4/2005 9:32:25 AM
I have simple question. I build user control with property: Public Property clickFill() As Boolean Get Return _clickFill End Get Set(ByVal Value As Boolean) _clickFill =3D Value End Set End Property Where in this code I put the description of pro...more >>

I'm new to classes, why isn't this working?
Posted by David Lozzi at 3/4/2005 8:48:28 AM
Hey, Trying to build a simple class to pull data from the web.config file. Here's what I have in common.vb Imports System.Configuration Public Class CommonFuncts Public Property ConnectionString() As String Get Return ConfigurationSettings.AppSettings("Connecti...more >>



ListBox PROBLEM in User control
Posted by Pierre at 3/4/2005 4:05:04 AM
Hello, I'm trying to develop a simple Web User Control that contains two list boxes, Add and Remove buttons. This User Control transfers the selected items from left list box to right list box and vice-versa, depending on the button clicked. The SelectionMode of both list boxes is "Multi...more >>

Performance wise whats better?
Posted by Showjumper at 3/3/2005 1:36:26 PM
With respect to performance, whats better - using the the utility methods of HtmlTextWriter to render the control or to use Dim inputa As New TextBox Dim butt As New Button inputa.RenderControl(wr) butt.RenderControl(wr) As i understand it direct render via the utility methods is better be...more >>

RegisterClientScriptBlock does not work from a server control
Posted by Cameron Eckman at 3/3/2005 10:29:10 AM
For some reason I cannot get RegisterClientScriptBlock to render a script reference on the page from a server control. Yes, I have not placed the code in the Render method, I also tried the OnInit just in case. Below is the a simple version of the code, any help is appreciated: namespace ...more >>

Embedded dll in html page
Posted by Andrew at 3/3/2005 9:25:02 AM
Hi, I've tried creating a very basic class library. It has one object and one property. The property returns always the same string value. I then use the <OBJECT> tag to embed the dll in my page. The dll and html sit in a root directory on my IIS 6 server. Code is below: namespac...more >>

Viewstate problem
Posted by Code Scorpio at 3/2/2005 2:08:00 AM
Hi all, I'm developing a custom control that renders a calendar in a html table. (in C#) Let me tell first that is not <asp:calendar> builtin control. To change the current week (weekly view of the calendar), i've added two <a> html elements with a code like this : _render += "<a title='...more >>

Why cant i send text to my usercontrol?
Posted by Mange at 3/1/2005 11:37:01 PM
I have med the most simple usercontrol with one textbox. Just for testing and to learn more about usercontrols. The problem: I want to put text into my usercontrol texbox and read from it but its never there when i want to acces it. Help me with a small example....more >>

RenderChildren/ParseChildren
Posted by recoil NO[at]SPAM community.nospam at 3/1/2005 7:37:23 AM
I am having a slight problem. Below is something similar to what I want to appear in the asp.net <cc2:WebCustomControl1 id="WebCustomControl11" runat="server"> <FillList CommandName="asfsadf" ParameterName="sdafas" > <ParameterNames> <System.String Length="6">sda...more >>


DevelopmentNow Blog