I created a simple user control using the AJAX Control Toolkit Accordion, LinkButton, and TextBox like this:
TestControl.ascx:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TestControl.ascx.cs" Inherits="TestControl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<cc1:Accord...
I am working on rendering a set of cart items using a user control. Each cart item can be removed via a button in the user control. When a cart item is removed I need to visually show it's removal. However, since the cart item existed during the loading of the page it remains until the page is refreshed again. What I am after is a means ...
I have a .NET 2.0 ClickOnce application that runs in a corporate environment and it's setup to work via Windows Authentication.
So the users download the app via ClickOnce and then it connects to an IIS server and communicates via Web Service calls.
The problem is that for every single call there is a double handshake. The first cal...
I'm trying to upload a file in VB.NET using an HtmlInputFile, but everytime I upload, the HtmlInputFile's PostedFile is Nothing.
Here is my ASP.NET code:
<form id="Form1" method="post" runat="server" enctype="multipart/form-data">
<asp:DataGrid id="dgTitles" runat="server" OnUpdateCommand="dgUpdate" DataKeyField="ID">
...
Hey everyone,
I am making a POST to a webservice that is local to the webserver. Everything works great until I host the site at my SSL enabled webserver. The webservice path is relative, meaning, I am making no reference to the protocol. eg. /webservices/method.asmx
The POST results in a runtime error. Has anyone seen this before?
$....
Hello - I have a simple web method and ajax call and continue to recieve an error that saying that it can't convert a string to an IDictionary object???
Here is the ajax call:
var params = '{"ID":"' + rowid + '"}';
$.ajax({
url: 'EDI.asmx/GetPartnerDetails',
type: "POST",
...
Hi,
I'm trying to load an image that is in the root dir of my project:
Dim b As Bitmap = New Bitmap("img.bmp")
but it doesn't seem to find the file.
I've tried various combinations like ~img.gif, /img.gif, \img.gif, ~/img.gif etc, but none seems to work. How to access the "current directory on server" in ASP.NET?
Thanks
...
Has anyone created a 'realtime' csssprite generator for .NET ?
I want one or more directories of images that get loaded at runtime and the css is automatically generated.
...
I've been trying to get this aspx page to serve up a pdf. It works correctly in Firefox, but IE gives
Internet Explorer cannot download getform.aspx from SERVER_NAME
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found.
This is the general functionality of my co...
What's the best way to modify web.configs (and other XML based configurations)? I'm needing to automatically apply certain settings based off environment.
...
I have a web site written in asp/c# and I am looking to add shopping cart edit facilities and delivery options plus allow payment using a card.
I assume that some standard software packages are available to buy which provide this functionality as it is becoming a fairly standard function on the web.
What would be the best software to...
I want to use that and to be able to sort and edit records inside a gridview.
Is possible? How? Thanks!
...
I am using asp.net webforms 2.0, c#.
What I need is a simple, elegant way to do the following:
User clicks an element in webform A; Webform B pops up; User interracts with webform B; On closing webform B, probably by a submit button, the source element in webform a a is updated with a value from webform B.
What technologies would be i...
Initially I was trying to figure out what the difference is between Response.Close and Response.End, but after doing more googling and research, its clear that I haven't seen a common way a Byte[] gets sent back to the client. I'll leave the code sample below, but I would like to know what the industry standard is for doing this.
Byte[...
I posted several times but no one would give me an answer that I can understand in plain English. I am new to JSON/JQuery/Ajax/all other cool libs or tools you may advise me on, so keep that in mind.
I am using c# with asp.net web forms (i also have ajax toolkit, but haven't used it yet).
Here is my scenario:
I need to implement a func...
When developing a web app, in my case a ASP.NET MVC app, but this question isn't platform specific, when you do you add the infrastructure for membership, roles and authentication?
I've actually done it both ways....
1. Start developing the app with membership/roles/authentication being one of the first milestones and
2. Wait until mos...
We need some simple ad-hoc reporting solution for our ASP.NET web-site.
Just an ability to build a query with user friendly interface, then show the result of this query in some table and maybe export it to Excel or print.
The solution must be quite easy for end users (our site visitors) who know nothing about databases, SQL and other ...
In ASP.NET MVC how can I generate a URL to a specific controller and action along with other parameters. The RedirectToAction allows me to redirect, but I would like to retrieve this URL instead from within my controller.
I tried using:
Url.Action("Page", "Administrator", New With {.page = _currentPage})
But that returned a link like...
This might be a 'duh' question after all.
Are there any caveats running an asp.net (3.5) application on a local host? Assuming I have all the required services installed, I am looking for pitfalls/ troubles in terms of
database access
reporting/ charting and other such features
performance
The main reason for this is that the app ...
During development, i can easily manage my users/roles/smtp etc using the "Administer Web Site" or "ASP.net configuration "command in Visual Studio. Once the site is deployed to a IIS server, How can i get the same functionality (user and role management).
I am using IIS 6
Edit 1
My Server doesnt have the web server executable mention...