all groups > asp.net building controls > march 2005 > threads for march 1 - 7, 2005
Filter by week: 1 2 3 4 5
Composite Web Custom Control derived from DataGrid
Posted by SRGTech_Max at 3/7/2005 10:07:07 AM
Hello
I am a beginner at creating composite web controls. What I am trying to do
it add functionality to the DataGrid webcontrol by adding two dropdowns, a
textbox and two buttons to it (for search-capabilities)
I have created a new class (DataGridFilter) derived from DataGrid
e.g. pu... more >>
Extending Calendar to add Day Click Event
Posted by nileblitz NO[at]SPAM gmail.com at 3/7/2005 6:06:00 AM
Hello,
I am trying to extend the Calendar Control to add a event for a Day
Click.
Currently we have a "SelectionChanged" event.
I would like an event to be fired on "DayClick"
I extended the calendar control and added the following
//
public event EventHandler DayClick;
protected void ... more >>
Controls inheriting ListControl will not fire in UserControl
Posted by Chris Glenn at 3/6/2005 11:11:01 AM
I ran into a problem when building some usercontrols. I am using a
dropdownlist and radiobuttonlist and setting the AutoPostBack = "True". I add
sub routines to handle the selectedindexchanged event. Neither of them fire.
All of my other controls fire no problem.
They post back but it will no... more >>
List of Checkboxes
Posted by Tony at 3/6/2005 5:35:06 AM
How would I create a list control containing checkboxes in ASP.Net
TIA... more >>
Implementing postback functionality in custom control
Posted by Showjumper at 3/5/2005 4:38:06 PM
Here is my situation. I first made a custom composite control (consisting of
a textbox and button) that does a whois lookup based on the domain name
entered in the textbox. Getting the lookup sub to fire in the composite
version is not a problem b/c all i do is add AddHandler LookUp.Click,
Addr... more >>
DataGrid subclass - design time problem
Posted by Jay at 3/4/2005 11:00:31 AM
I created a custom control which is a simple subclass of the DataGrid. I
wanted to display a message when the DataSource is empty. Right now I am
assuming the datasource is a datareader.
The problem is in design mode. I get the error "Error in displaying...".
This is caused by the DataSo... more >>
Description of property
Posted by simon at 3/4/2005 9:32:25 AM
I have simple question.
I build user control with property:
Public Property clickFill() As Boolean
Get
Return _clickFill
End Get
Set(ByVal Value As Boolean)
_clickFill =3D Value
End Set
End Property
Where in this code I put the description of pro... more >>
I'm new to classes, why isn't this working?
Posted by David Lozzi at 3/4/2005 8:48:28 AM
Hey,
Trying to build a simple class to pull data from the web.config file. Here's
what I have
in common.vb
Imports System.Configuration
Public Class CommonFuncts
Public Property ConnectionString() As String
Get
Return ConfigurationSettings.AppSettings("Connecti... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ListBox PROBLEM in User control
Posted by Pierre at 3/4/2005 4:05:04 AM
Hello,
I'm trying to develop a simple Web User Control that contains two list
boxes, Add and Remove buttons. This User Control transfers the selected
items from left list box to right list box and vice-versa, depending on the
button clicked. The SelectionMode of both list boxes is "Multi... more >>
Performance wise whats better?
Posted by Showjumper at 3/3/2005 1:36:26 PM
With respect to performance, whats better - using the the utility methods of
HtmlTextWriter to render the control or to use
Dim inputa As New TextBox
Dim butt As New Button
inputa.RenderControl(wr)
butt.RenderControl(wr)
As i understand it direct render via the utility methods is better be... more >>
RegisterClientScriptBlock does not work from a server control
Posted by Cameron Eckman at 3/3/2005 10:29:10 AM
For some reason I cannot get RegisterClientScriptBlock to render a script
reference on the page from a server control. Yes, I have not placed the code
in the Render method, I also tried the OnInit just in case. Below is the a
simple version of the code, any help is appreciated:
namespace ... more >>
Embedded dll in html page
Posted by Andrew at 3/3/2005 9:25:02 AM
Hi,
I've tried creating a very basic class library. It has one object and one
property. The property returns always the same string value. I then use the
<OBJECT> tag to embed the dll in my page. The dll and html sit in a root
directory on my IIS 6 server. Code is below:
namespac... more >>
Viewstate problem
Posted by Code Scorpio at 3/2/2005 2:08:00 AM
Hi all,
I'm developing a custom control that renders a calendar in a html table. (in
C#)
Let me tell first that is not <asp:calendar> builtin control.
To change the current week (weekly view of the calendar), i've added two <a>
html elements with a code like this :
_render += "<a title='... more >>
Why cant i send text to my usercontrol?
Posted by Mange at 3/1/2005 11:37:01 PM
I have med the most simple usercontrol with one textbox.
Just for testing and to learn more about usercontrols.
The problem:
I want to put text into my usercontrol texbox and read from it but its never
there when i want to acces it.
Help me with a small example.... more >>
RenderChildren/ParseChildren
Posted by recoil NO[at]SPAM community.nospam at 3/1/2005 7:37:23 AM
I am having a slight problem. Below is something similar to what I want to
appear in the asp.net
<cc2:WebCustomControl1 id="WebCustomControl11" runat="server">
<FillList CommandName="asfsadf" ParameterName="sdafas" >
<ParameterNames>
<System.String Length="6">sda... more >>
|