all groups > asp.net building controls > october 2003 > threads for october 1 - 7, 2003
Filter by week: 1 2 3 4 5
property as TextBox
Posted by kaasztelann at 10/7/2003 1:46:00 PM
The LabelProp property in properties-palette is expandable, so it is OK. The
problems are:
1. LabelProp is not persistent
2. When I change LabelProp.Text in properties-palette, MyControl is NOT
re-rendered.
Please Help.
C# CODE:
public class MyControl: System.Web.UI.WebControls.WebCont... more >>
Persisting Design-time generated value
Posted by J.Marsch at 10/7/2003 11:09:30 AM
I want to add a property to a control that will contain a GUID.
This GUID. Should be generated at design time, when the control is dropped
onto a WebForm. After the control has been dropped, the GUID should always
be of the same value. The problem is, that I cannot seem to get this GUID
val... more >>
Arraylist and datatable
Posted by jeremy hillin at 10/7/2003 10:52:40 AM
I want to take a collection of objects in an Arraylist
and turn them into a datatable so I can set it equal to a
dataview. I want to use the sorting features of the
dataview in a DataRepeater.
Any suggestions... more >>
Custom web control problem
Posted by Jim Buck at 10/7/2003 10:25:35 AM
I built a custom web control and can add it to the
toolbox. However when I drag the control onto a web form
niether the control tags nor the "register" directive get
created. My class looks like the following, does anyone
know what could be wrong. The custom control and the form
are in d... more >>
Add labels to custom control
Posted by Antonio Maciel at 10/7/2003 10:09:25 AM
Hi.
I am trying to add a label in my custom control based on a condition but
could not find how to do it. I have the following code at my Render event:
Protected Overrides Sub Render(ByVal output As System.Web.UI.HtmlTextWriter)
'Get the values to display from a datareader
If drOptions.Ha... more >>
Web Control in Separate Project - Partially Solved
Posted by Jim Christiano at 10/7/2003 7:56:37 AM
Everyone,
In order to promote code reuse, I've setup a web control (.ascx) in a
standalone vs.net project. I can then reference this project in any web
application. The trick is to setup a virtual directory that points to the
location of the web control in each parent application.
The iss... more >>
formatting the data in a datagrid
Posted by Robert Batt at 10/6/2003 1:44:54 AM
Hello,
I wish to format the data in one of the columns of a
datagrid so that it does not display more than 3 decimal
places. I have a datagrid call dgjobs and I have the
following code.
nb cm is a currency manager
Dim i As Integer
ts = New DataGridTableStyle(cm)... more >>
Development Cycle Problem: Old Code
Posted by Joel Finkel at 10/6/2003 12:35:58 AM
Folks,
I am trying to create an extension to a RequiredFieldValidator control. =
Throughout the development cycle, I use a test form and, on each =
iteration, I remove the last version of my custom control from the test =
form, remove it from the ToolBox, ensure that all references have been ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Inner child controls html disappears when property is changed
Posted by Genich at 10/4/2003 10:38:29 PM
Inner child controls html disappears when property is changed in the
property browser.
My controls applies ParseChildren(false) and PersistChildren(true)
attributes.
I have tried to use ReadWriteControlDesigner which microsoft encourages to
use if the control
supports child controls. With Re... more >>
Bind the DataGrid..?
Posted by Kent Johnson at 10/4/2003 6:00:24 PM
Hi all,
How can I get data to show in a datagrid?
This is what I have tested:
===============================
Dim ConnStr As String
ConnStr = "data source=MyServer;initial catalog=pubs;persist security
info=True;workstation id=LABSERVER;packet size=4096;user id=sa
Dim SQLSelect As String... more >>
FWD: Apply this corrective package which came from the Microsoft Corporation
Posted by Lee Simmons at 10/4/2003 2:36:36 AM
Microsoft Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to maintain the sec... more >>
The module 'HTTPHandler' is already in the application and cannot be added again
Posted by Hanse Davion at 10/3/2003 8:35:22 AM
Can anyone provide some insight on what this problem could be? I have
searched the web, read forums, and all the installation documentation for
the dotnetnuke feeware portal from asp.net. I am very confident that all
the security settings have been configured correctly. My setup is a Windows
... more >>
Issue with installing IE WebControls
Posted by Saur at 10/2/2003 4:50:52 PM
Hi,
I developed an ASP.NET application that uses IE Webcontrols
in one of my pages. I am using the tab strip control.
It worked fine on my devl system as well as the test
system but does not seem to work on prod.
The tab strips do not appear on my webpage and the all
the individual tab co... more >>
New DropDownControl behavior
Posted by Luiz Vianna at 10/2/2003 3:24:33 PM
Guys,
I developed a new DropDown control (that I use a lot).
Basicly, it goes to sql an got data on a predefined table and shows itself
on my form. It works fine.
The problem is when I submit the form all standard dropdown keeps their
selections and my goes to a initial status (nothing se... more >>
hosting ascx's inside a datagrid....
Posted by Jim at 10/2/2003 10:56:24 AM
I have derived of DataGrid to give functionality of an expandable dataGrid
(similar to article in October2003 MSDN). I have override the LoadStateView
and SaveStateView to save the extra properties I have added to the derived
class.
It works perfectly fine at expanding and collapse the row th... more >>
Control Builders
Posted by J.Marsch at 10/1/2003 5:16:33 PM
I read a little bit about control builders, but I don't exactly understand
them.
In what case would I want to use a builder as opposed to controlling how I
render a control inside of the render method?
... more >>
User control newbie question - pls help
Posted by Paul Barnett at 10/1/2003 2:28:18 PM
I have a user control with a label and a method. The webform should call
the method on the user control and populate the label. I am getting
object not set errors as soon as I try to access the label on the user
control.
A small sample of code would be greatly appreciated.
*** Sent via ... more >>
Composite Control design time behavior
Posted by J.Marsch at 10/1/2003 11:49:10 AM
I have created a composite control that combines a Label and a Textbox,
where the label appears immediately above the textbox. This seems to work
fine at runtime, but at design time, when you drop the control onto a web
form, the control appears as a tiny, empty box on the webform. I would like... more >>
|