CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
  Explore    Item Entry    Profile   
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML




Zone: > newsgroup > asp.net forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 10/4/2005 5:11:55 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 6 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
widha
Asp.Net User
Refreshing Custom Control after Main Page Postback10/4/2005 5:11:55 AM

0/0

I'm having problems with refreshing the contents of a custom control.

This is what I have:
   1. a web form containing a button that insert a record into the database
   2. the web form contains a web control that display all the records in the database

This is what it's doing at the moment
   1. clicking the image button will do a postback and insert a record into the database
   2. however, after the postback, the web control was not updated.
   3. when i click on a link to another web form, the web control has shown the updated value

This is what I predicted happen:
   1. the content of the webcontrol is only updated when a webform is loaded
   2. the webcontrol is not updated during postbacks.

How do I enforce for webcontrol to re-populate its contents after each web form postbacks?

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



Search This Site:





Other Resources:
Web site design with User Controls has gone really wrong ... ... user control raises an event, to refresh the displayed page, which is handled by the main page. ... at the same time trying to rebuild the page after each ...
Web Server Controls - Basic Requirements To Work with AJAX.NET - asp ... One of them consistantly causes the entire page to refresh, while the other doesn't. ... "_doPostBack" to get a postback executed without causing a page update? ...
CodeProject: SmartPager: a Flickr-style pager control with go-to-page ... Using the control. Go-to-page layer. Postback. SmartPager class. Notes. Examples. Code ... C# custom control. Compiles with .NET 1.1 or 2.0. ...
CodeProject: Pager Control for Repeater, DataList, or an Enumerable ... Highly customizable JavaScript popup control for web page wrapped in ASP.NET custom control. ... next page - I think the control does not need to do a postback ...
Walkthrough: Developing and Using a Custom Server Control On each postback, the page is recreated and values are restored from view state. ... The main steps in building a server control are the same as in earlier versions, ...
TheMSsForum.com >> Asp >> custom container control - wrapping child ... As soon as I expand a node on the TreeView, the page stops auto-refreshing. ... The page I am developing is desinged with 4 main tabs, then 3 of the tabs have ...
Curiosity is bliss: Custom C# ASP.NET webcontrols Right after the control is initialized, it is populated with the values (if any) ... The main reference page for developing ASP.NET server controls. ...
The Ultimate CAPTCHA Custom Server Control | peterkellner.net ... do I get the control to refresh the image automatically when an ... After that, the image loads fine until the form page is revisited again for a first time. ...
  Invite   History    Resources   SiteMap  
All Times Are GMT