Results 1 to 2 of 2

Thread: Web control

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Web control

    I have created a web control which displays all info from a particular table in a datagrid.

    I then drag and drop the control onto a webpage which adds a record.

    The problem I am having is that when the user adds a record it does not show up in the web control datagrid.

    Is there a way I can refresh the web control embedded in the webpage ?

    Parksie

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I am not sure what you are doing code wise, so I offer this suggestion. Most likely the datagrid isn't reflecting the latest update because you are binding the datagrid in the load event, but not actually adding the new record until the button click event is fired. Since the datagrid was bound before the button event added the new record.

    Try rebinding the datagrid right after you add the new record.

    If that isn't it, post your code up here so we can get a better look at what you are doing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width