News in the Category: XML Subscribe to the rss of this category.

Total posts: 3778 | Sort by Views | Sort by Hits

Virtual Earth Ink Progress

Julia Lerman Blog - Dont Be Iffy..., August 23, 2005
Views: 19,844 | Hits 386

I've been fiddling some more with Virtual Earth Ink. I discovered that there are cases where the tiles don't get realigned before going over to the inking i...

Close an IE window without prompt

E-Surfers Weblog, February 3, 2006
Views: 12,912 | Hits 183

Usually, we need to close an IE window without prompt, the code below can achieve this. <html><head><script type="text/javascript">function closeWindow() {  this.focus()...

Moving HTML objects using drag and drop around, CSS and JavaScript

Aspects of AJAX, April 25, 2006
Views: 9,947 | Hits 143

If you want to enable a custom page layout for the user or a drag & drop functionality in your solution you need a mechanism that enables moving html objects around. Here is a cross browser compat...

Crystal Reports .NET Error - "The request could not be submitted for background processing."

Richard Dudley, October 27, 2005
Views: 9,861 | Hits 399

There are several causes for this message, you should read all the information before trying any one of these solutions. 1) This is a known issue in some versions of Crystal Reports, and there is a ho...

ASP.NET 2.0 Master Pages - But how do I run JavaScript onLoad

Clarity Blogs: ASP.NET, December 22, 2005
Views: 9,853 | Hits 90

Great question.  I hit this problem 5 minutes into developing my first Master Pages website.  Inside the Master Page, you can define the usual JavaScript class file, or include in-page ...

Binding to custom web.sitemap attributes

-[Danny Chen]- Blog of an ASP.NET QA tester, March 28, 2005
Views: 9,682 | Hits 262

We've had various feature requests come in for the site navigation feature to include additional built in properties.  This got turned down because it wasn't really useful data abo...

How to Implement a Repeater Control with Pagination

ASP.NET Daily Articles, June 10, 2005
Views: 9,266 | Hits 2,123

Repeater is a data-bound list control that allows custom layout by repeating a specified template for each item displayed in the list. I like the Repeater control because it is the only control that a...

Breaking changes in MSXML6

Signs on the Sand, November 9, 2005
Views: 9,072 | Hits 213

Just released Microsoft Core XML Services (MSXML) 6.0 introduces some security-related breaking changes in XML and XSLT processing, but MSXML6 SDK documentation isn't released yet (expected next week)...

The DotNetNuke News Feed (RSS) Module

DNN Creative Magazine for DotNetNuke, November 1, 2005
Views: 8,537 | Hits 528

This DotNetNuke® Video Tutorial demonstrates the DotNetNuke® Core News Feed (RSS) module, covering: Adding the module to a page Selecting an RSS feed to display from ...

GridView Bulk Editing

GridViewGirl, February 25, 2006
Views: 7,244 | Hits 1,015

