Click here to Skip to main content
15,909,325 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Google calender Pin
Abhijit Jana14-Oct-08 0:47
professionalAbhijit Jana14-Oct-08 0:47 
AnswerRe: Google calender Pin
Brij14-Oct-08 0:51
mentorBrij14-Oct-08 0:51 
AnswerRe: Google calender Pin
Brij14-Oct-08 1:01
mentorBrij14-Oct-08 1:01 
QuestionRe: Google calender Pin
raghvendrapanda14-Oct-08 1:13
raghvendrapanda14-Oct-08 1:13 
AnswerRe: Google calender Pin
Steve Echols14-Oct-08 17:24
Steve Echols14-Oct-08 17:24 
QuestionHow to Implement locking mechanism in ADO.NET to resolve the concurrency error Pin
Member 311097013-Oct-08 23:00
Member 311097013-Oct-08 23:00 
AnswerRe: How to Implement locking mechanism in ADO.NET to resolve the concurrency error Pin
Colin Angus Mackay13-Oct-08 23:32
Colin Angus Mackay13-Oct-08 23:32 
QuestionForce a type-based control hierarchie [modified] Pin
mik113-Oct-08 22:15
mik113-Oct-08 22:15 
Hey guys,

as you may have noticed while reading this precisive title, I don't know where to get started with my problem. Any search has been unsuccessful so far, most likely because I don't know what to search for!

I would like to restrict the list of possible child elements within a control. To clarify this statement: I want the same behaviour for self-written webserver controls as it is for microsofts Table, TableRow and TableCell class.

It would be great, if a specific control is ONLY visible within another specific control.
Let me show you some example markup to illustrate what I just wrote:

<... some other markup ...>
  <mcl:MyParentControl>
    <!-- MyChildControl is ONLY visible right here, inside the MyParentControl -->
    <mcl:MyChildControl />
  </mcl:MyParentControl>
  <!-- MyChildControl is NOT visible here, because we're outside the MyParentControl -->
<... some other markup ...>


As already mentioned, I don't even know where to get started, so it would be great if someone could push me in the right direction (I really don't need a working complete solution).

EDIT: Well, I should have written that I already figured out, how to make the MyChildControl appear in the MyParentControl (as the only control available).

I did this, by adding some attributes (ParseChildren, PersistChildren) to the MyParentControl class and set its Property ChildControls ( List<MyChildControl> ) to the inner default property of the control.

I now need MyChildControl NOT to appear outside of MyParentControl.

Thanks in advance!

modified on Tuesday, October 14, 2008 4:52 AM

AnswerRe: Force a type-based control hierarchie Pin
mik115-Oct-08 22:49
mik115-Oct-08 22:49 
QuestionSystem.ArgumentOutOfRangeException Pin
kankeyan13-Oct-08 21:59
kankeyan13-Oct-08 21:59 
AnswerRe: System.ArgumentOutOfRangeException Pin
_AK_13-Oct-08 22:16
_AK_13-Oct-08 22:16 
AnswerRe: REPOST ALERT!! Pin
eyeseetee13-Oct-08 22:18
eyeseetee13-Oct-08 22:18 
AnswerRe: System.ArgumentOutOfRangeException - Repost - Was Known as Pls Help!!!!!!!!!!!!!!!!!!!! Pin
Ashfield13-Oct-08 22:20
Ashfield13-Oct-08 22:20 
AnswerRe: System.ArgumentOutOfRangeException Pin
Ashfield13-Oct-08 22:29
Ashfield13-Oct-08 22:29 
AnswerRe: System.ArgumentOutOfRangeException Pin
Brij13-Oct-08 22:51
mentorBrij13-Oct-08 22:51 
GeneralRe: Sorry Friends here is the explanation Pin
kankeyan13-Oct-08 23:02
kankeyan13-Oct-08 23:02 
GeneralRe: Sorry Friends here is the explanation Pin
Colin Angus Mackay13-Oct-08 23:33
Colin Angus Mackay13-Oct-08 23:33 
GeneralRe: Sorry Friends here is the explanation Pin
Ashfield14-Oct-08 1:32
Ashfield14-Oct-08 1:32 
AnswerRe: System.ArgumentOutOfRangeException Pin
scottgp14-Oct-08 2:45
professionalscottgp14-Oct-08 2:45 
QuestionGrid view Problem Pin
raghvendrapanda13-Oct-08 21:51
raghvendrapanda13-Oct-08 21:51 
AnswerRe: Grid view Problem Pin
Abhijit Jana13-Oct-08 21:58
professionalAbhijit Jana13-Oct-08 21:58 
QuestionControlling the Scorlling inside a table (ASP.NET) Pin
Karan_TN13-Oct-08 21:44
Karan_TN13-Oct-08 21:44 
AnswerRe: Controlling the Scorlling inside a table (ASP.NET) Pin
bcozican13-Oct-08 22:21
bcozican13-Oct-08 22:21 
GeneralRe: Controlling the Scorlling inside a table (ASP.NET) Pin
Karan_TN14-Oct-08 0:17
Karan_TN14-Oct-08 0:17 
Questionplease hlp Pin
kankeyan13-Oct-08 21:22
kankeyan13-Oct-08 21:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.