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).
Questions tagged [servercontrols]
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.
- 13,730
- 24
- 67
- 102
-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
- 32,424
- 20
- 102
- 136
-1
votes
1 answer
I am making a discord bot to turn on and off the aternos Minecraft server
I got bot.js from chatgpt and I'm using node v20.3.0 however I get this error about intents
error:
PS C:\Users\joe\node_modules\discord.js> node bot.js
C:\Users\joe\node_modules\discord.js\bot.js:8
const intents = new Intents();
…