CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 1/14/2005 7:06:41 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 27 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
azamsharp
Asp.Net User
Composite Control not getting the design features for the DataGrid control1/14/2005 7:06:41 PM

0/0

Hi,

I made a composite control which consists of a datagrid and a button. But I am not able to get the design time appearance of the control. Meaning when I drag the control from the toolbox it does not appear as a datagrid.


Hope it helps!
AzamSharp
Microsoft Certified Professional
My Blog
KoffeeKoder
Interested in writing for KoffeeKoder! Email me!
joteke
Asp.Net User
Re: Composite Control not getting the design features for the DataGrid control1/15/2005 8:16:27 AM

0/0

If it is a true composite one e.g custom control which has DataGrid and Button as child controls, that's just normal because the control isn't a DataGrid. On such case, you should set all the propeties etc for it like it is with DataGrid (designers, editors and so on). If you'd want it still to behave like one without doing any extra work, you should derive from Datagrid.

However, this applies if you mean getting all the template editing features of DataGrid. If you just mean that anything isn't visible and you just want that the grid & button is visible then you can start with building a composite control designer.


Thanks,

Teemu Keiski
Finland, EU
azamsharp
Asp.Net User
Re: Composite Control not getting the design features for the DataGrid control1/15/2005 4:26:14 PM

0/0

Thanks ,

Actually I do have a composite control designer. I will post it when I get home. When I use the designer against any composite control then it displays it as a design view in VS.net but when the composite control contains the datagrid It does not display the datagrid as a design view but it displays it as a dot.
Hope it helps!
AzamSharp
Microsoft Certified Professional
My Blog
KoffeeKoder
Interested in writing for KoffeeKoder! Email me!
joteke
Asp.Net User
Re: Composite Control not getting the design features for the DataGrid control1/15/2005 5:50:09 PM

0/0

OK,

do you also bind the DataGrid in designer e.g you have overridden GetDesignTimeHtml and you bind the grid with a dummy data source (to generate the design-view HTML for it), and you then return to back as it was (you don't want to actually modify the binding of the grid for user. but only provide the HTML for design view)?
Thanks,

Teemu Keiski
Finland, EU
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Programming Microsoft ASP.NET Authors: Dino Esposito, Pages: 1165, Published: 2003

Web:
Composite control (using datagrid) design support - ASP.NET Forums Composite control (using datagrid) design support. Last post 01-19-2006 2:00 PM by DeepaRao. 6 replies. Sort Posts: ...
DataGrid control is only half baked, is that going to change in ... 'features' than a DataGrid, but I'm not sure if it solves your ... datagrid in a composite control. The sample below worked for me. ...
A Crash Course on ASP.NET Control Development: Building Composite ... The data source is not persisted in the viewstate. As a composite control, the DataGrid contains child controls, each of which persists its own state to the ...
Rendering DataGrid within a Composite Control - DevX.com Forums I have a composite control containing a datagrid, and I want the ... render itself at design time. For some reason, DataGrid does not like ...
Composite control (using datagrid) design support - ASP.NET Forums I am developing a web composite control using datagrid, dropdown, ... Another problem is that, I donot get the intellisense for Columns ...
CoDe Magazine - Article: Web Control Enhancements in ASP.NET 2.0 NET 2.0, composite control developers also needed to remember to call ... can choose from a list of predetermined formats on the good ol’ DataGrid control. ...
Custom control: How to render an embedded image at design-time? I have a custom web server control, specifically a composite control, ..... Datagrid not displaying in apsx webpage ...
Scott on Writing EnableViewState for both the Web page, composite control, ...... I am pretty sure, it is because the view state of the data grid is not saved and i am not ...
ASP.NET.4GuysFromRolla.com: Improving the RoundedCorners Web Control Aug 11, 2004 ... Turn RoundedCorners into a rendered Web control from a composite control. Created a design-time class that derived from System.Web.UI. ...
Free WPF DataGrid Control from Microsoft - WPF Toolkit Aug 14, 2008 ... The WPF Toolkit not only allows users to get new functionality more quickly, ... You can download the free WPF DataGrid Control here. ...




Search This Site:










control arch. questions.

searching for windows hosting reseller for chile

using a user control in a custom server control.

system.web.ui.design namespace not found by visual studio .net 2003

way to render a control in code-behind before the page is loaded?

calendar pop-up that selects multiple dates

create template with certain controls being the content.

redirect control source

free hosting(asp.net+sql 2005+bin file)

am i misunderstanding something?

discountasp.net

resolving design-time relative paths [also: getting paths from server control]

re-instantiate an inherited usercontrol in a repeater

preload event in controls

asp.net 2 - treenode inherit

create webmatrix toolbox component

tabbed control in asp.net

javascript and user control (ascx) help!

hosting bliss

can not resize the control at design time

extending repeater object

how to resize control in design time?

help files for controls

composite control design-time properties

property editor control?

windows product updates and technical training

cheap windows 2003 dedicated server ?

where to post developed controls?

custom control within a control control

datalist paging with search feature

  Privacy | Contact Us
All Times Are GMT