Re: what's the equivalent of response.flush in asp.net datagrid



Hi,

If you are loading DataGrid with the big data, then it could take some time.
But if this is not the case, then check if you call DataBind method of the
DataGrid after you assigned a datasource to it. If you do not call DataBind,
then DataGrid will not show data in it.

--
Val Mazur
Microsoft MVP

http://xport.mvps.org



"aaron" <aaron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D9629403-F341-468F-A6E8-FA46EF3F7B53@xxxxxxxxxxxxxxxx
> Hi,
> My problem is that the data in datagrid doesn't show up until it's bound
> and
> therefore can take a long time. is there a way that datagrid can show
> datarows as soon as it gets it like response.flush.
>
> Thanks
> aaron


.



Relevant Pages

  • Add row to datagrid without databinding again
    ... Is there a way to add a row to a datagrid after DataBind method is called. ... The problem, this is All-Or-None situation, the user add/change several rows ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: CurrentPageIndex invalid after a row deleted from datagrid
    ... My guess is that these little annoyances will be handled in ASP.NET 2.0. ... > If you have a pageable datagrid. ... > throws an error because CurrentPageIndex is set to -1. ... > The error is thrown when you call the databind method on the datagrid ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET datagrid
    ... I got your emails with the code that you used for creating the datagrid. ... for regarding dynamically created controls and the page lifecycle. ... separate the DataBind method that you have into 2 methods; ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Rows in Datagrid
    ... clicked on one of the cells all the cells then had in them. ... In asp.net I can do the following to loop through a datagrid. ... There is no DataBind method as there is in asp.net. ... Dim temp As Integer = DataGrid1.VisibleRowCount ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Rows in Datagrid
    ... on one of the cells all the cells then had in them. ... I am trying put bind my DataTable from my Dataset to my DataGrid. ... There is no DataBind method as there is in asp.net. ... Dim temp As Integer = DataGrid1.VisibleRowCount ...
    (microsoft.public.dotnet.languages.vb)