elsewhere home of a .NET geek

  Home  |   Contact  |   Syndication    |   Login
  21 Posts | 1 Stories | 52 Comments | 35 Trackbacks

News

This blog has random information about Managed Code and Design Pattern. Every day, while i code, the thoughts come in mind are the one you would be reading here.

If you're seeking me for asking any questions, please use the contact page of this site.

Twitter












Article Categories

Archives

Post Categories

I am wondering is there any library or component that just generate JS script for the .NET code that are related to UI of a particular page. I guess, it sounds like a very bad explanation. Let me put an example, If you have a code like below in your CS file,
DropDownList _ddl = this.Page.FindControl("DropDownList1");
_ddl.Visible = false;
Now the JS script can produced for the above .NET piece as like below,
var _ddl = document.getElementById("DropDownList1");
_ddl.style.display = 'none';
I am thinking of something that produces JS script by understanding .NET code that deals a page's UI part. Is this possible thru Reflection? Is there any library or any related work happening around there?
posted on Tuesday, May 23, 2006 12:02 PM

Feedback

# re: Generating JS script for a ASP.NET code 5/24/2006 12:19 AM Coleman
Check out the following: http://www.nikhilk.net/Entry.aspx?id=121

# re: Generating JS script for a ASP.NET code 5/24/2006 4:41 AM Vadivel Kumar
Seems to be the same that i am looking for.
Thanks.

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: