all groups > asp.net building controls > february 2005 > threads for february 15 - 21, 2005
Filter by week: 1 2 3 4
Problem Adding Controls
Posted by loureiro at 2/21/2005 6:37:06 AM
Hello,
I seem to be having a problem loading a div tag with a control. here is what
I am doing:
Dim oObjCheckBox As CheckBox = New CheckBox()
oObjCheckBox.ID = "chkTestControl"
oObjCheckBox.Text = "Test Control"
outputList.Controls.Add(oObjCheckBox)
i do this inside a sub routine... more >>
Changing HTML in the Render() method
Posted by Benton at 2/19/2005 1:10:28 PM
Hi there,
I am looking for C# code samples on how to:
1.- Get a string with the default HTML that would be rendered for a custom
control.
2.- Customize this string.
3.- Make the control render the customized HTML.
I want to customize the "HREF" part of the HTML generated for a LinkButto... more >>
Basics to extend the any control?
Posted by Vishal at 2/17/2005 6:44:12 PM
Hello
I would like to know what methods/events I have to
override to extend any webserver control. I actually need
to extend the datagrid control, but the basics should be
same for all, right? What are the basic required events,
which I have to insert for each control? I have never
cre... more >>
Collections as properties?
Posted by Paul Louth at 2/17/2005 4:40:35 PM
Hi, I'm creating my own custom web-control called Table, with a collection
of my own custom 'Column's as a property:
[ToolboxData("<{0}:Table runat=server></{0}:Table>")]
public class Table : System.Web.UI.WebControls.WebControl
{
...
[Bindable(true)]
public ColumnCollection Co... more >>
DataGrid.Column.Count is empty?
Posted by SK at 2/17/2005 1:44:07 PM
Hello,
I have created my own datagrid control, derived from
datagrid. Now my webform uses this datagrrd and calls the
ItemDataBound method, which then SHOULD loop through the
columns, but it always shows me that the columns count is
0. Although I can see several columns in the webbrows... more >>
Derive OnItemCreated
Posted by SK at 2/16/2005 4:02:12 PM
Hello,
i have created my own datagrid control derived from the
datagrid control. Now I would like to override the
OnItemCreated method. But I dont get how I can do that.
Can somebody help me out?
Thanks
... more >>
Building a non-databound custom template and accessing it's properties
Posted by Geoffrey Gallaway at 2/16/2005 5:39:52 AM
Hello,
I've built a custom control (inherits from WebControls.Repeater) with a
custom template. The intention is to make a custom paging repeater. The
repeater would be controlled via LinkButtons that would be inside the
custom template. I want to do something like this in the aspx files
that... more >>
Strange button behaviour
Posted by ByB at 2/15/2005 11:19:49 PM
Hello,
I created an ASPX page with some buttons on it, but one of them is
reacting in a strange way :
In design mode, if i double click on it, it takes me to the
corresponding OnClick method. But if I put a breakpoint on this method,
when i work in debug mode and clicking on this button, i... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Creating a panel with a collection property -- NEED HELP
Posted by Nicolas LeBlanc at 2/15/2005 3:36:36 PM
Hello everybody,
I've been working lately on making my own tabstrip control because I =
couldn't find anything that works the way I want it. But now I have a =
problem, because I have a "Tabs" property which is the collection of =
tabs inside my control, I'm no longer able to add controls insi... more >>
Really Creating dinamically Web Controls
Posted by Cesar Garcia H at 2/15/2005 1:57:41 PM
Hi everyone.
I'm developing a custom control and i'm having some problems. Here goes
the figure :
I have a N level tree structure, and I have to show the first level in a
DropDownList. When the user selects one option of the first
dropdownlist, the page has to show another dropdownlist, ... more >>
hide component from toolbox
Posted by Naveen Kohli at 2/15/2005 9:45:03 AM
I have a control assembly which contains the my custom web control. In the
same assembly I have few classes that implement IComponent interface. I need
this interface for my classes. When I add the assembly to toolbox, every
single class that implements IComponent interface shows up in the toolbo... more >>
HELP: Where is the asp.net web based control designer???
Posted by inetmug at 2/15/2005 7:57:08 AM
What namespace is it in?
--
Patrick... more >>
CreateChildControls and Exception Failed to Load ViewState
Posted by Craig at 2/15/2005 6:53:04 AM
Hi
I've been struggling with this problem for several days now, pretty much out
of ideas...
I have n number of xml files each defines what server side control to to
render inside my custom web control (composite). The OnInit of my web
control parses the xml files creating a collection o... more >>
Adding Datasource Property
Posted by Steven W at 2/15/2005 4:23:05 AM
I need help with how to add a DataSource property to a composite control and
then how to assign that property to the datasource of a datagrid.
Thanks... more >>
|