Click here to Skip to main content
15,902,276 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: JRE test Pin
Subin Mavunkal27-Oct-09 18:50
Subin Mavunkal27-Oct-09 18:50 
Questionmailing functionality in my website Pin
Hemant Thaker26-Oct-09 20:37
Hemant Thaker26-Oct-09 20:37 
AnswerRe: mailing functionality in my website Pin
N a v a n e e t h26-Oct-09 20:38
N a v a n e e t h26-Oct-09 20:38 
GeneralRe: mailing functionality in my website Pin
Hemant Thaker26-Oct-09 20:57
Hemant Thaker26-Oct-09 20:57 
QuestionRe: mailing functionality in my website Pin
Hemant Thaker26-Oct-09 21:02
Hemant Thaker26-Oct-09 21:02 
AnswerRe: mailing functionality in my website Pin
Abhishek Sur26-Oct-09 22:51
professionalAbhishek Sur26-Oct-09 22:51 
QuestionHow to get HTML controls in code behind Pin
Inderjeet Kaur26-Oct-09 20:36
Inderjeet Kaur26-Oct-09 20:36 
AnswerRe: How to get HTML controls in code behind Pin
deezZ26-Oct-09 21:39
deezZ26-Oct-09 21:39 
Hi
There are two things you have to do.

(1) Edit the HTML code to include the attribute runat="server" in the
opening tag of the HTML control. For example for a table it might be:

<TABLE id="Table1" ...(other attributes) ... runat="server">
(2) Then you need to include the namespace "System.Web.UI.HtmlControls"
in the code behind (e.g. in VB the directive Imports
System.Web.UI.HtmlControls).

If you are using Visual Studio then you will find that it will become
available in auto-complete under the identifier (in the example above)
Table1.

With that you will be able to program it's behaviour in a very similar
manner to web Server controls.

Hope that helps! Thumbs Up | :thumbsup:

Deepak Surana
Questiondropdownlist using session Pin
m@dhu26-Oct-09 20:34
m@dhu26-Oct-09 20:34 
AnswerRe: dropdownlist using session Pin
N a v a n e e t h26-Oct-09 20:53
N a v a n e e t h26-Oct-09 20:53 
GeneralRe: dropdownlist using session Pin
m@dhu26-Oct-09 21:00
m@dhu26-Oct-09 21:00 
QuestionGridview asp.net 2005 Pin
5fingers26-Oct-09 18:40
5fingers26-Oct-09 18:40 
AnswerRe: Gridview asp.net 2005 Pin
Vimalsoft(Pty) Ltd26-Oct-09 20:29
professionalVimalsoft(Pty) Ltd26-Oct-09 20:29 
Question[Message Deleted] Pin
Purish Dwivedi26-Oct-09 18:24
Purish Dwivedi26-Oct-09 18:24 
AnswerRe: how to maintain session with AccessDataSourceControl in asp.net with C# Pin
Rajmendra*Nh26-Oct-09 19:26
Rajmendra*Nh26-Oct-09 19:26 
QuestionRe: how to maintain session with AccessDataSourceControl in asp.net with C# [modified] Pin
Purish Dwivedi26-Oct-09 20:04
Purish Dwivedi26-Oct-09 20:04 
QuestionWeb deployment project not replacing existing files after 3.5 upgrade Pin
Jordan Marr26-Oct-09 14:12
Jordan Marr26-Oct-09 14:12 
AnswerRe: Web deployment project not replacing existing files after 3.5 upgrade Pin
Oakman26-Oct-09 15:47
Oakman26-Oct-09 15:47 
QuestionDisplaying Image in ASP.NET AJEX Pin
bapu288926-Oct-09 10:03
bapu288926-Oct-09 10:03 
AnswerRe: Displaying Image in ASP.NET AJEX [modified] Pin
Not Active26-Oct-09 10:14
mentorNot Active26-Oct-09 10:14 
QuestionRe: Displaying Image in ASP.NET AJEX Pin
bapu288926-Oct-09 10:51
bapu288926-Oct-09 10:51 
AnswerRe: Displaying Image in ASP.NET AJEX Pin
Christian Graus26-Oct-09 10:58
protectorChristian Graus26-Oct-09 10:58 
AnswerRe: Displaying Image in ASP.NET AJEX Pin
Abhishek Sur26-Oct-09 12:01
professionalAbhishek Sur26-Oct-09 12:01 
QuestionRe: Displaying Image in ASP.NET AJEX Pin
bapu288926-Oct-09 12:31
bapu288926-Oct-09 12:31 
AnswerRe: Displaying Image in ASP.NET AJEX Pin
Not Active26-Oct-09 12:37
mentorNot Active26-Oct-09 12:37 

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.