Questions tagged [servercontrols]

A server control in classic ASP.NET is a component that dynamically renders a segment of markup to the client. Controls can be written in markup or coded, and can be bound to data and participate in different phases of the ASP.NET request-handling lifecycle. Out-of-box examples range from the simple (CheckBox which wraps the HTML input checkbox) and more complex (GridView which can be bound to various data sources and has built-in paging and sorting).

213 questions
0
votes
2 answers

Inject HTML to server control

How do you inject HTML to a server control? I'm creating a calendar control and have some javascript/css that go with it. In addition, I have some html code that gets generated with the proper ClientIDs that work with the JS/CSS and I would like to…
LB.
  • 12,272
  • 21
  • 60
  • 99
-1
votes
2 answers

Attach RequiredValidator on custom server control rendering a TextBox

I don't know whether this is really possible, but I'm trying my best. If I have a (complex) custom server control which (beside other controls) renders a TextBox on the UI. When placing the server control on a page, would it be possible to attach a…
Juri
  • 30,146
  • 17
  • 97
  • 132
-2
votes
1 answer

Create customizing dropdownlist in asp.net / c #

I am beginner in asp.net and c # and I came across a request for creation of a component shown in the link. Really do not know how to do this, nor where to start. There is a component of this type existing in the standard suite of asp.net like a tip…
Elton da Costa
  • 1,188
  • 14
  • 26
1 2 3
14
15