Click here to Skip to main content
15,898,980 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.NET Gridview, bring highlighted rows to top Pin
Inderjeet Kaur18-Aug-09 23:25
Inderjeet Kaur18-Aug-09 23:25 
AnswerRe: ASP.NET Gridview, bring highlighted rows to top Pin
GSingh-Developer18-Aug-09 23:34
GSingh-Developer18-Aug-09 23:34 
GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
Inderjeet Kaur19-Aug-09 0:28
Inderjeet Kaur19-Aug-09 0:28 
GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
GSingh-Developer19-Aug-09 0:44
GSingh-Developer19-Aug-09 0:44 
GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
GSingh-Developer19-Aug-09 0:47
GSingh-Developer19-Aug-09 0:47 
QuestionRe: ASP.NET Gridview, bring highlighted rows to top [modified] Pin
Inderjeet Kaur19-Aug-09 18:24
Inderjeet Kaur19-Aug-09 18:24 
QuestionBasics........Diff between HTML controls and Standard controls Pin
Rohit Kulkarni18-Aug-09 23:21
Rohit Kulkarni18-Aug-09 23:21 
AnswerRe: Basics........Diff between HTML controls and Standard controls Pin
N a v a n e e t h19-Aug-09 0:24
N a v a n e e t h19-Aug-09 0:24 
Here is what MSDN says about HTML controls.

By default, HTML elements within an ASP.NET file are treated as literal text and are programmatically inaccessible to page developers. To make these elements programmatically accessible, you can indicate that an HTML element should be parsed and treated as a server control by adding a runat="server" attribute.

Rohit Kulkarni wrote:
if we are having standard controls.....when u double click them u r directly on aspx.cs page for coding then when to go for html and when for standard controls?


Use ASP.NET server controls always possible. Use the HTML controls with runat=server when it is absolutely necessary.

When ASP.NET server controls are used, you have very less control over how it is rendered. On the other hand, HTML controls marked with runat=server is just a mapping to the equivalent control class. For example, <input id="someid" type="text" runat="server" /> maps directly to HtmlInputText control. Designers tend to use this type because they know exactly how it is rendered.

Though I haven't used, it looks like the introduction of CSS control adapter[^] will help to control the rendering.

Smile | :)


QuestionDatetime comparison Pin
greendragons18-Aug-09 22:39
greendragons18-Aug-09 22:39 
AnswerRe: Datetime comparison Pin
dan!sh 18-Aug-09 22:46
professional dan!sh 18-Aug-09 22:46 
GeneralRe: Datetime comparison Pin
greendragons18-Aug-09 22:55
greendragons18-Aug-09 22:55 
GeneralRe: Datetime comparison Pin
Christian Graus18-Aug-09 23:19
protectorChristian Graus18-Aug-09 23:19 
GeneralRe: Datetime comparison Pin
greendragons18-Aug-09 23:23
greendragons18-Aug-09 23:23 
AnswerRe: Datetime comparison Pin
GSingh-Developer18-Aug-09 23:38
GSingh-Developer18-Aug-09 23:38 
QuestionSession Expiration while working Pin
amansaroya118-Aug-09 22:36
amansaroya118-Aug-09 22:36 
AnswerRe: Session Expiration while working Pin
padmanabhan N18-Aug-09 22:48
padmanabhan N18-Aug-09 22:48 
GeneralRe: Session Expiration while working Pin
amansaroya118-Aug-09 23:16
amansaroya118-Aug-09 23:16 
AnswerRe: Session Expiration while working Pin
Inderjeet Kaur19-Aug-09 18:10
Inderjeet Kaur19-Aug-09 18:10 
QuestionHow To Create a HTML Download Link Pin
Prasadsm18-Aug-09 22:28
Prasadsm18-Aug-09 22:28 
QuestionHow Can I retrive Client PC MAC address Pin
krishnaveer18-Aug-09 21:28
krishnaveer18-Aug-09 21:28 
AnswerRe: How Can I retrive Client PC MAC address Pin
Christian Graus18-Aug-09 21:54
protectorChristian Graus18-Aug-09 21:54 
GeneralRe: How Can I retrive Client PC MAC address Pin
krishnaveer18-Aug-09 21:59
krishnaveer18-Aug-09 21:59 
GeneralRe: How Can I retrive Client PC MAC address Pin
N a v a n e e t h18-Aug-09 22:00
N a v a n e e t h18-Aug-09 22:00 
GeneralRe: How Can I retrive Client PC MAC address Pin
krishnaveer18-Aug-09 22:04
krishnaveer18-Aug-09 22:04 
GeneralRe: How Can I retrive Client PC MAC address Pin
N a v a n e e t h18-Aug-09 22:21
N a v a n e e t h18-Aug-09 22:21 

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.