I know how to create a custom control by using the Render method. the
question is, if I have 2 properties, for example:
protected override void Render(HtmlTextWriter output)
{
output.Write("<input type=text name=" + this.UniqueID + " ");
output.Write("value=" + this.value + " text=" + ...
more >>
Hi,
I have a very weird problem with a control that I'm trying to build
now.
I'm having two dropdownlists controls (ASP.NET) where the primary one
hold the categories and is populated when the page is loaded, and the
second one is populated depend on the value selected in the first one.
To...
more >>
I create simple control.
namespace DatePick
{
[DefaultProperty("Text")]
[ToolboxData("<{0}:DatePick runat=server></{0}:DatePick>")]
public class DatePick : TextBox
{
[Bindable(true)]
[Category("Appearance")]
[DefaultValue("")]
[Localizable(true)]
public string Text
{
g...
more >>
I want to dynamically add a stylesheet using <style type="text/css"></style>
tags. The code that will use this stylesheet will be shared, so I will not
have control over what the user does as far as stuff like adding
runat="server" and id="someid" attributes to the <head> tag of their .aspx
...
more >>