all groups > asp.net building controls > november 2004 > threads for november 15 - 21, 2004
Filter by week: 1 2 3 4 5
Determine width for label or button
Posted by Leo at 11/21/2004 5:35:16 PM
Is there any way to determine the width needed for a web.ui.label or
web.ui.button based on it's .text and .font properties? I know you can do
this with windows.form controls but how could it be done for server
controls.
... more >>
Detecting design mode in custom control
Posted by Naveen Kohli at 11/21/2004 11:58:37 AM
Is it pretty safe to assume that if Context is null, then its design mode?
if (null == this.Context)
{
return true;
}
Naveen Kohli
http://www.netomatix.com
... more >>
Debugging designer control
Posted by Serg at 11/18/2004 7:35:05 PM
Hello,
in winforms, how do I debug a control (i.e. when it is being added and when
its properties are being modified by the client window)?
Thanks a lot... more >>
Book on Designers?
Posted by Serg at 11/18/2004 5:59:03 PM
Hello
Please recommend a good book on developing custom user controls using
Designer namespace, exposing properties, events, ect... NOT a book explaining
..NET fundamentals, but rather an in-depth coverage with examples in C#.
I am mostly interested in doing this for WinForms, but I didn't ... more >>
DataGridCommand does not bubble?
Posted by Sergio Florez M. at 11/18/2004 2:59:23 PM
I'm creating a control which has a Button and a DataGrid among other things.
I have overwritten the OnBubbleEvent() method to capture the Button's click
event and it works fine. I also want to do this to capture a click on a
ButtonColumn in the grid, but OnBubbleEvent() is never fired when I clic... more >>
how to get form id in a composite control?
Posted by Robin Lilly' at 11/18/2004 1:21:16 PM
Hi,
I have a composite control that I need to reference the form id to build
some javascript that I am pushing out several places, such as:
_Anchor.Attributes.Add("OnClick", "JavaScript:popUpCalendar(this, document."
& _formId & ".elements['" & _TextBox.UniqueID & "'], ""m/d/yyyy"")")
... more >>
Extending datagrid with new/insert button
Posted by Manuel Trunk at 11/17/2004 5:29:10 AM
Hi,
I try to develop a server control which inherits from DataGrid and adds a
new/insert button to this grid. This is no problem, but I can't get the event
fired from this new button.
I tried everything, implementing INamingContainer and IPostBackDataHandler,
added the button to the footer... more >>
ASP.NET 1.1: Page vs. Control events
Posted by Ole Hanson at 11/16/2004 6:19:39 PM
Hi
I am having a number of User Controls (ascx) on my page (aspx).
The page is in my scenario only working as a dumb "container "giving life to
the Controls, as these are handling my UI-logic and communicating with each
other (the controls are communicating) by subscribing to each others event... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Directing Domains
Posted by Andrew Bonney \(abweb\) at 11/16/2004 6:15:27 PM
Hi,
I have never used ASP in my life so I NEED HELP!!!
I have heard it is possible to create an asp script that when someone
connects to a web server from the a domain (say www.mydomain.com), the asp
script reads the domain/subdomain in the address bar and the locates the
correct folder fo... more >>
User Control Populate Form after Log On - newbie question
Posted by keith at 11/16/2004 11:13:07 AM
Hi,
I have a user control that contains a login element, textboxes for username
and password, and a button to submit, which appears in the header of each
page in my asp.net application. All of the below is done with code behind.
When the user correctly logs on, it sets a public property bL... more >>
Building Nested Controls
Posted by Gaurav Vaish at 11/16/2004 10:54:46 AM
Hi,
I want to have a control that can have children like:
<prefix:Parent ... runat="server">
<Children>
<prefix:Child .... runat="server"/>
</Children>
</prefix:Parent>
When I try to launch the page, it gives me error that:
"Children" does not have a property ... more >>
|