Re: adding new row into an unbounded gridview.



Just use the Add() method of the Rows property, this should add the row, and
unless you are doing something else that prevents it, the GridView will be
refreshed simply because you are doing a postback.
--
Nathan Sokalski
njsokalski@xxxxxxxxxxx
http://www.nathansokalski.com/

"Weoi Li" <WeoiLi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:06985D63-64E8-4BA1-A336-8525CEF72E62@xxxxxxxxxxxxxxxx
)Dear All,

Please help me out here. I have been stuck in this issue for almost a day
now.

I had an ASP .net page with VB .NET as back code which have 2 calendar
control (From Date and To date) that for user to select. After the user
select the dates, I want to refresh the gridview which having 2 column of
date and selected according to the calendar controls selection.

Please help..

Thanks in advance


.



Relevant Pages

  • Re: Refresh/Databind a GridView on another page
    ... If you use MS AJAX, your visitors will have to download 400KB javascript file on each page...it stays in cache, but if you need only bind a grid it's unnecessary. ... Putting your GridView inside an UpdatePanel control and firing the refresh with a basic javascript function that will be called using the "window.opener" object from the popup window... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: refresh gridview at postback
    ... I am seeking a solution where 'delete' and 'edit' will work. ... without invoking databind, then 'delete' correctly removes ... However then 'edit' fails to refresh the gridview. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reloading GridView contents
    ... refresh the gridview is 'gridview.refresh'? ... This would get the latest data from the database and then rebind the Grid. ... The gridview is bound to a datasource, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Refreshing calling aspx page
    ... Put "parent.refresh; self.close" in popup window. ... change the url of parent form to refresh. ... DC> I have an aspx page with a GridView that has an onclick attribute ... The onclick calls the following Javascript ...
    (microsoft.public.dotnet.framework.aspnet)
  • GridView and delete problems with page refresh
    ... I have a GridView which includes the ability to delete rows. ... accept for when a naughty user decides to refresh the browser thereby ... posting the same delete command instruction. ... the refresh will either delete another record or generate an exception, ...
    (microsoft.public.dotnet.framework.aspnet)

Loading