Given this xml
<Documents>
<Section>
<SectionName>Green</SectionName>
<Document>
<FileName>Tier 1 Schedules</FileName>
</Document>
<Document>
<FileName>Tier 3 Schedules</FileName>
</Document>
<Document>
<FileName>Setback Schedule</FileName>
</Document>
<Document>
<FileName>Tier 2 Governance</...
I've recently ran into some code that checks Page.IsCallBack but I wasn't sure how it is different from Page.IsPostBack. Can anyone enlighten me?
Edit: Are they mutually exclusive or can both occur at the same time in a given situation?
...
I have a forum application using asp.net, c#, sql server and linq to sql. It suffers from multiple inserts, I think when the insert button is pressed but also maybe when the browser is refreshed or back is clicked.
What's the most comprehensive way, or ways to prevent this.
UPDATE:
I currently use response.redirect after inserting text...
We have an ASP.NET intranet site, available to users who are either physically at and logged into a local machine or else to users who connect remotely via VPN. Is there a way to automatically get the username of whoever is accessing the page based on the name used to either log into the local machine or that used for the VPN?
...
I am trying to align the text in my .net dropdownlist to the right. Using CssClass I am able to align text to the right in Firefox.
IE doesn't not align text to the right it aligns to the left.
I have read that IE 6 doesn't support this.
Is this true?
I am using IE7 but most of my users will be in IE 6 so, both need to work.
<asp...
I need to make a little handler that takes some querystring data and formulates a post to the BaseCamp API with it. Problem is I am not exactly sure how this is done, how to I specify which URL it is going to, and where to I put the XML that I build (I have the XML built already). And then how to I 'press GO' ?
...
I am implementing a website using ASP.NEt 2.0 and I want to add a new Label when I press an existing button Could some body help me on doing this ????
...
I am creating a wcf service. When i add the service as a "Web reference" to my web site (I do this by using the url: http://localhost/myservice.svc?wsdl ) and then call the web methods exposed by the service, I get a "Operation has timed out" exception. However when i add the service as a "Service Reference" to the site, the calls work f...
I can easily understand how to use custom events in pure C# code, but how can I do pass in custom event arguments on asp:button click?
I've tried all sorts of things (defining new event args, new delegates, etc etc) but I have had no luck.
Is there a tutorial of how to do this with the standard asp controls?
...
Currently three developers share one IIS box for testing. Because of third party utils and other restrictions we can't run the project locally so remote debugging is the only option. Our current process is to remote to the webserver, run iisapp.vps to get the PID of our individual sites and then run remote debugging in VS2008, to connect...
Here is my code, see the part that says ???WHAT TO DO HERE??? I am not sure where I write this XML to in order to be able to send it in my POST via the objRequest there...
string project_id = context.Request.QueryString["project"];
string person_id = context.Request.QueryString["person"];
string post_date = context.Request.QueryString["...
I have an SqlDataSource object, linked to a GridView, which receives data from a database when executed.
I'd like to add the values of the "Cost" column, to get the "TotalCost", and place it in a TextBox or Label on top of the GridView.
Is it possible to just use (recycle) the data in the SqlDataSource object, instead of using another ...
I'm trying to do some very simple request throttling on my ASP.NET web project. Currently I'm not interested in globally throttling requests against DOS attacks, but would like to artificially delay the reponse to all login attempts, just to make dictionary attacks a bit harder to do (more or less like Jeff Atwood outlined here).
How wo...
I work on a Comet application written in ASP.NET. There is an array of active connection contexts (HttpContext). And there is a thread that should periodically iterate through the collection and check theirs state. So application architecture is not thread-per-request.
What is the best way to check that a connection is active (not close...
I'm attempting to insert multiple rows into a DB2 database using C# code like this:
string query = "INSERT INTO TESTDB2.RG_Table (V,E,L,N,Q,B,S,P) values" +
"('lkjlkj', 'iouoiu', '2009-03-27 12:01:19', 'nnne', 'sdfdf', NULL, NULL, NULL)," +
"('lkjlk2', 'iuoiu2', '2009-03-27 12:01:19', 'nnne2', 'sddf2', NULL, NULL, NULL)";
DB2Command cm...
I have an ASP.NET application that uses the Fluorine FX remoting library. When the web application initializes, it kicks off a socket server on a separate port for handling RTMP connections.
The problem we're having is that when IIS is restarted, the RTMP service won't start running until the first HTTP request is made against one of th...
Hello!
I have a RadGrid inside of RadWindow...
I need to select a Radgrid row in clientside...
How can I do that?
I´m trying to get the radgrid like that:
var masterTable = $find("<%=radgridID.ClientID%>").get_masterTableView();
but always getting null...
Any help?
...
I have a WCF service that requires a certain response time (under 1 minute).
My problem is that every so often, most often in the mornings the service takes a long time to respond (sometimes over 2 minutes).
I'm thinking this is because the app has recycled and the first run must recompile.
Are there other reasons this might happen?
...
What does this error mean?
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
...
Hello,
I'm creating an asp.net application/plug-in to run on a asp.net website/e-commerce solution. I want to make deployment easy for the user so that all they have to do is double click on an icon and all of my apps files will be placed into the proper folders on their asp.net website and all the necessary third-party files, like Micr...