I am trying to specify CSS classes for the autocomplete control:
CompletionListCssClass="completionListElement"
CompletionListItemCssClass="listItem"
CompletionListHighlightedItemCssClass="highlightedListItem"
When I try this, it returns this error:
Parser Error Message: Type 'AjaxControlToolkit.AutoCompleteExtender' does not have...
Does anyone have any recommendations for performing the following in ASP.NET code:
1) Login into a password protected site with a username and password (target site is not necessarily ASP.NET)
2) Navigate to a specific page and/or perform a search
3) Pull specific data from the page (this is the easy part)
Although using an API would...
I'm using a Custom Session State provider to store our session data in our Sybase Database.
It's working well, but some reports in the report viewer control consistantly cause the following crash.
System.Web.HttpException: The session state information is invalid and might be corrupted.
Generated: Thu, 02 Apr 2009 20:21:47 GMT
System....
I have an object that I serialize to XML. If one of the properties in the object is null, then native serialization ignores to add this as the attribute. Is this normal behavior, if so, is there a way I can override it?
ex:
public class Test
{
[XmlAttribute]
public string value {set; get; }
[XmlAttribute]
public string key {se...
I have a custom PageBase class that I am using for all of the pages in my project. In my BaseClass I have a protected override void OnLoad(EventArgs e) method declared. This method seems to make my derived classes unable to throw their own OnLoad event. What is the preferred way of making both OnLoad events able to work?
...
Im getting this odd error:
Any help would be great?
This is the error:
Server Error in '/Rugby' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file...
I have a web application in Visual Studio 2008, and I have found an article explaining how to extend GridView creating an inherited class.
If I create that class inside the same project, is possible to use my new grid? How?
If it isn't possible, why?
...
I want to bind a List to a GridView on a web page, but override the way the property names display via annotation. I thought System.ComponentModel would work, but this doesn't seem to work. Is this only meant for Windows Forms?:
using System.ComponentModel;
namespace MyWebApp
{
public class MyCustomClass
{
[DisplayName(...
I have an issue with the conditional display of the formview edit button after a partial postback triggered by the formview control. I have an edit button defined in the ItemTemplate like this:
<asp:FormView ID="fvGenericDetails" runat="server">
<ItemTemplate>
<asp:Button ID="btnEditGenericDetails" runat="server" Visible="fal...
I have searched the site, and while I found some very useful information, I couldn't figure out what is going on with my code. I have the following web.config:
<?xml version="1.0"?>
<configuration>
<system.web>
</system.web>
<system.webServer>
</system.webServer>
<appSettings>
<add key="APIKey" value="23e24c73feed7ca0f6...
Lets say we have an Edit View to edit our data, and we want to let the user know the result of their edit ie. to confirm that it was indeed saved successfully on the Model.
One solution is to assign a message to ViewData in the Edit Controller action method, and then use the View to display the message back to the user.
e.g. In the Edi...
Hello people ! That is my first question around here, my name is Anna!
My problem:
My client has several personal devices (blackbox with gps) to locate people/car... There are about 12000 people/car using that device... It sends their location to specified IP/Port... I can´t do anything on that side...
My job?
Devolope a listener to ca...
I'm trying to use log4net to write to a customer event log under IIS7 on Windows Server 2008 SP1. However, account doesn't seem to have access to write to the event log. Does anyone have any suggestions?
...
Let's say that you will start a new Asp.Net web site/application tomorrow. What your choice between WebForms and MVC, and why?
...
Greetings!
I'm new to WCF and I thought it would be similar to ASP.NET web services, but I'm unable to call a method from client-side JavaScript. My web form looks like this:
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="...
When, during the life cycle of a Request, does a web.config <location path='The/Path'> tag execute?
...
What's the best way to implement a download system?
It needs to be integrated with an asp.net application.
I need the following features:
Deliver files larger than 50mb
Only users authorized by an asp.net login page can download
Need to know if the user downloaded the whole file, or part of it
Once the file is downloaded or canceled,...
OK, so I'm working on an ASP.NET webapp with AJAX and the Windows Live ID SDK. I've successfully gotten it to authenticate via Live, however...
The Windows Live ID spec indicates that I have to look for request headers "login", "logout", and "clearcookie". The recommended code samples include a Response.Redirect, which doesn't seem to...
I want to perform this date check:
The date entered by the user should not be less than 12 months ago from the current date, e.g.
if date_value > '03-apr-2009'
How do I write .NET code to do this?
...
I have the XML given below. From this XML, in an ASPX page with an ASCX control that will contain the data, I want a drop-down on top with option "GMAT", "GRE", "LSAT", and "MCAT". And when I select GMAT below it will show only GMAT brochure and same with others.
Can you please provide some code for this?
<?xml version="1.0" encoding=...