Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Nested User Controls

Reply
Thread Tools

Nested User Controls

 
 
=?Utf-8?B?RG90TmV0RGV2?=
Guest
Posts: n/a
 
      08-22-2007
Hi,

I have two controls
myParentControl
and
myChildControl

myParentControl would have a repeater which will have a 'myChildControl' in
the ItemTemplate.

I put the 'myParentControl' on a web page 'MyASPXPage'.

MyASPXPage would have a dropdown list. Based on this event, I want to
populate the 'myParentControl' and hence 'myChildControl'

What should I do to setup the values in myChildControl and then render the
control. Whats happening right now is the Page_Load of 'myChildControl' is
executed even befor the values are setup.

Any clue or links to this problem would be greatly appreciated.


 
Reply With Quote
 
 
 
 
brij.nkh brij.nkh is offline
Junior Member
Join Date: Apr 2011
Posts: 1
 
      04-06-2011
I am having a problem while laoding a child control in parent user control.
I have more then one parent user controls on my page.
When i click on an add button of one of this user control, child control is added to all user controls.
I am getting the same value for request.params.ToString().Indexof("btnadd") for all parent user controls.
How can i solve this problem?
thanks in advance.
Please help it's urgent.
If anyone wants a code to refer please email me at : ""
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
precompiled web with nested user controls CBW ASP .Net 0 05-10-2006 03:01 AM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Building Controls 1 01-04-2005 04:09 PM
using javascript in User controls to access server controls of the user control Faizan Ahmed ASP .Net Web Controls 1 01-04-2005 04:09 PM
User Controls Dynamically Loaded and Nested Guadala Harry ASP .Net 3 07-03-2004 11:50 PM
Nested Tables and User Controls Benign Vanilla ASP .Net 1 06-24-2004 02:19 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57