Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Building Controls / April 2006

Tip: Looking for answers? Try searching our database.

Making table cells available at design time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Christophe Peillet - 10 Mar 2006 20:49 GMT
I have several custom UI controls that are table-based, and I would like to
make some of the table cells available for users to edit at Design time, much
in the same way the panel control works, for example.  (I want users to be
able to insert new controls, html code, etc.)

If someone can please show me a clear code sample of how to implement this
(whether in the designer or in the control class), I would appreciate it,
since I haven't found anything myself, including looking at certain dotnet
controls in Reflector.

I will likely have more than one of these 'panels' or cells in some
controls, so if it's possible to give an example with two dynamic cells it
would be appreciated.

Christophe.
"Yuan Ren[MSFT]" - 13 Mar 2006 09:43 GMT
Hi Christophe,

Thanks for posting!

For the current issue, based on my experience, this functionality is based
on design time support in ASP.NET custom control. Unfortunately, I don't
find any specific sample codes for the current requirement. However, there
is a good resource from MSDN document explains the whole architecture of
the design time support. The document also demonstrates how to use the
design time support:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpcondesign-timeforwebforms.asp

If you are interest in the theory of design time support, please look the
following article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconenhancingdesign-timesupport.asp

Although there is no specific sample for the current issue, there still
have many resources from third party to demonstrate how to do:
http://www.codeproject.com/useritems/design-time-integration.asp

http://www.15seconds.com/issue/040422.htm

Hope this will be helpful!

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
Christophe Peillet - 14 Mar 2006 14:18 GMT
I found the solution to my problem here, along with a good code sample:

http://msdn2.microsoft.com/en-us/library/system.web.ui.design.editabledesignerre
gion.aspx

"Yuan Ren[MSFT]" - 15 Mar 2006 03:31 GMT
Hi Christophe,

I'm glad to hear the issue has been resolved:)

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
Sebastian - 15 Apr 2006 02:31 GMT
Hi Christophe,

could you post some example. I've got problems to render this region at the
run-time. In this example, contents of views are not rendering in browser.
Could you help? Thanks!

> I found the solution to my problem here, along with a good code sample:
>
> http://msdn2.microsoft.com/en-us/library/system.web.ui.design.editabledesignerre
gion.aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.