Browse by Tags
All Tags »
Web (
RSS)
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...
One of the problems you may experience is the issue of postbacks with the "staleness" of queried data. Because ASP.NET is stateless, when after unloading resources, all previously known resources are gone. A common way to keep data around is...
If you are familiar with LINQ, you know that your objects have hierarchies, that can be a challenge when binding to ASP.NET tabular controls such as the GridView. So how can you do this? Anonymous types can come to the rescue. For instance, if you want...
When trying to get a panel to display dynamically in conjunction with the HoverMenuExtender, there are some issues with displaying the content while forcing a scrollbar using the overflow-x and overflow-y CSS styles. As a personal recommendation, to implement...
More Posts
Next page »