Click here to Skip to main content
15,891,529 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: CSS styles cease to be visible in ASP.NET development server Pin
Chesnokov Yuriy30-Aug-09 22:20
professionalChesnokov Yuriy30-Aug-09 22:20 
GeneralRe: CSS styles cease to be visible in ASP.NET development server Pin
Abhishek Sur31-Aug-09 22:46
professionalAbhishek Sur31-Aug-09 22:46 
AnswerRe: CSS styles cease to be visible in ASP.NET development server Pin
Chesnokov Yuriy1-Sep-09 1:37
professionalChesnokov Yuriy1-Sep-09 1:37 
GeneralRe: CSS styles cease to be visible in ASP.NET development server Pin
Abhishek Sur1-Sep-09 9:38
professionalAbhishek Sur1-Sep-09 9:38 
GeneralRe: CSS styles cease to be visible in ASP.NET development server Pin
Chesnokov Yuriy30-Aug-09 10:21
professionalChesnokov Yuriy30-Aug-09 10:21 
QuestionComponents Pin
Matt Cavanagh29-Aug-09 21:42
Matt Cavanagh29-Aug-09 21:42 
AnswerRe: Components Pin
Abhijit Jana29-Aug-09 22:11
professionalAbhijit Jana29-Aug-09 22:11 
AnswerRe: Components Pin
Abhishek Sur30-Aug-09 2:22
professionalAbhishek Sur30-Aug-09 2:22 
roguemat wrote:
Can an ASP server control have normal HTML elements?


Yes. Actually when you are using ASP.NET server control, its main motive is to generate HTML which is understood by the browser. It generates HTML just which is written in its Render Method. You can easily create a custom web control, and override the render method to generate your own html.


roguemat wrote:
I need to have controls that just run Javascript functions.


If you really want to run a javascript, you can directly write this on the page. Or you can use RegisterStartupScript function.. No need to write a server control for that.


roguemat wrote:
Or is that what an ASP ajax server control is for?


ASP.NET ajax server controls are those which renders a combination of HTML and Javascript which gives you partial update functionality. If you consider UpdatePanel, it creates a new form element using javascript, copies all the elements(including viewstate) in that form and then submits it, when you call for server. You can use Fiddler to see what is in request when you call server through update panel.

Thus in one word :
You can use ASP.NET server control to create normal HTML, Normal JAVASCRIPT, CSS, HTML etc. (or combination of all). Validators, scriptManager create only javascript in the page while TEXTBOX, DROPDOWN creates only HTML elements.

Hope you got the idea clearly.Rose | [Rose]

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

GeneralRe: Components Pin
Matt Cavanagh30-Aug-09 3:01
Matt Cavanagh30-Aug-09 3:01 
GeneralRe: Components Pin
Abhishek Sur30-Aug-09 3:10
professionalAbhishek Sur30-Aug-09 3:10 
QuestionDoubt regarding SqlCommand object Pin
nagendrathecoder29-Aug-09 20:16
nagendrathecoder29-Aug-09 20:16 
AnswerRe: Doubt regarding SqlCommand object Pin
Manas Bhardwaj29-Aug-09 21:13
professionalManas Bhardwaj29-Aug-09 21:13 
GeneralRe: Doubt regarding SqlCommand object Pin
Inderjeet Kaur30-Aug-09 21:24
Inderjeet Kaur30-Aug-09 21:24 
QuestionHow to run multiple audio files in asp.net Pin
bashasayed29-Aug-09 18:13
bashasayed29-Aug-09 18:13 
AnswerRe: How to run multiple audio files in asp.net Pin
Abhishek Sur30-Aug-09 2:29
professionalAbhishek Sur30-Aug-09 2:29 
Questionproblem when upload my site Pin
BESHOY MARKO29-Aug-09 14:46
BESHOY MARKO29-Aug-09 14:46 
AnswerRe: problem when upload my site Pin
Not Active29-Aug-09 17:13
mentorNot Active29-Aug-09 17:13 
AnswerRe: problem when upload my site Pin
Abhishek Sur30-Aug-09 2:27
professionalAbhishek Sur30-Aug-09 2:27 
AnswerRe: problem when upload my site Pin
Shuaib wasif khan30-Aug-09 14:44
Shuaib wasif khan30-Aug-09 14:44 
QuestionItemCommand not firing Pin
Chazzysb29-Aug-09 9:42
Chazzysb29-Aug-09 9:42 
AnswerRe: ItemCommand not firing Pin
Abhishek Sur29-Aug-09 9:52
professionalAbhishek Sur29-Aug-09 9:52 
GeneralRe: ItemCommand not firing Pin
Chazzysb29-Aug-09 9:59
Chazzysb29-Aug-09 9:59 
GeneralRe: ItemCommand not firing Pin
Abhishek Sur29-Aug-09 10:31
professionalAbhishek Sur29-Aug-09 10:31 
GeneralRe: ItemCommand not firing [modified] Pin
Chazzysb29-Aug-09 12:15
Chazzysb29-Aug-09 12:15 
AnswerRe: ItemCommand not firing Pin
Chazzysb30-Aug-09 0:59
Chazzysb30-Aug-09 0:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.