Geeks With Blogs
.NET, jQuery, SQL, and between my notepad (These postings are provided "AS IS" with no warranties, and confer no rights.) ASP.NET There are 6 entries for the tag ASP.NET
Silverlight 4.0, Visual Studio 2010, .NET 4.0 released
Technorati Tags: Silverlight OK, now that Silverlight 4.0 finally is out (http://weblogs.asp.net/sco... its time to learn it. Also VS 2010 and .NET 4.0 released (http://weblogs.asp.net/sco... And remember about Windows Phone! There is more than enough information on the web. One thing that I would like to see from Microsoft is a complete reference example of business application. Personally ......

Posted On Saturday, April 17, 2010 1:09 AM

ASP.Net TreeView - scroll to the expanded node
Technorati Tags: ASP.NET,TreeView,jQuery When we expand TreeView node JavaScript function TreeView_ToggleNode gets executed (it’s part of the TreeView control itself). So we will “override” this function and add our own functionality to perform scroll to the expanded node. To find source code of TreeView_ToggleNode function you can use IE Developer Toolbar or Firebug. I removed some code from this function that I don’t need to make it shorter. Here is the result. Everything should be pretty self ......

Posted On Wednesday, January 27, 2010 1:05 AM

ASP.Net TreeView - scroll to the selected node
Technorati Tags: ASP.NET,TreeView,jQuery If we have TreeView inside of the div with the fixed width and height we want selected node to be visible after postback. Here is small JavaScript function that does this (you don’t have to use jQuery as I did to get the result): 1: function ScrollToSelectedNode() 2: { 3: //* get selected node id 4: //* 'tvwScrollTo' - is our tree view id 5: var selectedNodeID = $('#<%=tvwScrollTo.ClientID %>_SelectedNode').val(); 6: 7: if (selectedNodeID != '') 8: { ......

Posted On Wednesday, January 27, 2010 12:25 AM

Get ASP.NET TreeView – get selected node id on the client side
Technorati Tags: TreeView,ASP.NET,JavaScript TreeViewClientID_Data.selec... where TreeViewClientID_Data is the name of the TreeView javascript object that has “selectedNodeID” property. We can easily load this object and get selected node id like this: 1: Sys.WebForms.PageRequestMan... 2: 3: function EndLoadedHandler(sender, args) 4: { 5: //* make sure that object is fully loaded 6: var data = eval('<%=tvwScrollTo.Cli... %>_Data'); ......

Posted On Monday, January 25, 2010 11:04 PM

Jquery Simple Modal plugin
You can upload this example from here (I had made some small modification to the original code but it should be easy to understand. This solution uses just HTML and jQuery): http://cid-4fb5a48846336376... I needed a very simple solution that allows me to show centered modal div. ASP.NET Ajax Control Toolkit has modal popup (http://www.asp.net/AJAX/Aj... And also there are many of jQuery examples. But ......

Posted On Sunday, December 20, 2009 2:27 PM

My jQuery cheat sheet
I want to put in this post some the jQuery methods that I found myself searching the web every other time i need them for the future reference. Check if element exists: if ($('#elementID').length > 0) { // do somehting } Disable/enable element $('#elementID').attr('disab... 'disabled'); $('#elementID').removeAttr(... Clear DropdownList or ListBox $('#ddl_ID >option').remove(); Add entry in the DropDownList or ListBox $('#ddl_ID').append($('<... ......

Posted On Wednesday, December 16, 2009 8:28 PM

Copyright © vladimirl | Powered by: GeeksWithBlogs.net | Join free