Browse by Tags
All Tags »
Web (
RSS)
Because the .NET framework controls didn't plan in advance to be able to incorporate ASP.NET AJAX features into the framework, there can be certain things that make working with .NET controls harder. Take, for instance, the checkbox control. While...
In my talk, I was talking a little about the process of sending data from the server to client. In pretty much most data storage mechanisms or transports, the process of transporting data requires a serialization and deserialization process. For instance...
I found something interesting when dynamically creating a button in JavaScript. If I coded the button like the following: var button = document.createElement("INPUT"); button.type = "button"; parent.appendChild(button); button.value...
I tried to define the following: Public Class EvaluationCriteria Public DisplayText As String Public IsMet As Boolean = False Hoping that I could get away with this. Turns out, as these two values are referenced in binding via the Eval() method, these...
If you use web services to stream data to the client via the ASP.NET AJAX framework, you may experience challenges when you use LINQ to SQL or Entities as your data model. This is because LINQ objects retain all of their relationships, which the serialization...
I got this error when trying to view the WSDL, and to access the web service via AJAX. The issue turned out to be easy; the type name in the ASMX file didn't match the full name of the class. I switched folders for this object, so I created it in...
For whatever reason, an application of mine errorred on the page.Request.ApplicationPath statement. Apparently in IIS6, this isn't working for whatever reason. It returns null and the pathing doesn't work correctly. The virtual pathing approach...
If you get the error above, there could be a couple of reasons: The XML setup in the configuration file is in error; maybe there isn't a closing tag or something syntacticly is missing. If creating a custom configuration section, this could be that...
JavaScript code overall isn't that difficult to write. It may sometimes be hard to come up with a particular task, but it isn't that hard to write. It's hard to get syntatically correct, even with all of the features VS 2008 has to offer....
In ASP.NET, I try to develop in a "black box," often trying to keep the dependencies with methods small. This technique creates a low "fan-in" or loose coupling that makes the code easier to maintain in the future. With that said,...
The DataTable object has a nice feature when it comes to error handling. It has a HasErrors property that determines whether any errors exist in the table object. Using this, it's possible to loop through all the rows, then check the GetColumnsInError...
There are many resources out there on the web that illustrate exporting data to excel from an ASP.NET page, using the gridview control. This is the most common approach, though the Excel approach is not limited to a GridView control (I got it to work...
I've come up with some preliminary design specs of the initial functionality that I want in this control. I've included some of the interactions that can happen in the control, and the basic view (once I figure out how to attach an image, I'll...
I really like some of the components you see in computer magazines. They have a visually appealing, yet functional approach to being able to schedule work items and tasks, similar to what you can do in Outlook. I haven't done this yet; it's not...
You may have noticed that the Page has an items collection. This items collection can store any information, as it's a local dictionary. I could not find anywhere where the dictionary is serialized and stored, so the dictionary is only temporary and...
More Posts
Next page »