PC Review


Reply
Thread Tools Rate Thread

Can I make Body Tag Run At Server

 
 
=?Utf-8?B?UmFlZCBTYXdhbGhh?=
Guest
Posts: n/a
 
      7th Aug 2005
I need to make a body tag to be runat server ...is this possible?
Why? I need to change the function of onload event from codebehind ....
because i need if this make onload=func1 else make onload=func2?
anu suggestions
 
Reply With Quote
 
 
 
 
dmoney
Guest
Posts: n/a
 
      7th Aug 2005
I believe so..

Try:

<body id="myBody" runat="server">

Add myBody as a HtmlGenericControl and then

myBody.Attributes.Add("onLoad", "myFunction()")

-- Atleast I think this will work

Cheers.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make the typing screen (body) smaller? Nanci Microsoft Outlook Discussion 1 4th Jan 2010 03:14 PM
how can i make attachments be visible in the email body =?Utf-8?B?QnJvb2tzIERvdmU=?= Microsoft Outlook Discussion 2 25th Sep 2007 03:26 PM
Does any body has a CeMapi C# wrapper or know how make such one? =?gb2312?B?wMc=?= Microsoft Dot NET Compact Framework 7 20th Jul 2007 02:42 PM
HOW TO MAKE THE BODY OF A MAILITEM BOLD jason Microsoft Outlook VBA Programming 3 23rd Aug 2004 09:24 PM
How to get reference of the <body runat=server id=.../> on server side? feng Microsoft ASP .NET 1 29th Feb 2004 12:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:06 PM.