I need to show a Line Chart on an ASP.NET page where each data point has a tooltip that shows its exact X and Y values. A chart for a particular dataset will probably only ever be requested once, so caching is disabled and the chart will be regenerated if it ever needs to be shown again.
Restrictions:
Needs to work in a web garden en...
Hi,
I am developing a reusable ASP.net server control that needs to work in IE 6+, FF 2+ and Safari both Quirks and Standards mode.
The control will expose two user definable properties height and width both of these attributes can be defined as either a percentage or as a pixel value.
Inside the control I have two column Divs that c...
I am building a hierarchy structure from scratch and I am trying to determine the best route to take. I found the following link below from another StackOverflow question:
Nested Set Model
I like the idea of nested sets and have begun to build my database, based on this pattern. I am now unsure how to query the data out in such a w...
Hi there.
I have set up an ASP.NET MVC project, and everything is working great, but I do have one problem with the routing. My Global.asax looks like this:
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Default", // Route name
"{cont...
I'm working on my first application using ASP.Net with web services and I'm having an authentication issue. At least I think that's the issue.
When I run the application locally in debug mode it works fine. It even works when I run it out of debug mode (through IIS) in IE 7. But when I have a coworker run it (from my IIS) on their box, ...
I want to create a small windows application will go automatically every time period to my site and check if its running fine, if it found it down, not working or have an error "Examples: 404, network error, connection to db failed" it will show a message on my screen.
How can i know that there is an error there programmaticly using any...
It looks like this question was addressed here, but his solution did not work for me. I am creating a dynamic dropdown menu system that populates a secondary dropdownlist with the results of a query based on the selected item in the first dropdown.
First dropdown getting populated:
Dim db As New linqclassesDataContext
Dim categories =...
I have some data that must be presented in tabular form with multiple sections. In particular, Each section of data is broken up (with it's own headers) by day. This is basically a one-off single page deal, and won't really be maintained, so I don't want to put a lot of effort into architecture.
I have two tables. HEADERS and ITEMS. ...
I have really silly problem but it's been a week and I can't move forward.
I have small app that is protected by authentication. Everything works locally, you can log-in etc. On remote machine, you can't log-in, it tells you your login is not recognized. Now, I thought it might be db connection etc, so i made small test page that list as...
I have a sub routine where I pull in information from a database. I want to use variables from this sub routine in another sub routine. I tried making everything public but it doesn't want to be friendly and share.
Dim strEmail as String
Public Sub readDB()
strEmail = "[email protected]"
End Sub
Public Sub submit_btn(ByVal send...
Is it possible to authenticate users across sub-domains when the authentication takes place at a sub-domain instead of the parent domain?
For example:
User logs into site1.parent.com, and then we need to send them to reporting.parent.com.
Can I authenticate them to the reporting site even though the log-in occured at a sub-domain?
S...
We've got a ASP.net web app with a few pages that occasionally time out as the page loads (generally, these are all admin-type pages that do bug uploads / downloads with processing.)
One of the solutions has been to bump both Session.Timeout and Server.ScriptTimeout up to very large numbers - which works fine. However, there's quite a ...
I have an webpage with a calendar, a label to hold a currency value, and a label to say hello. When I select a language from the dropdown, it changes the currency label, the calendar, but hello does not change. Here is the stripped down code for the aspx page and the cs file:
ASPX:
<asp:Label ID="lblLanguageSelection" runat="server" ...
So i had a feature request to add fields to a second table row for a single data row on a GridView. At first, I looked at extending the functionality of the GridView but soon realized this would be a huge task and since I consider this request a shim for a larger future feature decided against it. Also want to move to MVC in the near fu...
I'm using the Context.Request.Cookies object to read/write cookies.
I'm simply writing a single line of text that is delimited by tabs ('\t'). Immediately when I read back in the cookie through the Visual Studio 2008 debugger, the cookie object contains the string value, but all the tab characters are converted to spaces.
When I publis...
hi
Assume we created strongly typed DataSet which consists of two tables - Categories and Products.
Anyways, typed DataSets enable strong type checking. What follows are examples I’m aware of where strong type checking is applied:
a)
Instead of performing string-based collection lookup, where entering the wrong name of a table or...
What's the best way to stream files using ASP.NET?
There appear to be various methods for this, and I'm currently using the Response.TransmitFile() method inside an http handler, which sends the file to the browser directly. This is used for various things, including sending FLV's from outside the webroot to an embedded Flash video pla...
I'm using DateTime.ParseExact to parse a string from input. What is the simplest way to make sure the date complies to rules like max days in a month or no 0. month?
...
Duplicate:
Can you recommend good hosts for ASP.NET?
Shared IIS7 hosting?
My website has been created entirely using ASP.NET MVC does anybody know the best hosting service for it?
...
A few days ago, I wrote about issues with implementing a ListView in ASP.NET. Now, with all of the other code written, I'm having trouble saving changed items in a ListView.
A few things of note:
The Save button is not part of the ListView proper; it calls the GetListViewItems() method, which in turns call the Save() method.
The Li...