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 webcontrols > june 2004 > threads for june 22 - 28, 2004

Filter by week: 1 2 3 4 5

Getting the full URL
Posted by Nathan Sokalski at 6/28/2004 5:13:42 PM
I need to get the full URL of the current page in ASP. When using Request.ServerVariables("URL") anything after the filename (such as a #section1 to jump to an area on the page or data submitted from a form using the GET method) is automatically removed. I do not know of any keys for the Request...more >>

Dynamic Control Not Participating in PostBack
Posted by localhost at 6/28/2004 4:52:58 PM
A method in my code-behind is called when a certain condition happens. This method does this: ImageButton dynButton = new ImageButton(); dynButton.Click += new ImageClickEventHandler(dynButton_Click); dynButton appears on the page, but it is not participating in the PostBack proce...more >>

Add Inner HTML to Table?
Posted by localhost at 6/28/2004 1:28:40 PM
I need to add a behavior to a table and its rows. I cannot determine how to do this. My code looks like this: HtmlTable testTable = newHtmlTable(); HtmlTableRow testRow = new HtmlTableRow(); testTable.Controls.Add(testRow ); testRow.Controls.Add( new LiteralControl("<be...more >>

Problem with Microsoft TabStrip Control in ASP .NET
Posted by forrscteam NO[at]SPAM yahoo.com at 6/28/2004 10:46:52 AM
Our application is in ASP.NET and C# , we have used tabstrip control for data input screens. eveything went fine. till the user got connected to this application through a web VPN (CISCO),all of sudden tabstrip is not getting displayed at all. Our application has frames for a menu on the left,...more >>

Calendar Control SelectedDate Property
Posted by Jason Taylor at 6/27/2004 8:12:01 PM
Hello, I have created a new Web Form, example.aspx, with a Calendar control, Calendar1. In the Page_Load event of example.aspx I have included; Calendar1.SelectedDate = "28/08/2004" When I run the page, the month displayed is June 2004. If I then navigate to August, I see that 28/08/2004...more >>

How to access web control from code behind page?
Posted by William Parker at 6/27/2004 2:37:00 PM
I have a web control I made called header.ascx. It has its own properties and methods I defined. But I cannot figure out how to access this control from my code behind page. I can create the web control just fine and script with it as needed from the webform1.aspx page itself just fine, like ...more >>

Treeview
Posted by Lee Trotter at 6/27/2004 11:08:56 AM
Does any know about or have any resources for the a treeview control? Any place to start would be great Thanks Lee ...more >>

URGENT - RequiredFieldValidator not working after deployment -
Posted by Roni Burd at 6/26/2004 8:01:43 PM
Hi!, I'm having a strange issue while deploying a web site with Validator controls. In my development machine the Validators function perfecly and also when I deploy using XCOPY to a web server. The problem seems to arrise when I decided to change the root folder of the web page in IIS to poin...more >>



Can web control events fire FIRST?
Posted by William Parker at 6/26/2004 4:00:07 PM
I have a user web control I wrote which is registered in my webforms. By default the web form's Page_Load is firing first, and then the web user control's Page_Load is firing. I want to set it up so that the web control's event fires first, before the web form's (or any other controls page_lo...more >>

Applying styles from multiple sources
Posted by DalePres at 6/26/2004 8:32:14 AM
Is there a way to determine the order or priority of applying styles in a custom web control? For example, I have a control with default style settings for many features, and exposed public properties to change those settings as well. It is easy enough to set the value of the public property t...more >>

Creating a Control in a web form Dynamically
Posted by Haitham at 6/26/2004 12:58:12 AM
Hi all, May you kindly tell me how to create a label control in the web form dynamically and change its width and top properties thanks in advance ...more >>

Best way to render a custom web control
Posted by DalePres at 6/25/2004 8:42:24 PM
I have a custom web control that basically consists of a dynamically created table and HTML checkboxes. I spent hours typing things like: writer.AddAttribute(HtmlTextWriterAttribute.SomeAttribute, "SomeValue"); writer.RenderBeginTag(Td); writer.Write("Some stuff"); writer.RenderEndTag(); ...more >>

Composite control problem !!!!
Posted by Mircea Pleteriu at 6/25/2004 10:28:58 AM
Hi all, I have a composite control which only consists in a datagrid control for beginning. I create the datagrid control within the EnsureChildControls method and set the AutoGeneratedColumns to false My control exposes a method AddColumn(DataColumn column) which adds the specified colu...more >>

dynamic events on dynamic controls
Posted by de NO[at]SPAM networld.com at 6/25/2004 9:55:47 AM
I'm creating my first custom control; it has a table with a variable number of cells (user defined at design time). Each cell has a button. Is it possible to attach events to these buttons? If so, how?...more >>

DropDownList with Postback on only one item...
Posted by Richard Huff at 6/25/2004 7:47:00 AM
Is it possible to trigger a PostBack event from only one item in a DropDownList? I would like to have a DropDownList that does not AutoPostBack with many items, except for one which will take you to a form to edit the items in the list. Any ideas would be greatly appreciated. - Richard Huf...more >>

help with events (i'm new to this)
Posted by Colin Robinson at 6/24/2004 10:25:48 PM
I can see there is an issue with web user control events on postback but dont fully understand how to implement a solution. I have a button on my aspx page, when clicked it adds instances of my web user control to a placeholder, it looks ok visually but events in the usercontrol dont fire.How ...more >>

ListBox sort
Posted by Colin Basterfield at 6/24/2004 2:51:20 PM
Hi, Is it possible to sort a web control ListBox? TIA Colin ...more >>

xml control
Posted by Arne at 6/24/2004 1:22:10 PM
Hi, I'm using the xml-control to read a xml/xsl file - and everything works fine, as long as the file is placed locally. Isn't possible to reference an external xml-fil as xml1.documentsource = http://www......... xml1.transformsource = "myxsl.xsl" i've tried - without success - with Di...more >>

asp:label not wrapping
Posted by klj_mcsd NO[at]SPAM hotmail.com at 6/24/2004 1:13:11 PM
I have two ASP:LABELs, One of them the words wrap and the other one doesn't. The only difference is that one I'm setting the text property at design time and the other one I'm setting at run-time...more >>

Is it possible to get the values of Datgrid Controls
Posted by dev NO[at]SPAM schleif.org at 6/24/2004 3:19:19 AM
i want to change the text of hyperlink column cell : Public Sub dgrSuchergebnis_Databound(ByVal sender As System.Object, ByVal e As DataGridItemEventArgs) Dim DatumVertragsabschluss As TableCell = e.Item.Cells(3) If DatumVertragsabschluss.Text = "01.01.1900" Then ...more >>

DataGrid inside WebCustom control
Posted by Mircea Pleteriu at 6/23/2004 6:45:32 PM
Hi, I am implemention a composite web custom control. The control only contains to 2 controls: a DataGrid and an ImageButton control. I create the child controls within CreateChildControls method of the web custom control. Within this method also I register the interest in the Click event ...more >>

SortCommand not handled
Posted by Mircea Pleteriu at 6/23/2004 5:44:38 PM
Hi, I have a composite web custom control which contains a DataGrid control Within the control I register the interest in the SelectedIndexChanged event of the grid. Even if the page is postbacked when the user selects an item on the grid the the handler of the event inside the control is not...more >>

stylesheet not working
Posted by Random at 6/23/2004 2:23:05 PM
Under .NET, why doesn't the "class" attribute seem to apply to elements that refer to a specific stylesheet reference? I've verified that the stylesheet is being referenced by creating styles that refer specifically to HTML tags. But if I want to call on a particular style just using the "class"...more >>

DataGrid not rendering
Posted by Mircea Pleteriu at 6/23/2004 2:22:19 PM
Hi all, I created a composite web custom control which encapsulats a DataGrid control plus some other controls. I overriden the Render method of my custom control and try to render the grid using myGridControl.RenderControl(output); But the control is not rendered even if my grid has the...more >>

Disabled Controls
Posted by jeff_carver NO[at]SPAM hotmail.com at 6/23/2004 12:04:28 PM
Okey, here's a puzzler: One of our users reports that when she tries to complete a data entry form, the dropdownlist and radiobuttonlist controls work fine but she can't enter anything into the textbox controls. Nowhere in the codebehind is any textbox's Enabled property being changed to false...more >>

ClientID seems wrong inside DataGrid
Posted by Jonathan Levine at 6/23/2004 3:31:01 AM
Hi, I am trying to access the value of a text box in a DataGrid from inside JavaScript. I have tried the following: void Item_Created(object sender, DataGridItemEventArgs e) { Button b = ((Button)e.Item.FindControl("AddUserButton")); TextBox t = ((TextBox)e.Item.FindControl("Textbox...more >>

FindControl not finding dynamic user control - Repeater, Panel, Usercontrol
Posted by don_najd NO[at]SPAM hardingmarketing.com at 6/22/2004 1:51:24 PM
I cut down the code to make this half way understandable... I have read Data Grid girls caution about over use of dynamic controls. I truly believe what I am doing requires dynamically inserted user controls. Worse I'm trying to add dynamic user controls from within a repeater loop (looping t...more >>

Validation Server Controls Not Working
Posted by Brett at 6/22/2004 1:17:50 PM
Deployed the same code containing validation server controls to two different sites. The controls function on one site, but not the other. Confirmed the versions are the same. Could this be some sort of configuration or IIS version issue, or whatever? Thanks...more >>

Property Extender properties not persisting !
Posted by JezB at 6/22/2004 12:15:39 PM
I've written an extender provider for windows forms controls and ASP.NET web controls. My windows forms solution works fine, but my ASP.NET solution does not persist any property values I enter via the visual studio property grid. Upon examination of the code within InitializeComponent I can se...more >>

Replacing a control dymamically (to use a webform as a template)
Posted by jorge at 6/22/2004 12:37:00 AM
Hi all, I have to replace a bunch of controls dynamically (TextBoxes, DropDowns, etc). Any way to do this? The 'template' pages are made on asp.net with tables (not runat=server) and asp:textboxes, etc. So I need to do a loop on the controls of the webform, but alas! they are read only. ...more >>


DevelopmentNow Blog