Click on this icon to open the XML page.Tom Van Gaever - Blog
Search:   

Ajax.Net & Firefox: onmouseover problem 
Thursday, September 6, 2007, 11:40
Posted by Administrator
When you want to use a onmouseover event that triggers through javascript a method from serverside c# code, you need a button ...

HTML ATTRIBUTE

onmouseover="GetItems()"

JAVASCRIPT
function GetItems(){
document.getElementById('btn_getitems').click();
}


ASP.NET BUTTON
<asp:Button id="btn_getitems" runat="server" OnClick="btn_getitems_Click" UseSubmitBehavior="false" style="visibilty: hidden;"/>

It is very important to use the UseSubmitBehavior="false" attribute because otherwise your serverside method won't be called.

C#
public void btn_getitems_Click(object sender, EventArgs args) {
DisplayAllItems();
}


Now you see that when you use the onmouseover in Firefox works as great as in IE...

;)
1 comment ( 15 views )   |  permalink   |   ( 3 / 606 )
Silverlight 1.0 Released and Silverlight for Linux Announced 
Wednesday, September 5, 2007, 20:18
Posted by Administrator
Silverlight is a cross platform, cross browser plug-in that enables designers and developers to build rich media experiences and .NET based RIAs for the web.
Silverlight 1.0 and Expression Encoder 1.0 Released

Today they shipped the Silverlight 1.0 release for Mac and Windows. Silverlight 1.0 is focused on enabling rich media scenarios in a browser.



Links:
Tafiti search
HALO 3 HD
Scott Guthrie
add comment ( 1 view )   |  permalink   |   ( 3 / 623 )
Paint 
Wednesday, September 5, 2007, 19:57
Posted by Administrator
Fantastic video about paint, watch and take conclusions :)


add comment ( 1 view )   |  permalink   |   ( 3 / 560 )
LINQ 
Monday, September 3, 2007, 08:37
Posted by Administrator
On my quest of unlimited knowledge I discovered the existence of LINQ also known as .NET Language Integrated Query.

This new technologie is something everyone would like to use in their projects, it's easy to create and it allows you to model a relational database using .NET classes. You can then query the database using LINQ. very handy!

read more: http://tomvangaever.be/blog/static.php? ... 905-213447

some interesting sites where you can find a lot more useful information:


add comment ( 7 views )   |  permalink   |   ( 3 / 672 )

<<First <Back | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |