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
3 answers
Response.Write not working inside server control property?
I am not sure why this is not working.
I just want to combine two resource string as text of label?

Lalit
- 4,897
- 7
- 32
- 36
0
votes
3 answers
ASP.NET: Mixing server controls with client controls?
Can anyone help?
I normally use server controls i.e Textbox so i can get access to the server side event.
But what if i don't need access to the server side event and i am going to place some jquery or javascript on the textbox for example.
Can i…

Martin
- 23,844
- 55
- 201
- 327
0
votes
2 answers
HTML button onserverclick is not working in asp.net
I had a problem in the event onserverclick. I have created an HTML server-side button "btnsubmit" in tab_1:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="Skripsi.Home" %>
…

Hendrick Wijaya
- 47
- 1
- 2
- 11
0
votes
2 answers
server control onclick error
I am using a datalist inside which I have defined an itemtemplate. I am using asp:LinkButton inside this itemtemplate. I have used an OnClick="methodname" in this linkbutton tag. I have the corresponding mehtodname defined in my code behind, However…

zack
- 7,115
- 14
- 53
- 63
0
votes
1 answer
ASP .NET Event Wire-Up for tag (not asp:button or server link)
Here is what I want to do. Use this HTML line and have the ASP .NET server-side deal with the onclick event.
I don't want to use nor do I want to use an anchor tag which would both allow me to capture the server-side successfully.
I want to use…

Dan7el
- 1,995
- 5
- 24
- 46
0
votes
1 answer
Issues creating an inherited button that can cancel a submit (ASP.NET)
There are no errors with my Javascript. The Javascript returns false, and the form is submitted. Additionally when setting UseSubmitBehavior to false the form still submits. What am I missing to prevent the form from being submitted?
//…

Erik Philips
- 53,428
- 11
- 128
- 150
0
votes
1 answer
ASP.NET searchable dropdownlist server control with selectedindexchanged
I am creating an ASP.NET/VB.net web application. I'm looking for a (preferably FREE) searchable dropdownlist server control that I can easily incorporate into my various ASP.NET applications.
I have been searching online and found several solutions…

WebDevGuy2
- 1,159
- 1
- 19
- 40
0
votes
1 answer
Deal with the different size images while getting from server in different mobile dimensions?
I am working on the project in which i make the call to server and getting the information including pictures. I also have to support different dimensions of mobile and tablet. In this case, I am doing in such a way that
I am getting the mobile…

Android007
- 155
- 11
0
votes
5 answers
Creating custom server control to accept user input
I am trying to build a server control that, depending on a "QuestionTypeId" display either a text box, date picker or Yes-No radio buttons.
I have my control displaying how I want it to, but when the submit button is pressed on the form, the text…

Richard Priddy
- 31
- 4
0
votes
2 answers
ASP.NET server controls overview
I am looking for a chart overview of the different server control classes. I have seen it once somewhere but can not locate it anymore. Can someone please provide me with a link?

Nyla Pareska
- 1,377
- 6
- 22
- 37
0
votes
2 answers
asp.net server controls
Okay i have a custom server control that has some autocomplete settings, i have this as follows and it works fine.
///
/// Auto complete settings
///
[System.ComponentModel.DesignerSerializationVisibility …

Richard Friend
- 15,800
- 1
- 42
- 60
0
votes
1 answer
Cannot Fetch Text Property for Dynamically Generated Textboxes c#
I create a DIV that runs on the server and then dynamically create and add TextBox controls to that DIV. Later when I try to read the Text property of each TextBox in DIV I cannot get the controls...
How do I accomplish this?
DIV that runs at…

ѺȐeallү
- 2,887
- 3
- 22
- 34
0
votes
1 answer
Creating an ASP.Net Templated Server control
I want to be able to do something like this
The idea being here is that the only acceptable…

Remotec
- 10,304
- 25
- 105
- 147
0
votes
3 answers
how to remove case sensitivity in ASP.Net Query Extender data field search?
I applied a query extender to my text box for three fields. Its Working but it is case sensitive. e.g. if a username field is having a name "AWAIS" and i search for "awais" , it does not search and vice virsa. How can i remove sensitivity ?
My Code…

Awais Alvi
- 29
- 1
- 8
0
votes
1 answer
How to set visibility on public property in VB.NET
I am maintaining some old code, I am a c# developer.
We have a usercontrol with a tablecell that I want to hide with my code on my other aspx page. It is reference and all that good stuff.
But how do you write a property to set visibility in…

M H
- 2,179
- 25
- 50