Groups | Blog | Home


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 > november 2003 > threads for november 22 - 28, 2003

Filter by week: 1 2 3 4 5

Changing color in a button
Posted by me at 11/28/2003 3:10:55 PM
Hello, I have a question about how too change the background of a command button once it has been click from aliceblue to azure. TIA, Aaron ...more >>


Error Setting user control property at web form
Posted by Amir Eshterayeh at 11/26/2003 7:30:01 PM
Dear Friends Hope things goes well to you. I have this problem. Would you please give me your solution? I want to change a property that I define on my user control in my web form that contains that user control. but when I want to set the property of user control at my web form, got this er...more >>

absolutePositioning attribute of Custom webcontrol
Posted by Alessandro Zifiglio at 11/26/2003 5:34:56 PM
Hi, does anybody know if its possible to code for the absolute positioning. I have noticed that vs.net applies these attributes to any webcontrol. This is how you are able to move your control around in the designer. I'd like to include the left and top as properties of my custom control and hav...more >>

JavaScript Src attrubute in ascx
Posted by New User at 11/26/2003 7:57:46 AM
I have a System.Web.UI.UserControl as custom control and I have a javascript block for user control. The problem is I want to bring src attribute from outside as property or other method. e.g <script language="JavaScript" src="Scripts/filename.js"></script> When I register this contro...more >>

Dynamic Changing Properties
Posted by Shawn B. at 11/26/2003 7:46:46 AM
Greetings, Suppose I have a control that by default, all the properties and text rendered is English. If supported, and the user changes to say, arabic, is it possible for me to change the control enumerations also in the property editor so that it looks Arabic? I'd think not. Perhaps I h...more >>

Getting PostBack Data from DropDownList Control
Posted by Lance at 11/25/2003 9:25:46 PM
Hi Guys. Im trying to catch the postback event for a control that Inherits from the System.Web.UI.Webcontrols.DropDownList Ive used the code below for controls inherited from System.Web.UI.Controls But it dosnt work when I inherit from dropdownlist. Any ideas? Imports System Impo...more >>

User Control properties
Posted by Netvision Mail at 11/25/2003 8:11:08 PM
Hi all, I'm a total newbie, so this might be stupid... Anyway, I've created an expanding tree of categories control, based on DataList. It works almost fine, but I can't make it return the value of the last category clicked. To be more specific, it does return it, but only the second time I cl...more >>

Events Handling Order
Posted by IgorRubinovich NO[at]SPAM yahoo.com at 11/25/2003 5:04:00 PM
Hi all, I'm a total newbie, so this might be stupid... Anyway, I've created an expanding tree of categories control, based on DataList. It works almost fine, but I can't make it return the value of the last category clicked. To be more specific, it does return it, but only the second time I cl...more >>



Testing existance of a datagrid control on a webform
Posted by Iain Porter at 11/25/2003 3:43:36 PM
Hi all, I have a usercontrol (a textbox with dropdown calendar that fills the textbox with the selected date) that I implement in a datagrid in a webform. On first loading the page, the datagrid's visibility is set to 'false', and so the UC depCal is not rendered on the page. Hence the followin...more >>

LoadViewState does not fire on a postback event
Posted by Jean Erasmus at 11/25/2003 1:06:44 PM
Hi there, I need some help please. I have created a composite control that have a collection of items associated with it. Now I want to save this to the view state of the control, but the LoadViewState method does not get called so I can get the collection out of the view state. Does anybod...more >>

div element taking up space
Posted by dave at 11/25/2003 9:42:24 AM
I am hiding the contents of a table cell with display:none like the following: When I do this and while hidden the row still takes up some vertical space. How can I best use div elements to hide table row while not taking up and vertical space? thx <TR> <TD><DIV id="div1" style...more >>

Handle exception in ProcessPostData
Posted by Mono at 11/25/2003 8:55:44 AM
Is there any way to catch (and handle) exceptions in the ProcessPostData or ProcessPostDataSecondTry methods? p.s. From custom web control. Zarko ...more >>

embeding Javascript src attribute in User control
Posted by New Asp.net developer at 11/25/2003 7:34:48 AM
I have a System.Web.UI.UserControl as custom control. I have a javascript block for user control. The problem is I want to bring src attribute from outside as property or other method. e.g <script language="JavaScript" src="Scripts/filename.js"></script> When I register this control (...more >>

CreateChildControls not being called
Posted by Colin Young at 11/24/2003 1:59:26 PM
Has anybody ever seen a situation in a custom control where CreateChildControls is not being called? I've set a break point in the method and it is never hit (in addition, none of the controls that are supposed to be created are not being created so I'm reasonably certain it isn't just a problem...more >>

Inverted Controls?
Posted by Eddie B. at 11/24/2003 12:04:58 PM
Is there a way to invert a control like text box? I am trying to make an interface that will look like a tablet if you turn a laptop to the side. This will enable the users in the company to use the touchscreen laptops that they have like they use tablets on other areas of our company. It is a ...more >>

Custom Composite Control, child User-controls loosing view state
Posted by Mike J. at 11/24/2003 9:12:14 AM
I've created composite custom control which dynamically creates and arranges it's child controls based on some xml data. Beside the simple web form controls there is an option of loading user-controls (UC) at run-time. Child controls are created/loaded/initialized in overridden CreateChildControl...more >>

Adding dynamically user control (ASCX) into asp.net page and handling OnClick event
Posted by francois.verdon NO[at]SPAM videotron.ca at 11/23/2003 9:11:46 PM
Hi, I've been reading a lot's of Q&A on user controls but none seem to answer my question. Here it is. I need to add dynamically a user control, in a htmltablecell, in an asp.net page (done in VB). This is the way, that I thought, was the wright way doing it: Dim oTable As New HtmlTable() ...more >>

Displaying template content in vs.net designer
Posted by Alessandro Zifiglio at 11/23/2003 6:27:45 PM
hi, I'm trying to display the content within my "templated databound custom controls" templates at design time, in the vs.net designer. I'm able to get the cotents of my template using the GetTextFromTemplate() method. This returns all controls within my template as a string, for example if i had...more >>

I'm trying to convert this from C# to VB.NET any ideas?
Posted by Wayne at 11/22/2003 10:32:59 PM
public event EventHandler Logon { add { Events.AddHandler(EventLogon, value); } remove { Events.RemoveHandler(EventLogon, value); } } ...more >>

Client-Side Script for CheckBox Web Control
Posted by Mickie at 11/22/2003 9:15:53 PM
I'm trying to create a server Web control that renders as a checkbox that has an OnClick event associated with it. I've created a short proof of concept to simply attach an alert message when the checkbox is clicked. The problem is that the override is being ignored and the OnClick event is nev...more >>


DevelopmentNow Blog