all groups > asp.net building controls > november 2004 > threads for november 1 - 7, 2004
Filter by week: 1 2 3 4 5
Error: Webcontrol must have items of type X. SubLinks is of type Y
Posted by ~~~ .NET Ed ~~~ at 11/7/2004 5:16:42 PM
Hi,
I have made a web control that has two sorts of items. The first is the
Links property that has a persistence attribute of InnerProperty, the other
is SubLinks with the same attribute. Both are of the same collection type.
The control has its own designer class (although it doesn't render... more >>
maintain viewstate in listboxes
Posted by DC Gringo at 11/6/2004 7:49:56 PM
I have an asp.net vb page with two web user controls on it. The first user
control, uc1.ascx has a series of list boxes that are populated in series by
each other with ONSELECTEDINDEXCHANGED.
In the second control, uc2.ascx, lower down on the page, there is an
imagebutton. When the imagebutt... more >>
How to access values entered in User control in the main page.
Posted by vineetbatta at 11/6/2004 3:30:02 PM
Hi Guys,
i have a user control which allows the user to enter Name& Address in text
boxes.
I use the same user control in the main page...
Is there a simple way of accessing the Name & address entered in the text
boxes of the user control in the main page(Page hosting the user control ... more >>
Control and Parent
Posted by Zürcher See at 11/5/2004 4:07:25 PM
The Control class has the Parent property that is readonly.
When the control is added to a controls collection of another control the
Parent property refers to that control.
"Who" set the Parent property? How to implement this "mechanism"?
public abstract class MyControl
{
private MyCont... more >>
Editcommancolumn in datagrind in asp.net
Posted by venkat_chellam NO[at]SPAM yahoo.com at 11/4/2004 7:19:12 AM
I have a question.
I have datagrid in asp.net page. grid will be loaded some information
on page load. One column of the grid is editcommandcolumn type with
edit, update and cancel options.
I don't want the edit button(linktype) to be enabled for all the rows.
Bases on some information, ed... more >>
Configuration
Posted by Paul Ledger at 11/4/2004 1:52:07 AM
I've written a control and I want to be able to pass certain information to
it via a configuration file. I've created the config using the namespace +
dll + config and I've placed it in the bin directory on the website. But when
it comes to reading the information from the file using...
str... more >>
HowTo: Dynamically Add Custom Controls?
Posted by David Freeman at 11/4/2004 12:54:41 AM
Hi There!
I'm having trouble dynamically adding custom controls. My custom controls
does not use code-behind but only <script /> block for programming. So as a
result, I don't need to compile my custom controls to dll for them to work.
But I wonder, if I don't compile to dll, can I still d... more >>
Page Load vs Page PreRender
Posted by mhancock NO[at]SPAM jcpenney.com at 11/3/2004 5:03:33 AM
We have a custom control that is a dropdown list extended. We have put
code in the SelectedIndexChanged Event to run a query against a
database to load a new list. This control is used to move up/down a
hierarchy data structure.
We are using this control on a Web Form to tell us which data to... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
2 onlick events?
Posted by DC Gringo at 11/2/2004 5:08:29 PM
I have a clickable image that I would like to convert into a server control
imagebutton accessing a server-side onClick event and a client-side
javascript onclick event as well. Is this possible? How can I invoke both
the client side javascript event and the server side VB?
Here's what I sta... more >>
Custom Control that accepts Inline Code
Posted by JWhitted at 11/1/2004 11:54:08 AM
I created a control which parses its sub objects and wraps the code in an
HTML wrapper. For example:
<abc:Section ID="Section1" Runat="server" Title="Example">
<p>This is an example.</p>
<p>This is an example.</p>
</abc:Section>
When the above example is rendered to HTML it appears as fo... more >>
collapsible panel?
Posted by ColinRobinson at 11/1/2004 7:52:23 AM
anyone done a collapsible panel in VB by inheriting the ASP:panel control I
need to create one. A server side collapse would be fine but obviously i
prefer client side collapse I have no idea how to do this and time as always
is not on my side.
Some code in Vb would be great but I'll readil... more >>
How can a control inject a style (or javascript reference) in the page HEADer?
Posted by ~~~ .NET Ed ~~~ at 11/1/2004 2:09:07 AM
That is the question indeed!. It is not the first time I make some sort of
web control that depends on some
CSS styles. Usually one would go around using the CssStyle property of the
HTML markup to do some
inline styles. But my situation is that these styles I need:
a) are a little too big to... more >>
|