all groups > asp.net building controls > march 2007
Composite Control need write permisson
Posted by manikal at 3/28/2007 8:04:11 AM
I've just finished building my composite control, it is image gallery
that generates thumbnails from images in specified folder and creates
new folder in which generated thumbnails been saved.
For my control to operate correct in hosting environment in IIS -
Directory Security "Integrated Wind... more >>
Composite control listbox SelectedIndexChangedEvent not firing
Posted by studen771 at 3/27/2007 7:07:31 PM
Thanks in advance to anyone who can help :)
I have a listbox within a composite control whom I want to capture the
SelectedIndexChanged event. I expose the listboxes 'AutoPostBack' property
and set it to true so this event can happen.
**The listbox does successfully perform post backs to t... more >>
Inherit ListItem?
Posted by Samuel at 3/27/2007 7:02:14 PM
Hi,
I am interested in creating a ListItem like control that has the ability to
persist its AttributeCollection in ViewState, in addition to the Text and
Value properties.
However, ListItem is not Inheritable, so what am I do to create such control?
How does ListItemControlBuilder work... more >>
The IButtonControl interface and validation
Posted by Mark at 3/27/2007 6:58:48 PM
Hi,
Could some-one provide an example implementation of the CasuesValidation and
ValidationGroup properties that one should implement when using the
IButtonControl interface?
I have a custom control which implements this interface and provides the
required properties but does not fire th... more >>
CompositeDataBoundControl and "Failed to load viewstate"
Posted by Samuel at 3/21/2007 6:25:21 PM
hi,
I am new to this CompositeDataBoundControl, and I have an issue with loading
viewstate on Postback. The error message is as follows:
"failed to load viewstate. The control tree into which viewstate is being
loaded must match the control tree that was used to save viewstate during the ... more >>
TypeConverter for ArrayList
Posted by news.microsoft.com at 3/20/2007 4:36:40 PM
Hi,
I'm trying to write TypeConverter which converts ArrayList to a
comma-separated string and back which can be stored in the attribute of
control's tag. In simplified form I have a property:
private ArrayList _test;
[DesignerSerializationVisibility(DesignerSerializationV... more >>
Data binding to a CompositeControl
Posted by intrader at 3/14/2007 1:37:09 PM
I am very new at using the CompositeControl or CompositeDataBoundControl
and at DataBinding in general
My requirement is that I would like to declaratively tell my control to
bind to a specific instance of a class; the control then looks at the
metadata held in the instance to provide the a... more >>
[AJAX] custom control implementing IScriptControl : no key events notification in firefox
Posted by Patrick Ruzand at 3/13/2007 4:11:54 PM
Hi,
I have written a very simple custom control that renders itself as a DIV.
This custom control implements the System.Web.Extensions.IScriptControl
interface.
Here is an extract of the server code:
public partial class MyControl : UserControl, IScriptControl
{
public override void ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
multiple selection in listbox
Posted by Arvid at 3/13/2007 9:10:23 AM
I would like to select and use multiple records in a listbox .
Is this possible?
I use ASP.NET 2.0, VS2005
--
regards,
Arvid... more >>
how to show multiple fields in a listbox?
Posted by Arvid at 3/13/2007 9:08:03 AM
I have a listbox that is filled with data from a database, but only one field
shows.
Is it possible to show more fields in a listbox?
regards,
Arvid... more >>
Adjusting the Design Time output of control derived from a TextBox
Posted by mc at 3/12/2007 12:00:00 AM
I have developed a custom control that derives from a TextBox, During
the controls OnInit method I have hard coded the TextMode to MultiLine,
however when the control is rendered at design time it only ever renders
as a single line Text Box, Is there a simple solution to this or do I
need to... more >>
Removing a property from a custom control derived from TextBox
Posted by mc at 3/10/2007 5:33:31 PM
I have created a Custom control which automatically grows a TextBox to
fit the text that is being entered, consequently this control must be a
MultiLine TextBox. I would like to remove the "TextMode" Property, the
closest I have achieved so far is to change the property to a Get only one.
I... more >>
Removing Assembly Page Directive Attribute
Posted by larry at 3/10/2007 11:33:13 AM
Hi,
I was trying to create a very basic custom control that simply outputs
a literal string and the and date. After creating the custom control
class, I referenced the custom control in a webpage. When I added the
following an attribute "Assembly" in the page directive which I
assumed would... more >>
TreeView in server control throws errors...
Posted by cageman at 3/7/2007 5:08:31 PM
Hello All,
What is the proper way to add a TreeView, with child nodes, to a server
control?
I was getting two errors. The first was quickly resolved by setting the
SkipLinkText = String.Empty;
The second one, however, doesn't appear to be as straight forward. When you
envoke the Ren... more >>
Why can't user controls be compiled into DLL and shared with other web applications
Posted by Matt Adamson at 3/5/2007 2:10:48 PM
Guys,
Does anyone know the technical reason why user controls couldn't be compiled
into an assembly and shared with other web applications.
If the ASP.NET compiler can compile the user control pages at runtime into
an assembly then why couldn't this be compiled and then shared with other
... more >>
Decorating Derived Page Classes with Custom Attributes
Posted by Mark Olbert at 3/3/2007 7:55:34 AM
I've created a couple of custom class attributes to decorate derived Page classes in my ASPNET application. To access them, I use
the following pattern:
[CustomAttribute(some stuff)]
public partial class DerivedPage : BasePage
{
}
public class BasePage : Page
{
public BasePage()
{
... more >>
|