all groups > asp.net building controls > august 2005 > threads for august 15 - 21, 2005
Filter by week: 1 2 3 4 5
Command Event firing without apparent cause
Posted by John Bankhead at 8/21/2005 1:51:03 PM
I am building a control with among other controls is a datagrid. The data
grid, when populated has twenty-five text columns and a single input column.
The column, depending on the data in the row, is being created as either a
button or a textbox. This logic is performed in the ItemDataBound... more >>
Command Event in button being magically invoked.
Posted by John Bankhead at 8/21/2005 12:55:01 PM
Top of page: Listbox and button. Listbox contains a list of products.
Button says "Load". Beneath both is a datagrid. In the datagrid, 25 columns
contain text and one of the columns contains a textbox or button depending on
the nature of the account. Clicking a button in this column cause... more >>
Help with using a custom collection as a property for a TextBox derrived control.
Posted by Chris Crowe [MVP] at 8/21/2005 12:00:00 AM
Hi
I am creating a new TextBox control but I am having problems when I am
trying to add my own collection to the control and persisting the values to
the asp.net web page.
This is my code for the collection property
[PersistenceMode(PersistenceMode.InnerProperty)]
public LookupEditCont... more >>
Making sure a file exists before uploading it
Posted by Nathan Sokalski at 8/20/2005 11:15:15 PM
I have a form that allows the user to upload a file. Even though <input
type="file" runat="server"> is intended to have the user choose the file
using the browse button, it still allows them to change the path before it
is uploaded. I currently use the following code to upload the file:
Dim u... more >>
User Controls Reusability
Posted by Clift at 8/19/2005 9:07:05 AM
I have created a DHTML menu and wrapped it into a asp.net user control
library. I am able to use this in any project by using <%@ Register
TagPrefix="uc1" TagName="menu" Src="...%>. The Src attribute is the problem.
Can anyone give me any information on how to locate my .ascx control in one
... more >>
Including files with a control
Posted by Ryan at 8/18/2005 1:02:06 PM
I am attempting to make an ASP.NET server control (inheriting from
System.Web.UI.Control) and, when the control is dragged from the Visual
Studio toolbox, I'd like it to automatically copy some indlude files (images,
etc) to the user's web project. Is this possible?
Thanx... more >>
ASP.NET 2.0: problem with CompositeDataboundControl and GetSampleDataSource
Posted by Jos at 8/17/2005 12:00:00 AM
I have a control derived from CompositeDataboundControl, which is working
fine at run time, but I can't get the control to draw itself at design time.
I have overridden the GetSampleDataSource method, so that my control
designer can provide dummy data.
The problem seems to be that the GetDesig... more >>
Design Problem
Posted by JRB at 8/16/2005 9:25:07 PM
Hi, I'm a programmer, but new to ASP.NET. I'm playing around with the
Repeater and DataGrid controls. Here's the situation. I've got a MySQL
database containing a couple tables. One called "games", one called "picks".
picks has fields "GameID", and "PickedTeam". games has fields "GameID",
"H... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to add vertical align attribute to designer
Posted by James Geurts at 8/16/2005 6:21:02 AM
Hi,
I am trying to add designer support to my custom web control. It's similar
to the Panel control and I'd like to allow the user to specify vertical
align. I'm not quite sure what style is supported in the vs.net designer,
though.
So... in the OnBehaviorAttached() method of my desig... more >>
Using IFRAME in a custom control
Posted by Rushad at 8/16/2005 2:02:41 AM
I am using an IFRAME in a custom control with src="Popup.aspx" where Popup.aspx is a page in the Web control library.
How can I reference this page without having to copy it down locally ?
I have tried embedding it in the Web control library dll and referencing in the Assembly.inf file using ... more >>
Exposing a collection properties
Posted by Thiago H M Fernandes [BrDevelopers] at 8/15/2005 10:47:03 AM
Hi all,
I am trying to create a control that expose a collection of a custom class.
I did some like this:
// My Custom Button
[TypeConverter(typeof(ExpandableObjectConverter))]
public class HTMLEditorButton : Image {}
// My Collection of Custom Buttons
public class HTMLEditorButtonCollec... more >>
|