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 > december 2004 > threads for december 15 - 21, 2004

Filter by week: 1 2 3 4 5

Newbie IPostBackDataHandler Question
Posted by Solel Software at 12/21/2004 11:09:01 PM
Hi, I am having a problem with a custom server control I'm working on and put together a skeleton example to demonstrate the problem. Basically, I have a custom server control with two RadioButton controls added in CreateChildControls. They work great and all is well except for some reaso...more >>


How to access the owner Page from within a component
Posted by Ingvar Nilsen at 12/21/2004 8:19:30 PM
I have a component (System.ComponentModel.Component) and want to access the Page that "owns" it, during runtime. Yes, I can write a public property and set that property in the designer, and thereby get access to it at runtime, but I want to be smarter than that. Somehow the component has t...more >>

update of custom control
Posted by John Bankhead at 12/21/2004 8:19:01 AM
I created a user control that displays different subsets of data depending on the value of its public property "Folder". I placed the control on my page along with four asp:buttons to represent the four different folders. The clicking a button fires off the folder_click function which in tur...more >>

CustomDataGrid Child controls event problem - weird!?!
Posted by YunusEmre at 12/21/2004 1:50:47 AM
Hi, I am trying to build a Custom Web Control that extends the DataGrid control but I am having problems with the events of the child controls. As you can see in the following code I have four ImageButtons that I am willing to add to the grid. They will function as page navigators (First, P...more >>

Help in composite control
Posted by Faizan Ahmed at 12/20/2004 9:05:20 PM
Hello all, I've been stuck in this problem for a couple of days now and could'nt get any closer to the solution.. any help will be highly appreciated.. I have a server control that i derived from DataGrid control. This custom control also has a Microsoft IE Toolbar control which contains some ...more >>

Open Window with Javascript from WebUserControl and return values
Posted by Jorge Ponte at 12/20/2004 1:31:03 AM
hi I have a Web User Control (ascx) - lets call it "My_WUC" - in a Web form. In that WUC I want have a textbox and a button. I want to click on the button and open a popup (I use javascript for that), the popup window will have also a text box and a button. when the User click on the button...more >>

How to make changes made to a component be updated immediately
Posted by Ingvar Nilsen at 12/19/2004 8:26:54 PM
I have two projects in the same solution. One of them contains a component, that is finished, and added to the toolbox. In the second project I have put this component on the webform. The problem arises when I make changes to the component. These changes are not immediately recognized in th...more >>

Breakpoints ignored in component
Posted by Ingvar Nilsen at 12/19/2004 8:22:21 PM
I have two projects in the same solution. One of them contains a component, that is finished, and installed in the toolbox. In the second project I have added this component to the webform. All works fine. Problem is, I am not able to set breakpoints in the source code for the component so...more >>



Not Able to trigger event in Composite Control
Posted by King Kong at 12/17/2004 7:28:44 PM
i have a datagrid and toolbar and have integrated them in my composite control(inherited datagrid) toolbar items are shown as for e.g <HeaderToolBarItems> <iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton> <iewc:ToolbarButton Text="werwer"></iewc:ToolbarButton> <iewc:ToolbarB...more >>

Datareader, Datagrid and hyperlinks
Posted by Grant at 12/17/2004 1:24:54 PM
I am filling a datareader and then assigning the reader to the datagrid as follows: SqlDataReader reader = ADOConnect.populateDatareader(); AllResultsDataGrid.DataSource = reader; AllResultsDataGrid.HeaderStyle.Font.Bold = true; AllResultsDataGrid.DataBind(); My question is how do I speci...more >>

dynamic userControl can't be accessed during page load
Posted by Allan at 12/17/2004 11:59:02 AM
I have a userControl that I create based on how many rows I retrieve in a dataset. I add the control to my page but can't access it during the page_load. I assume this is due to the control not being actually created yet, the code is as follows... For Each row In dt.Rows Dim travelRow...more >>

dynamically work with datagrids
Posted by et at 12/17/2004 10:35:05 AM
How can I dynamically get the type of control in a datagrid. I have several columns that when editing a row, one column may be a dropdownlist, the next column may be a text box, the next column may be a label, or something else, depending on what the datagrid is for and whether the user has a...more >>

how do I access controls from a static class?
Posted by Grant at 12/16/2004 5:07:39 PM
Hi, I have a page with about 40 text boxes for capturing data and need to get the values of these text boxes to a static class for processing. I can go through individually and add to an arraylist but there must be an easier way.. In the aspx I can directly access these control values bu...more >>

Capturing Click Events in Buttons
Posted by King Kong at 12/15/2004 4:35:58 PM
i have three buttons in my custom web control and im not able to capture click events on em. how to do this in custom control. buttons are webcontrols too. Please Help ...more >>

Adding controls to a server control.
Posted by Wade at 12/15/2004 11:47:10 AM
Hi all, Question regarding server controls. I have built a server control that creates two listboxes and a few buttons. Here's a snippet to show how I've done this (from AddAttributesToRender sub): ' Available listbox writer.AddAttribute(HtmlTextWriterAttribute.Class, A...more >>

Setting values of UserControls used multiple times on a page
Posted by Grant Ord at 12/15/2004 10:13:04 AM
I have a pages which use the same UserControl multiple times on the same page - they have different IDs though. The UserControl contains a number of select lists. After databinding each select list in each control to a datasource, which happens correctly, I then set the Value property for e...more >>


DevelopmentNow Blog