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 1 - 7, 2004

Filter by week: 1 2 3 4 5

Pick text option.
Posted by B.Good at 1/7/2004 4:43:16 PM
Hello all, I am trying to create an option where a user is able select from a list of options. The user will be presented with a text box which they can freely type in. What I would like to do is provide a button to the side of this text box which would open a list from a table in SQL in a po...more >>


Child OnPreRender method not being called.
Posted by gofishtn NO[at]SPAM hotmail.com at 1/7/2004 7:40:17 AM
I am creating a new control that inherits from the asp:calendar control so I can add some additional functionality. The way I decided to do this is to build my controls and render them to an intermediary HtmlTextWriter, next I render the Calendar control itself to an intermediary, and finally I...more >>

enter key to call <asp:imagebutton> event
Posted by Randy at 1/7/2004 7:30:47 AM
I'd like to trap the keypress event for the enter key and trigger a server side imagebutton click event. However, Page.RegisterHiddenField( "__EVENTTARGET", btnSubmitTracking.ClientID ); I've also tried, txtTrackingNumber.Attributes.Add("onKeyPress", String.Format( "if (event.keyCode =...more >>

DataGrid Help
Posted by VLAD at 1/6/2004 1:42:11 PM
I am using Provider=3DMSIDXS.1 and following code to fill datagrid.=20 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As = System.EventArgs) Handles Button1.Click Dim strCatalog As String ' Catalog Name strCatalog =3D "TestCatalog" Dim strQuery As String If Tex...more >>

Detect change in property within control
Posted by Stanley Glass at 1/6/2004 10:16:31 AM
Is it possble to have a property like so: [code] <Bindable(True), Category("Appearance"), Description("The help image associated with this control."), Editor(GetType(System.Web.UI.Design.ImageUrlEditor), GetType(System.Drawing.Design.UITypeEditor))> _ Public Property HelpImage() As Str...more >>

UserControl Losing state
Posted by shoeb at 1/5/2004 7:06:29 PM
I am having problem maintaining state of user control . I am loading then dynamically. here's the code ----------- System.Web.UI.WebControls.PlaceHolder phAD; AttributeDetail ucAttributeDetail; ucAD= (AttributeDetail)LoadControl ("AttributeDetail.ascx"); phAD.Controls.Add(ucAD); --------...more >>

User control resets the form elements
Posted by Furkan Atli at 1/5/2004 2:53:31 AM
hi, i have an aspx page with 3 ascx files(header,footer,left menu). my aspx page several textbox and dropdowns.some dropdowns submit the form when selection change.and all other textbox and other elements reset! but you know asp.net don't reset the form elements when the form submit., if...more >>

Need help with Datagrid Control in edit mode and Javascript
Posted by Gilles T. at 1/4/2004 7:43:18 PM
I have calendar control in Javascript including in the Head of mu page: <script charset="iso-8859-1" language="JavaScript" src="popcalendar.js"></script> I call this calendar popup with a image link button and working very good: <asp:Textbox CssClass="edit_item" id="txtEditDernieresResolution...more >>



Problem overriding render method to format literal content of nested tags in custom control
Posted by jsausten NO[at]SPAM hotmail.com at 1/2/2004 9:20:27 PM
Gurus, I have a custom web control that in turn has nested child controls. I want to be able to encapsulated and render any literal HTML and or server controls placed between the child control's tags. This works fine, unless I add a RequiredFieldValidator control at which point my aspx page f...more >>

Add control to asp:PlaceHolder on asp.net page from user control on same page
Posted by Dan at 1/2/2004 3:39:27 PM
I have an asp.net page default.aspx with a user control and a placeholder control. <html> <body> <form id="myform" method="post" runat="server" /> <PageHeader:Header id="header1" runat="server" /> <asp:PlaceHolder ID="content" runat="server" /> </...more >>

Rendering literal and serveral controls nested in web control at design time
Posted by jsausten NO[at]SPAM hotmail.com at 1/1/2004 5:01:06 PM
I have a custom web control that I want to be able to render nested literal HTML and or server controls. When deployed on an aspx page, my control might look like: <cc1:myControl RunAt="server"> <b>literal content</b> <asp:RequiredFieldValidator id="valRequired" runat="server" ErrorMessa...more >>


DevelopmentNow Blog