DataGrid inheritance and schema
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


Anders.Vikstrom@banqit.com
Hi,

I have a web control that inherits from DataGrid. As far as I know,
everything works fine. Except for one thing. In Visual Studio, when
displaying the HTML, I get problems with inner tags, such as Columns,
TemplateColumn etc. The problem is twofold: 1) I don't get any =
intellisense
when I'm to key in these tags. 2) Once keyed in, the tags are =
underlined (by
little red waves) due to that "the active schema does not support the
element". Does anybody know a way to solve this small but annoying =
problem?

TIA,

Anders Vikstr=F6m
SW Engineering, BANQIT AB
http://www.banqit.com
mailto:Click here to reveal e-mail address
Phone: +46 8 7594737

Reply to this message...
 
    
Susan Warren
Anders,

Statement completion in Vs.NET is (unfortunately) schema-driven -- not =
based on reflection -- so the fact that your control derives from =
DataGrid doesn't buy you anything. You can paste this topic into your =
vs help address window to learn more:

Ms-help://MS.VSCC/MS.MSDNVS/vsintro7/html/vxconAuthoringandUsingCustomSch=
emasBackgrounder.htm

hth,
Susan

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]=20
Sent: Thursday, November 08, 2001 5:42 AM
To: aspngcontrolsvb
Subject: [aspngcontrolsvb] DataGrid inheritance and schema

Hi,

I have a web control that inherits from DataGrid. As far as I know,
everything works fine. Except for one thing. In Visual Studio, when
displaying the HTML, I get problems with inner tags, such as Columns,
TemplateColumn etc. The problem is twofold: 1) I don't get any =
intellisense
when I'm to key in these tags. 2) Once keyed in, the tags are underlined =
(by
little red waves) due to that "the active schema does not support the
element". Does anybody know a way to solve this small but annoying =
problem?

TIA,

Anders Vikstr=F6m
SW Engineering, BANQIT AB
http://www.banqit.com
mailto:Click here to reveal e-mail address
Phone: +46 8 7594737

| [aspngcontrolsvb] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
    
Susan Warren
Let me amend this to be perfectly clear: statement completion for the =
HTML window *only* is schema-driven... it is refection based in the code =
window.

-----Original Message-----
From: Susan Warren [mailto:Click here to reveal e-mail address]=20
Sent: Thursday, November 08, 2001 9:46 AM
To: aspngcontrolsvb
Subject: [aspngcontrolsvb] RE: DataGrid inheritance and schema

Anders,

Statement completion in Vs.NET is (unfortunately) schema-driven -- not =
based on reflection -- so the fact that your control derives from =
DataGrid doesn't buy you anything. You can paste this topic into your =
vs help address window to learn more:

Ms-help://MS.VSCC/MS.MSDNVS/vsintro7/html/vxconAuthoringandUsingCustomSch=
emasBackgrounder.htm

hth,
Susan

-----Original Message-----
From: Click here to reveal e-mail address [mailto:Click here to reveal e-mail address]=20
Sent: Thursday, November 08, 2001 5:42 AM
To: aspngcontrolsvb
Subject: [aspngcontrolsvb] DataGrid inheritance and schema

Hi,

I have a web control that inherits from DataGrid. As far as I know,
everything works fine. Except for one thing. In Visual Studio, when
displaying the HTML, I get problems with inner tags, such as Columns,
TemplateColumn etc. The problem is twofold: 1) I don't get any =
intellisense
when I'm to key in these tags. 2) Once keyed in, the tags are underlined =
(by
little red waves) due to that "the active schema does not support the
element". Does anybody know a way to solve this small but annoying =
problem?

TIA,

Anders Vikstr=F6m
SW Engineering, BANQIT AB
http://www.banqit.com
mailto:Click here to reveal e-mail address
Phone: +46 8 7594737

| [aspngcontrolsvb] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

| [aspngcontrolsvb] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp =3D JOIN/QUIT
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
 
System.Web.UI.WebControls.DataGrid
System.Web.UI.WebControls.TemplateColumn
System.Windows.Forms.DataGrid




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com