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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | with no comments
Filed under: ,
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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | with no comments
Filed under:
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....
Posted by bmains | with no comments
Filed under: ,
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,...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | with no comments
Filed under:
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...
Posted by bmains | 3 comment(s)
Filed under: ,
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...
Posted by bmains | with no comments
Filed under: ,
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...
Posted by bmains | with no comments
Filed under: ,
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...
Posted by bmains | 9 comment(s)
Filed under:
More Posts Next page »
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.