C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

How will we call javascript or vbscript in coding ? give an example with coding?


Posted Date: 06 Sep 2006      Posted By: gurava reddy      Member Level: Bronze     Points: 2   Responses: 1



How will we call javascript or vbscript in coding




Responses

Author: tapan dalai    07 Sep 2006Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

hi...
u can do as follow
just write code in .apx file
<script language="vbscript" runat="server">
sub display()
msgbox("this is my vbscript")
end sub
</script>
just write code in page_laod in code behind
u need to add the method for object
i am doing for label control....
label1.attribute.add("onclick","display()");

thanks
tapan dalai
tapan.dalai2gmail.com



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : how to use this placeholder control?..
Previous : Again on Abstract classes and Interfaces
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use