CodeVerge.Net Beta


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




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: Date Entered: 9/13/2004 7:13:03 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 39 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"Furious00" <>
NewsGroup User
Nested controls disappearing...9/13/2004 7:13:03 PM

0

I have an aspx page that contains a control. This control contains a placeholder into which I load 1 of 3 other controls. On the controls I load into the placeholder I have a dataset which loads fine. When I click on anything in the dataset, however, the whole control disappears on postback. I'm assuming this is a very basic problem and I'm wondering if someone can point me in the right direction.

Do I need to utilize the IPostBackDataHandler.LoadPostData function?
"llangleyben" <
NewsGroup User
Re: Nested controls disappearing...9/14/2004 1:55:04 PM

0

It is basic, I hope this will help.
Leon Langleyben

MCSD, ASP.NET MVP

Blog
"master4eva" <>
NewsGroup User
Re: Nested controls disappearing...9/16/2004 5:49:16 PM

0

No, you do not have to use the IPostBackDataHandler interface. The "just" of the common problem that I think that you have on your end is that you are not reloading the controls on every post back. For example, you detect when there is not a post back and add the controls... and when there is not, you don't explicitly add the controls. Stop right there! Add the controls every time the page loads.
-- Justin Lovell
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













array of databound templates

load control from given string type

collectioneditor for extended panels

problems with populating checkboxlist

custom controls

protocols used by ads related services (bmdp, bmcp, bmss, etc)

wizard control

preventing inherited properties

mozilla html problem

i am trying to render some html/gif during validatinsummary rendering?

repeater

usercontrol.rendercontrol problem

mspress book 5728 samples

boolean

dynamically create non-fixed number of textboxes in composite control

access page methods from control

templated user control

servergrid

webcontrols

custome controls, javascript, and firefox/mozilla

rendering in design time vs. run time

persisting a data control designers properties across multiple classes

childcontrolscreated and system.nullreferenceexception

large js file

license question - trial period???

improving security

how to get rid of clients?

checking is framework is installed ?

old templatedcontroldesigner

user accounts for the managed hosting employees on client machines

help with assembly:tagprefix ... and multi assemblies.

assembly not found

host with asp.net website configuration tool access

composite web control embedded image

web custom control question

access databases and medium trust

inherited html controls not rendered in studio

design time appearance for the datagrid control

composite control not getting the design features for the datagrid control

are all the downloadable controls free?

how to stop control events from firing too many times?

page_load in usercontrols

use ascx as server control?

hosting managed desktops

assemblyinfo question.

gridview and header

viewsate is not saved

off topic (a bit) hosting

can't create object in control ?

simple data binding

   
  Privacy | Contact Us
All Times Are GMT