April 2003 - Posts

PopUp New Window in List Control with Multiple Parameters

Just saw 2 very similar post in the ASP.NET Forums yesterday (It would probably be a FAQ about using Javascript and DataGrid)

- NavigateURL Javascript

- opening a new window from inside a DataGrid

 

My suggestion solution is like that:

PopUp New Window in List Control with Multiple Parameters

<asp:TemplateColumn>
    <ItemTemplate>
        <asp:HyperlInk
                ID="HyperLink1"
                Runat="Server"
                NavigateUrl='<%# "Javascript:var PopUpWin = window.open(""WebForm2.aspx?Param1=" & DataBinder.Eval(Container.DataItem,"Field1") & "&Param2=" & DataBinder.Eval(Container.DataItem, "Field2") & """)" %> '
        >
            <%# Container.DataItem("TextField") %>
        </asp:HyperLink>
    </ItemTemplate>
</asp:TemplateColumn>

Colt

P.S. the approach above would avoid the problem of showing the screen of [Object] on the parent page.

Posted by Colt | 16 comment(s)
Filed under:

Windows Server 2003 and Visual Studio .NET 2003 Launch Day

Just back from the Windows Server 2003 and Visual Studio .NET 2003 Launch event offered by my local Microsoft office, I have a bit disappointed about this event today...

The server is cool, the speeech demostrate some cool features in the new Server (though I think these are not any new thing and can also be found in Windows 2000 Server).

Well, the point is this launch event is obviously focus and target on the sell and marketing of the Server, and they seem forget the .NET Developer group and Visual Studio .NET 2003...

Anyway, I like the gift they give me today, that's a set of tools such as screwdriver! (I don't know is it good to get these tool as it give me a feeling that.. the server is not stable or I have to open the case of my PC by these tool and myself if I use their product?! :P

I'm looking forward to the Architect and Developer Session tomorrow. :)

Colt

Update: I heard tens of "Do more with less" today... well, my friend maybe right - "Do more with less (income)" - in the current challenging soceity here.

 

 

Posted by Colt | with no comments

ASP.NET Web Matrix Update Details

Firstly, I'm really excited to see the message from Nikhiko today in the ASP.NET Forums

      >> Web Matrix update details <<

Nikhiko and his teammates created the amazing community-supported, easy-to-use WYSIWYG application development tool for ASP.NET - Web Matrix - some times ago, it's build by the ASP.NET Teams in their free time, and the message posted by him today announce the approximate release day of the next build of Web Matrix and highlight the additional and amazing features for Web Matrix. This is another great status update in addition to ScottGu's recent blog - New Version of Web Matrix Making Progress...

Being a big fan of Web Matrix, I'd definitely looking forward to test and try this lovely tool - the ASP.NET Web Matrix.

Posted by Colt | with no comments
Filed under:

A new comer in ASPAlliance

I got a pretty interesting notice that a new columnist born in ASPAlliance yesterday. He's called Andy, I'm glad to see this happened because he's come from the same city with me - Hong Kong. It's a small place with around 7 millions of people only, but 2 columnists (included me) come from this place in ASPAlliance.com, you know the percentage/portion? :)

Anyway, I'm looking forward to see more and more Hong Kong citizen or Asian out there. :)

Colt

Posted by Colt | with no comments

.NET Book

When browsing around the blogs, I found that most of the bloggers read LOTS of articles and reference books about ASP.NET since Beta 1/2. However, the situation is a bit different for me, as there are FEW books in Hong Kong. One of the reason is that the bookstore owner won't purchase computer book in ENGLISH, (English is not our mother tongue) or they just purchase a couple of the 'best selling' books only.

It's normal to see that you have to programming in a language that is not your mother tongue (I mean speaking language, but not programming language :P ) I'm sure most of the people out there are like me:

TimeSpend(Coding+Email) > TimeSpend(Face2FaceChat)

Anyway, what I want to say today is the book, the bookstore sell the English version of the books, well, you read it.. nice, but there are some books in another corner selling the 'translated' book (Maybe the same cover but printed in another language) When you read a translated technical book - it's pretty hard to understand, especially the technical terms and you will get lost after reading it as you will find everything in Visual Studio .NET / Web Matrix are in English. (If anyone know any publisher or import/introduction of Books to other regions, plesae let me know as the shipping cost of book from the online bookstore to my region may sometimes more expensive than the original cost of the book. :| )

Anyway, the situation is now changed, as I got LOTS of books after my trip
to Seattle, and I bought a few books that seem to be NEVER appear in
Hong Kong (Few of them are MOST PROBABLY won't be re-printed or published anymore, and I finally get the Nikhil's book though lots of people may read it second/third times now. :)

I'm now busy in work and read book, and I'd like to thanks Charles Carroll and Rob Caron. (I'm so busy and sleep <2-3 hours/day just because of them!)I'm FULL (hunger of reading book in the past) mentally and physically, but their help are really great and definitely useful for my future development. They select and transport the most valuable books and I even don't have to read any review in advance ;)

One of the book I read recently is a Performance book, which cover lots of information about the background and concept when coding in ASP.NET, and it also answer many FAQ in the Forums or Lists, e.g. DataSet VS DataReader? (DataSet use DataReader behind the scene in fact; Use 'Index' or 'ColumnName' when getting data from DataReader, they really spend time in 'tracing', record and capture the screen of the processing... The beauty of this book is like that, which would remind you the basic and trick. I'll write more book reviewing and share with my friends after the digestion of these books. ;)

Colt

Posted by Colt | with no comments
More Posts