all groups > asp.net building controls > october 2007
Property Browser not displaying my Description attribute
Posted by Nathan Sokalski at 10/29/2007 12:37:29 PM
I have added Description attributes to several of my Control's Properties,
but they are not appearing in the Property Browser. Here is the declaration
of my Property:
<System.ComponentModel.Description("ID of the control that determines
whether validation will occur")> _
Public Property ... more >>
How to add Style property to User Control
Posted by Steve Trandahl at 10/29/2007 10:17:01 AM
I am trying to add a simple Style property to our base User Control. Even if
I add it as a simple string type, I get the error "Operation GetValue on the
component did not succeed, generating the error code 0x80020005." in the
property window for the property. It seems to be indicating a type ... more >>
"The type has no constructors defined"?
Posted by Dave at 10/26/2007 9:00:06 AM
I'm trying to inherit from the following in my class, but I get:
The type 'System.Web.Services.Protocols.WebClientAsyncResult' has no
constructors defined
Not sure exactly what this means? Does it mean the class cannot be
inherited?. Dave.... more >>
Custom Controls on x64
Posted by Leslie at 10/23/2007 3:37:03 PM
I have developed a Windows Forms Control (WFC) which is used in a web page.
The control is developed in C# using the 2.0 framework and the control
invokes a dll that is written in C++. I reference the WFC using the following
syntax:
<object id="SmsInfo" height="1" width="1"
classid="http:Sm... more >>
Getting inputype Checkbox values without ID
Posted by Mansi Shah at 10/21/2007 11:15:43 PM
Hi,
I have used a literal control in my form and it's text is generated
dynamically. It has all the products with checkboxs. Now i want all the
values of products, the user have checked.
Can anybody tell how can i get values of dynamically genereated(input
type="Checkbox") control's value... more >>
The properties web controls
Posted by Joennacha at 10/18/2007 4:06:04 PM
How can I to convert a data String to Properties of de controls?
example:
dim prop as String="Visible"
textbox1.prop="true"
can this become ?
Thanks
... more >>
Inheriting from User Control
Posted by Vikas Manghani at 10/14/2007 9:28:00 AM
Hi
I have a base user control that is inherited from System.Web.UI.UserControl.
It has a single button on it. I want to derive few other controls from this
base user control.
I am using Visual Studio 2005 (ASP.Net 2.0). But its not as simple as
setting the right base classes for the code be... more >>
Https errors in IE7 for WebResouce requests.
Posted by Chuck P at 10/11/2007 2:01:00 PM
If I create a control which uses an embedded image and then put in on an
HTTPS request IE complains about having secure and nonsecure items.
The code is:
protected override void RenderContents(HtmlTextWriter writer)
writer.AddAttribute(HtmlTextWriterAttribute.Src,
Page.ClientScript.G... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
CompositeControl fails to display in Design view
Posted by MC at 10/11/2007 1:07:47 PM
I'm getting the following error messages when I view my
ComposisteControl in design time mode.
"Error Rendering Control - <My Control Name>"
"An unhandled exception has occurred
Object reference not set to an instance of an object"
The Control is as follows: -
public class Tracked... more >>
Repeater in Server Control
Posted by Joe C at 10/2/2007 4:18:00 AM
Does anyone know how I can use a repeater in a server control? This means I
do not want to have an ascx file. I am particulairly stuck with setting the
ItemTemplate property of the Repeater in the code behind.
thanks,
Joe C
--
www.xcomplica.com... more >>
|