I have an ASP.Net page that is contained within an iframe the page has an update panel, that, in isolation, works however when the page is within the iframe, the update panel always produces a full postback. I guess that the problem is the iframe itself but id like to know
a) why it doesnt work
b) if there is a solution beyond rolling m...
The current ASP.NET site that I am working on calls for multiple listboxes, 3 to be exact. The first is for artists, second is for albums, and the last one is for songs. If you select an item from the artist listbox the album listbox will show the albums for that artist and the song listbox will show all the songs from that album im su...
Hello!
I'm having a bad couple of weeks. Everything I touch seems to break.
Ok, anyway...
I have a web application in Visual Studio 2008 and it's been starting to act stange.
I get a error message which says syntax error (nothing more).
It "points" to the first row in my file Forms.aspx.
The row says
<%@ Page Language="C#" MasterPageF...
I'm rewriting an internal application, which currently uses its own username/password combination. People are forever forgetting it, or not changing their password from the default, so I want to use single sign on and make use of our domain.
I am using .Net2.0 and I cannot find any ways of doing this outside of 3.5.
How can get the lo...
I have an odd session problem. I store a session in a global session class and access it on different pages. Anyway, most of my pages work fine except this one page which is really preplexing me. I set the session in one page and access it on the next for a SQL select / update /delete and with my FormView / GridView /Details View. Needle...
How to do following -
ASP.NET 2.0 TreeView and Selecting the Selected Node using JavaScript
I am trying this by reading this article,but it does not find getTreeNode() property on asp.net 2.0 treeview control.
...
Hi! I have a website in asp.net 2.0 with default membership provider. It was fine til yesterday.
When i add custom google search box in my website now i am getting the same error
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and vali...
Hi, I need to change the DateTimeMode of some columns in an already populated dataset. (I don't want to change it before it gets populated as it would mean making changes in several methods throughtout the application.)
Here's the stmt I am using (for a single column):
copy.Tables[0].Columns["DateColName"].DateTimeMode = DataSetDateTim...
What is the default session timeout value in ASP.NET?
...
hello i'm developing an application that includs a web service, on development time i run the service locally on my pc, than i publish the service to a remote server,
i wanna know how can i take the web reference that i got and just change the adress of the service to the remote server to check that every thing is ok
...
i am trying to send the value id inorder to connect 2 pages. the search page with the comments page.
this is the error i get
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code
Exception D...
Hi, I have a multi-select listbox which I am binding to a DataTable. DataTable contains 2 columns description and value.
Here's the listbox populating code:
DataTable copytable = null;
copytable = GlobalTable.Copy(); // GlobalTable is a DataTable
copytable.Rows[0][0] = "--ALL--";
copytab...
Hi
i am in middle of refactoring old asp.net code (some of it is from frontpage era) and am wanting to move all the references to the "$Resources:resources, ” from aspx pages to Page_Render in code behind file of each page.
Main purpose of this excersie is to support localization, as we have grown to other internaltional regions. Ther...
I have an applicationSettings section in my web.config in my ASP.NET 2.0 web application. This works perfectly for storing values and being able to access them as strongly-typed values.
Here is a snippet of my web.config:
<configuration>
...
<applicationSettings>
<MyWebsite.Properties.Settings>
<setting name="ExcludedIt...
Hi
I've downloaded the Ajax Control toolkit
When I create a website from the Ajax control Toolkit template, I can create a web service in a single file (asmx) and hook this up to different Ajax controls provided in the toolkit.
However if I add the Toolkit to an existing ASP.Net 2.0 appliction web project I cannot create web services ...
To refer to the root of a website in asp I use an ASP control (normal hyperlinks don't work!) and use the tide ~
However I am trying to achive the same with Jscript and it does not work.
I have set up a folder structure to better organise the files on my website. I have placed a Jscript file within the root of the folder structure an...
Hi,
I was using a File Upload functionality in ASP.NET .If the users are using the Browse button shown next to the textbox and selecting the required file then there is no issue about the file getting upload.
But instead if they are directly typing the file name in the textbox instead of using the Browse button then I should be able to...
Hi,
I am having one folder which contain all excel files.I want to show programmatically recent excel file in the page to download.I am using C#.net.plz help.
...
I have the following VB.Net 2.0 in an ASP.Net app:
output = Regex.Replace(output, "<p>(?:(?:\<\!\-\-.*?\-\-\>)|&(?:nbsp|\#0*160|x0*A0);|<br\s*/?>|[\s\u00A0]+)*</p>", String.Empty, RegexOptions.Compiled Or RegexOptions.CultureInvariant Or RegexOptions.IgnoreCase Or RegexOptions.Singleline)
Example stuff it matches well:
<p></p>
<p> ...
So I'm trying to introduce some caching into my Asp.Net application. New data for the user is returned from the DB in the form of large datasets. Whenever a user requests data I insert this dataset into the HttpRunTime.Cache. At the moment I'm setting their caching time to 2-3 hours. And these are really large datasets and I put them in ...