Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 25th, 2006, 11:55 PM
Registered User
 
Join Date: Oct 2005
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Custom Server Control....Custom Property Editor

Hi all,

I want to add a Property to my Custom Server control Called for example "Script" ,and when user click on it in the design time in the IDE,i want a STRING editor appear and let the user to write his/her custom Script(or String) in it. how can i do that.?
Could any one show me an article or...?

Thanks in advance.
Regards.


  #2 (permalink)  
Old June 15th, 2010, 11:30 AM
Registered User
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding sCripts.

There are two ways to do it.

You can do it part of RenderControls() MEthod.

like

output.write("<script>...</Script>");

See this blog for more details. it shows.. hwo to add CSS classes but.. they all fall under same process...

www.donateknowledge.blogspot.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Property in Custom control watashi Visual C++ 0 October 22nd, 2008 11:20 PM
custom Property Enable & Disable in user control tiks C# 1 August 20th, 2008 09:31 AM
Web Custom Control - Color Picker Property elwappo ASP.NET 2.0 Professional 0 January 31st, 2008 08:37 AM
Setting Property for a Custom Control cadaats C# 0 October 17th, 2005 02:22 AM
Create an About property for custom control mouratx General .NET 1 March 27th, 2004 11:18 PM



All times are GMT -4. The time now is 08:23 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.