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

Filter by week: 1 2 3 4 5

Font Properties and how to use them
Posted by Pete Ehli at 5/20/2004 6:54:41 PM
Hello List, I have a custom web control that during the render phase of the controls life cycle I am rendering a table with one row and two columns. I have text inside a column of this table and I want a user of my control to be able to change the Font properties of this text. Below is the code...more >>


DataGrid Viewstate problem
Posted by Josema at 5/20/2004 4:16:08 AM
Hi, to all.. I have 2 web controls (MyDataGrid.cs, MyCalendar.cs The first inherits from calendar, and i have implemented the event MyCalendar_SelectionChanged and inside of this i put in the viewstate a datatable that i filled (and its filled, i verified)... like this Viewstate.Add("DATA"...more >>

Prevent tag properties automaticaly generated by ASP.NET
Posted by Henri at 5/20/2004 1:35:21 AM
When I use System.Web.UI.WebControls.Image, ASP.NET automaticaly outputs : <img border="0" /> Is there a way to prevent this border="0" to be added, without creating a custom Control? ...more >>

Programmatically using and adding htmlcontrols
Posted by Chris Kennedy at 5/18/2004 8:02:54 PM
I have a composite control which dynamically adds controls depending on how it is intialised from an XML file. This all works well with web controls. I want to be able to add an htmlinputfile server control. This best I got so far is a literal e.g. fileid = "<input type='submit' id='submit1' ...more >>

AddParsedSubObject and LoadViewState
Posted by michaelacombs NO[at]SPAM hotmail.com at 5/18/2004 3:14:24 PM
I am building a combobox webcontrol which works from a collection of ListItems similar to a standard DropDownList. It uses AddparsedSubObject to load the nested ListItem objects (below). <cc1:combobox id="ComboBox1" runat="server"> <cc1:ListItem Text="test1" Value="1" Selected="False"></cc1...more >>

Submit form
Posted by Chris Kennedy at 5/17/2004 10:17:08 PM
I am creating a control which will upload files. The problem I am having is the button event I have created does not seem to see the files getting posted to it. My first guess is that my event is not posting the form. I can add a submit button. How do I create an event that will respond to the s...more >>

__doPostBack generates JavaScript errors in UserControl encapsulating form
Posted by jsausten NO[at]SPAM hotmail.com at 5/17/2004 7:40:19 PM
I have a form shared by several aspx pages. It's the only form appearing on the pages, so I though I would encapsulate the form in a User Control to simplify maintenance. The ascx page looks like: <%@ Control CodeBehind="myForm.vb" Inherits="Project.myForm" Language="vb" AutoEventWireup="false...more >>

Templates/user controls or both??
Posted by Divya at 5/17/2004 3:51:07 PM
Hello I am trying to use a template in my asp.net application so that, I can use the same code for different sites (each site must have a different template - style and content). What would be the best approach? I came across a few articles that talked about using template controls. I am not sure ...more >>



changing input type file
Posted by Gladriel at 5/17/2004 4:06:01 AM
i would very very much like to change the browse button on the file upload to one of my own am i right in thinking if i create an inhertited control and overwrite its TemplateSourceDirectory (inherited from Control) can I point the control to a aspx page containing a textbox and my own button...more >>

Repeater
Posted by Galadriel at 5/16/2004 4:06:04 PM
is it possible to get the repeater control to display items across a page i realise that i can use table cells to get it to repeat across but that would just repeat in one row on and on <table><tr><itemtemplate><td>index=index+ </td if index=mod(count of items rendered / 3.... e...more >>

Passing an object as a property???
Posted by Henri at 5/15/2004 11:10:12 PM
Is it possible to do sth like this ? Page's code part: Private xmlObj As New XmlDocument(......) ---------------------------------------------------------- Page's HTML part: <MyNS:MyControl runat="server" document="xmlObj" /> ----------------------------------------------------------...more >>


DevelopmentNow Blog