CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 9/19/2005 12:45:44 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 21 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
TWmasculine
Asp.Net User
Hi. what is [there is no xx attribute.. type]9/19/2005 12:45:44 PM

0/0

Hi all,
sorry for my poor english. I write a web control , and my control will generate the following code, and when i run it...some qustion occurs:
the compiler parses my control and show :?? MyControl.TabsPages' ???? 'cc1:PageContent' ????
it means that there is no cc1:PageContent type attribute....why???? and how can i solve the problem....

? 14: <cc1:TabsPages id="TabsPages1" runat="server">
? 15:          <cc1:PageContent TabName="" ToolTip="111" ID="pageContent1">aaa</cc1:PageContent>
? 16:          <cc1:PageContent TabName="" ToolTip="2222" ID="pageContent2">bbb</cc1:PageContent>
? 17: </cc1:TabsPages>

is there any one can give me some idea???thx

FancyKetsup
Asp.Net User
Re: Hi. what is [there is no xx attribute.. type]9/20/2005 3:32:54 PM

0/0

Visual Studio has a nice example of building templated controls that if you review and study it, it will help you with the things you are having problems with. FYI what you are doing here is a TEMPLATED control. That is the place to dive into and study to solve your problems. Don't expect anyone to quickly type out a solution for the issues you are having, templated controls while basically pretty easy and straight forward are not something you explain in a couple of paragraphs.
Answering a question increases your knowledge asking a question shows your Intelligence!
TWmasculine
Asp.Net User
Re: Hi. what is [there is no xx attribute.. type]9/22/2005 8:40:14 AM

0/0

Hi FancyKetsup,
Actually, i had used the template methord to implement the control before.But i find that, it contains some questions.For example: the following code is my control's html:
     <xx:WebMultiPage id="WebMultiPage1" style="Z-INDEX: 101; LEFT: 304px; POSITION: absolute; TOP: 312px"
     runat="server" height="150px" width="240px" IsGradatedColor="True" PageCount="3">
     <Tab1>
      <asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
     </Tab1>
     <Tab3>
      <asp:Button id="Button2" runat="server" Text="Button"></asp:Button>
     </Tab3>
     <Tab2>
      <asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
     </Tab2>
    </xx:WebMultiPage>
the above code is generated in Design Time enviroment. However, do you see that...The Tab1 ..2..3., they are generated by my ITemplate(ps:i define three ITemplate like :
  [PersistenceMode(PersistenceMode.InnerProperty)]
  [Browsable(false)]
  public ITemplate Tab1{
   get{return _customDefinedContainer[0];}
   set{_customDefinedContainer[0] = value;}
)
So, i can generate three Tab1..2..3.(i don'w know how to geneate them dynamically), ok,
the most important problem is that all of the inner webcontrol (like button). they are all in the WebMultiPage, it means that i cannot use it in aspx page directly. I must to use the method : WebMultiPage1.FindControl("Button1")..to use it ....
so, i cannot use Button1 directly in aspx , when i am writing some code...
From Panel's concept , we can drag a panel to aspx , and then we can add any webcontrol to it, and use the inner webcontrol directly..
but use ITemplate...i cannot achieve the target....
so do you have any idea????please...

have a good day..

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Self-disclosure of God: Principles of Ibn Al-ʻArabī's Cosmology Authors: William C. Chittick, Pages: 483, Published: 1998
Geographic Information Systems: Socioeconomic Applications Authors: David Martin, Pages: 210, Published: 1996
CSL '88: 2nd Workshop on Computer Science Logic, Duisburg, FRG, October 3-7, 1988 : Proceedings Authors: Egon Börger, Hans Kleine Büning, Michael M. Richter, Pages: 399, Published: 1989
Philosophical Papers Authors: Moritz Schlick, Peter Lauchlan Heath, Henk L. Mulder, Barbara F. B. van de Velde-Schlick, Pages: 0, Published: -1

Web:
W3C Validation of Flash Object code? Error Line 28 column 14: there is no attribute "TYPE". ... xx.xxx/go/ getflashplayer" ✉. Error Line 30 column 9: there is no attribute ...
[Sip-implementors] audio problem fixe phone->windows messenger payload : No. Time Source Destination Protocol Info 155 11.733942 x.x.224.41 x.x.228.44 RTP Payload type=ITU-T G.711 PCMA, ...
Marco Casario | RIAvolutionize the web: There's no attribute ... Jun 6, 2006 ... Line xx column xx : there is no attribute "spryregion". ... but the document type you are using does not support that attribute for this ...
Nabble - Grinder - Dev - AttributeError: 'string' object has no ... Hi ozGuy, there is [natural] interference between java strings and jython ... has no attribute 'length' >>> len(jythonstr) 6 >>> jythonstr.index('xx') ...
DSC Notice: xx/xx/xx Change Type: New attribute. IC/HD UNIT INDICATOR. For those WARDS which are intensive care or high dependency units this indicates whether they are units ...
TheMSsForum.com >> Portal Server >> No index attribute indexing ... x.x[1] Type: unknown File Type, 2.11MB From: xxx.x.x.xxx (server url) *** If I .... Inherit Parent Area 'Contact information' Hi, Just wondering if there is ...
U.S. Department of Defense High Level Architecture Interface ... To ensure that there is no ambiguity in the definition of the DIF, the DIF is defined terms of .... x x (attribute privilegeToDelete. transport order space ...
k -visit attribute grammars" target="_" >k -visit attribute grammars XX[Y. Y:'=AIB. To each attribute of any symbol we associate the domain D. .... Thus there will be a visit to n where no attributes of n become evaluated and ...
[xsd-users] Attempting to access attribute xml:base. I would like that, but there is no big hurry. ... clean&&make lax.o rm XmlSchema .xsd *.?xx *.o driver rm: cannot remove `driver': No such file or directory ...
fValidate | Type Reference | A high quality javascript form ... You only need to place validator attribute on the first checkbox in the array. ... To my knowledge, there is no practical limit to the number of fields that ...




Search This Site:










can any one explain the process in detail

c# how to: list all users within a 2000 group

asp.net server control naming convention?

code to print a file

dates are driving me mad

fill array from stored procedure

putting datetime into a database

problem with different browsers

good asp.net forum creation.

server error

shared methods, shared members and session

sessionstate element in framework 2.0 (?)

skmmenu

resource files in .net 2.0

cannot get serverside script to run on server

"document not saved" while automating excel

server.createobject failed ?

encoding question

custom validator on server side ?

problem with running asp.net 1.1 app on 2.0 framework

number of items selected in list box

passing parameters to functions

ot: blog app

mouseover web form button

if statement help

how to declare datetime variable ?

getting currently logged in users id

open/save dialog box

system.data.oledb.oledbexception: 'scrapyard\scrapyard.mdb' is not a valid path

accessing custom sub’s and functions in the global.asax file.

  Privacy | Contact Us
All Times Are GMT