Matt Dotson of Microsoft has a good article on editing multiple rows at once using the GridView. Of particular interest is that he implements this (in C#) by creating a server control, der...

Get the total number of rows from a data-source control

Fredrik Norméns Blog, September 29, 2005
Views: 7,083 | Hits 1,805

This is a simple trick about how you can get the total of rows returned from your SqlDataSource control’s SelectCommand query.   When you bind a data-source control to a GridView control an...

A generic serialization method

Clarity Blogs: ASP.NET, July 9, 2006
Views: 7,074 | Hits 76

I found myself frequently needing to serialize data into an XML string so I could examine the format of the data to ensure it conformed to spec so I wrote a generic serialization method that will take...

XML Serializing Entity Framework entities with their children for SOA

Julia Lerman Blog - Dont Be Iffy..., October 2, 2007
Views: 6,878 | Hits 1,129

Another challenge in working with tiered solutions (notably web services) that require xml serialization of entity objects is that the xml serializer does not serialize the entire graph. It only gets...

About custom type mapping with Hibernate

Fredrik Norméns Blog, June 27, 2006
Views: 6,829 | Hits 122

A friend of mine (Niklas Therning) send me this intersting URL about my previous ”Adapter” question/so...

Gathering form data for AJAX posting

E-Surfers Weblog, February 2, 2006
Views: 6,526 | Hits 22

When migrating an existing application to AJAX-based technologies, we need to make some change the exising code. For example, to submit a form, the code maybe changed to: function add2Cart(frmObj) {&...

XML Serializable Generic Dictionary

MrDaves (David Yack) Blog!, November 28, 2006
Views: 6,416 | Hits 629

I still get frustrated when I come across classes that don't serialize  - when there part of the framework that even makes it worse.  Why can't we have a Serializeable set of generics out th...

SoapException.Message on the Client

Rick Strahls WebLog, August 11, 2006
Views: 5,956 | Hits 1,060

I hate the way SoapExceptions return messages to the client. So, assume you have a server side WebMethod that throws a SoapException like this:   [WebMethod(Description="Returns messages using X...

HTML elements with rounded corners

Aspects of AJAX, April 17, 2006
Views: 5,773 | Hits 117

HTML elements up to now have always a rectangle shape. In the upcoming CSS3 standard (still a proposal) there might be also other border shapes available including rounded corners by specifying a ...

Pagination in JSP

E-Surfers Weblog, August 29, 2005
Views: 5,591 | Hits 542

We often have the requirement to paginate large amounts of records retrieved from database into pages. I have first used the Pager Tag Library from It works fine when there is a small qua...

XmlDocument to DataSet

Carl Camera, September 1, 2006
Views: 5,576 | Hits 218

XmlDocument to DataSet in two lines. This is the quickest conversion I've found so far.XmlDocument xdoc = MethodReturnsXmlDocument();// convert to DataSetDataSet ds = new DataSet();ds.ReadXml(new Xml...

Stylesheets for XAML

Sahil Malik [MVP], October 17, 2005
Views: 5,571 | Hits 52

Now we all know that HTML has something real neat called CSS, or cascading style sheets. Essentially it is a great way to control your UI, without having to do surgery to your HTML. It is a great weap...

A simple trick to hide an html element

Fredrik Norméns Blog, August 10, 2005
Views: 5,499 | Hits 409

I’m now done with the last part of the book I’m writing together with other MVPs. So this will probably give me some more time to update my blog. I will start to prepare a ASP:Net 2.0 Micr...

Adding Web User Control To A Class Library In VS.NET 2005

youve been HAACKED, February 7, 2006
Views: 5,485 | Hits 699

If youve started on module development with DotNetNuke 4.0 and above in Visual Studio.NET 2005, you might run into a problem with trying to add a Web User Control (*.ascx file) to a class library. T...

Use LINQ to XML to Generate Excel Documents

Jason N. Gaylords Blog, August 11, 2008
Views: 5,472 | Hits 103

I was looking for a quick and easy solution to export data from SQL into an Excel format from within my ASP.NET application. I came across a great video posted by Beth Massi on the website (Vi...

My Chemical Romance

meta-douglasp, February 26, 2006
Views: 5,261 | Hits 33

I am old. I really shouldn't like this band, but I can't help myself. They have been my favorite band for several months and I think that Thank You For The Venom was the most pl...

XAdES Interop with XML-DSIG as implemented by the .NET Framework

Softwaremaker, February 8, 2006
Views: 5,189 | Hits 623

What a way to start off a new category on my blog called "Interoperability". I recently came across an interesting post in the forums that goes something like this: [QUOTE] ...

A Simple Alphabet Select List

Brendan Tompkins, November 10, 2005
Views: 5,071 | Hits 750

Recently, I decided that our user administration pages here at work for our public website was due for an overhaul.   The old version had become very painful to work with indeed, since depen...

Calling WCF service asynchronously from ASP.NET

Jotekes Blog, October 26, 2008
Views: 5,030 | Hits 28

I was recently asked how to call WCF Service asynchronously from ASP.NET. Here's my sample code:1) WCF Service Library Implementationnamespace WcfServiceLibrary1 { [ServiceContract] p...

Implementing Business Rule Engine

Integration through Biztalk, August 6, 2007
Views: 4,811 | Hits 125

(To be Updated)This weekend I got down and dirty with BRE (Business Rule Engine). It is a powerful tool for doing on the fly changes. I think it justify its usage in complex logic scenarios. I thought...

Use TreeView to display nodes from an XML file.

Fredrik Norméns Blog, April 4, 2005
Views: 4,751 | Hits 650

As you probably know, the TreeView and Menu control can use the SiteMapDataSource to display the element located in the web.sitemap file. Those controls can also use an XmlDataSource to get its data f...

XML -> JSON Serialization

Ajax.NET Professional, June 19, 2006
Views: 4,732 | Hits 101

With the next release of Ajax.NET Professional you will be able to transform any XmlDocument or XmlNode into a JSON object. This is really cool because we have already a lot of xml documents in our we...

How to install the FCKEditor - Video Tutorial

DNN Creative Magazine for DotNetNuke, April 3, 2006
Views: 4,730 | Hits 707

This free video tutorial demonstrates how to install the FCKEditor. This editor can be used to replace the FreeTextBox editor that comes as standard with DotNetNuke.The FCKEditor is a WYSIWYG text edi...

Invalid project description

E-Surfers Weblog, August 20, 2005
Views: 4,706 | Hits 612

Today, when I imported an existing project into eclipse's workspace, I got the following error: Invalid project description. D:/eclipse/workspace/report and D:/eclipse/workspace overlap In the beginn...

Getting MAX with XSLT

Jotekes Blog, June 11, 2006
Views: 4,475 | Hits 376

This is FAQ for those used to work with XSLT. Anyway, this one was also asked on Forums. The question in shortened form was: I have the following XML: <sm><Allocations><Item Parent="C...

How to Databind RadTreeView in WPF

the telerik blogs, August 5, 2008
Views: 4,448 | Hits 41

Download the source code of the samples here. This is the first part of a series of posts demonstrating common scenarios of RadTreeView control. I'll be covering both WPF and Silverlight. One of the m...

Telerik.QuickStart.XhtmlPage is a testing tool too!

the telerik blogs, February 19, 2006
Views: 4,433 | Hits 41

Many a customer has asked us "What, the heck, is XhtmlPage and do I need it to run your components?"  It is an oddity in our QuickStart examples application that needs some explanation.  A...

Serialize Arrays and ArrayLists to XML

XML for ASP.NET Developers - Dan Wahlin, September 12, 2003
Views: 4,424 | Hits 616

The XmlSerializer class provides a great way to convert (serialize) objects to XML and back (deserialize). However, it can be difficult to properly serialize collections such as Arrays and ArrayLists...

Creating Pdf by using NFOP.. the old way (no Crystal Reports)

ASP.NET Announcements, July 24, 2005
Views: 4,424 | Hits 627

On my blog you will find the code sample that explains how to use the NFOP library to generate pdf from .NET without using crystal reportsApache has a Apache Formation Objects Processor (FOP) which is...

ASP.NET : Binding XML Data to TreeView with Checked state of Checkboxes

GotDotNet: New resources, April 25, 2006
Views: 4,349 | Hits 676

This article describes on binding XML Data to Treeview and retain the Checked state of the Treeview from Database...

Ajax vs. Silverlight and .NET

Nikhil Kotharis Weblog, April 8, 2008
Views: 4,349 | Hits 456

I get the Silverlight vs. Ajax question all the time, whether it is at a conference, over email, or over on discussion forums. In the interest of seeding a broader discussion, and hearing what other p...

System.IO.Compression vs. file compression

Julia Lerman Blog - Dont Be Iffy..., January 3, 2006
Views: 4,309 | Hits 252

A good clarification for me. One of the great and under-rated features of .NET 2.0 is the System.IO.Compression namespace which allows stream compression. But it's important to unde...

WTF: "Soap Serializer does not support serializing Generic Types"

Frans Boumas blog, December 12, 2005
Views: 4,236 | Hits 565

So, there you are, with your shiny new .NET 2.0 generic collection using library, trying to push some objects over the wire via remoting. Works great, well, if you use the BinaryFormatter that is. Tr...

Streaming XML filtering in Java and .NET

Signs on the Sand, August 13, 2006
Views: 4,178 | Hits 149

XML processing is changing. In Java SAX slowly but steadily goes away or at least goes into low level and nowadays Java with StAX is not so different from .NET XmlReader. I found it pretty interesting...

On XmlReader/XmlWriter design changes in .NET 2.0

Signs on the Sand, May 29, 2006
Views: 4,165 | Hits 257

From .NET 1.X experience Microsoft seems finally figured out that providing a set of concrete poorly composable XmlReader and XmlWriter implementations (XmlTextReader, XmlTextWriter, XmlValidatingRead...

Task Manager - Can't Close it

Julia Lerman Blog - Dont Be Iffy..., November 4, 2005
Views: 4,140 | Hits 269

Have you ever accidentally double clicked on the task manager and lost all means of closing it I did this the other day and could not for the life of me figure out what had...

A generic deserialization method

Clarity Blogs: ASP.NET, April 15, 2007
Views: 4,103 | Hits 33

A while back I posted code on a method that would allow for serializing any object that was serializable into XML called 'A generic serialization method'.  I had some requests on how the XML coul...

Crystal Reports .NET Error - "The request could not be submitted for background processing."

Pencil Bros. Geology, Inc., October 27, 2005
Views: 4,067 | Hits 7

There are several causes for this message, you should read all the information before trying any one of these solutions.1) This is a known issue in some versions of Crystal Reports, and th...

Converting from XmlDocument to XDocument

XmlTeams WebLog, March 31, 2009
Views: 4,007 | Hits 258

Converting from XmlDocument to XDocument has a number of benefits, including the ability to use LINQ to XML, use a much cleaner object model, get better name handling with XName and being able to use ...


steve maines blog, August 1, 2006
Views: 3,939 | Hits 151

By default, the WCF dispatch runtime will match messages to their destination endpoint using an exact matching algorithm on the message's To: header. This means that if you have...

The @ServiceHost Directive

steve maines blog, June 23, 2006
Views: 3,909 | Hits 230

One of the most common exceptions people seem to run into when building IIS/WAS-hosted WCF services is the dreaded Parse Error: The unknown directive @Service was specified. Thi...