A Table and GDI+ challenge in ASP.NET
From: Andrej Habazin (Andrej.Habazin_at_guest.arnes.si)
Date: 09/10/04
- Next message: Bob Powell [MVP]: "Re: A Table and GDI+ challenge in ASP.NET"
- Previous message: thomas wenning: "Re: Drawing a Rounded Rectanlge"
- Next in thread: Bob Powell [MVP]: "Re: A Table and GDI+ challenge in ASP.NET"
- Reply: Bob Powell [MVP]: "Re: A Table and GDI+ challenge in ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Sep 2004 11:47:16 +0200
Hello everyone
Firstly I have to apologise because this post will be a lengthy one. Having
Windows XP pro, VS.NET 2003 pro, SQL Server 2000 and .NET 1.1 properly
installed, I came upon an idea to make a web application, that will enable
users to play chess online with a fellow player. Following series of
excellent articles on security, authorization, authentication I successfully
built a relatively safe application that acts like some kind of forum (users
have to log on to play chess). Next challege is somehow more interesing and
in my opinion harder to realize (I am newbie to ASP.NET). I want to create
chessboard with figures as images (gif or png not so important). So I wanted
to use Table object to serve as chessboard, but I got stuck with the
problem, how to "paste" images to cells. There is a Text property that can
serve for rendering text, but does this mean that I will have to derive my
custom control and manually implement functionality to move image from cell
to cell (e.g. drag&drop, redrawing,.. etc) ?. Writing this post I came upon
another idea: why not use DataGrid, store images as blob fields in database
and display them in Datagrid (well, I am not keen of this idea, because this
means a lot of traffic and adds complexity. In short it is a no go). I am a
relatively experienced Delphi programmer in Win32 (in fact I am learning
.NET framework by rewriting my existing Delphi code) and there (in VCL) was
that fancy object TDrawGrid that enabled me to realize an application with
full functionality (I already have rewritten the logic that takes care of
moving figures properly). TIA for any useful ideas on how to solve this
problem.
PS I am not a native English speaker so I am sorry for any spelling or
grammar mistake.
Regards
Andrej
- Next message: Bob Powell [MVP]: "Re: A Table and GDI+ challenge in ASP.NET"
- Previous message: thomas wenning: "Re: Drawing a Rounded Rectanlge"
- Next in thread: Bob Powell [MVP]: "Re: A Table and GDI+ challenge in ASP.NET"
- Reply: Bob Powell [MVP]: "Re: A Table and GDI+ challenge in ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|