Ask a Question related to ASP.NET General, Design and Development.
-
Jake #1
Datagrid + ImageButton = Slooooowwwww
Hi All,
I have an aspx page with a datagrid which I am using to
display a list of thumbnails and their descriptions. The
thumbnails are sitting on my harddrive and the links to
them are stored in an Access database.
I have placed an ImageButton in a template column in the
datagrid and as the grid loads the ImageURL property of
the ImageButton is filled from the database.
Everything is fine on my test server but when I try to run
the page on a remote computer it is so slow that the
thumbnails often don't load when run on a 56k connection.
Can anyone help? Would I be better off using a Repeater
or a Datalist? Should I use an image control rather than
an ImageButton?
TIA, Jake
Jake Guest
-
ImageButton Column in DataGrid
I'm trying to add an ImageButton Column into my datagrid, but the Property Designer only allows for plain buttons and link buttons. Is there a way... -
Adding ImageButton to datagrid
Ok, o I have a datagrid with sorting and paging. I would like to add a small ImageButton right under the header text that I currently use for... -
DataGrid Cell with an ImageButton In It
I create a datagrid and at runtime I add an ImageButton to certain cells(e.Item.Cells.Controls.Add(imgbutton)). Now when I click on a row that... -
Datagrid & imagebutton
I have a datagrid with a templatecolumn, in this template there are two imagebutton, one for modify the record, one to cancel, but i'm not able to... -
Datagrid and Imagebutton
try to write your code in the ItemCommand event of the datagrid (remove the code from your sub and put it in the ItemCommand event of the datagrid )... -
Marina #2
Re: Datagrid + ImageButton = Slooooowwwww
If the problem is a slow connection and lot's of images, I don't think there
is anything you can do. The other controls won't make the images load any
faster.
What you can do, is turn off viewstate for those controls for which you
don't really need it. This can help with load time.
"Jake" <jake_morath@msn.com> wrote in message
news:052301c35a64$c84461e0$a301280a@phx.gbl...> Hi All,
>
> I have an aspx page with a datagrid which I am using to
> display a list of thumbnails and their descriptions. The
> thumbnails are sitting on my harddrive and the links to
> them are stored in an Access database.
>
> I have placed an ImageButton in a template column in the
> datagrid and as the grid loads the ImageURL property of
> the ImageButton is filled from the database.
>
> Everything is fine on my test server but when I try to run
> the page on a remote computer it is so slow that the
> thumbnails often don't load when run on a 56k connection.
>
> Can anyone help? Would I be better off using a Repeater
> or a Datalist? Should I use an image control rather than
> an ImageButton?
>
> TIA, Jake
Marina Guest
-
Jake #3
Re: Datagrid + ImageButton = Slooooowwwww
Thanks Marina, I'll give that a try. I was thinking of
something like that but unfortunately I won't be able to
test it out until I get home tonight.
Fingers crossed :P
I don't think there>-----Original Message-----
>If the problem is a slow connection and lot's of images,the images load any>is anything you can do. The other controls won't makefor which you>faster.
>
>What you can do, is turn off viewstate for those controlsThe>don't really need it. This can help with load time.
>
>"Jake" <jake_morath@msn.com> wrote in message
>news:052301c35a64$c84461e0$a301280a@phx.gbl...>> Hi All,
>>
>> I have an aspx page with a datagrid which I am using to
>> display a list of thumbnails and their descriptions.run>> thumbnails are sitting on my harddrive and the links to
>> them are stored in an Access database.
>>
>> I have placed an ImageButton in a template column in the
>> datagrid and as the grid loads the ImageURL property of
>> the ImageButton is filled from the database.
>>
>> Everything is fine on my test server but when I try toconnection.>> the page on a remote computer it is so slow that the
>> thumbnails often don't load when run on a 56kthan>>
>> Can anyone help? Would I be better off using a Repeater
>> or a Datalist? Should I use an image control rather>>> an ImageButton?
>>
>> TIA, Jake
>
>.
>Jake Guest



Reply With Quote

