I am reading an rss feed and I am binding it to a repeater. I would like to select the 3 most recent posts. in my XPathExpression I use AddSort The data are sorted just fine but when I bind to the repeater the sort is lost.
That is my first issue. I am using xpath expression [position()<=3] to limit to 3 items. This, however, occurs pri...
I've set-up a cruisecontrol.net server with IIS7. I want to be able to view the web dashboard. Everything has worked for me before fine in IIS6, but now it seems to be broke in IIS7.
If I browser to: http://192.168.93.133:21234/default.aspx
I get the following error:
XML Parsing Error: not well-formed
Location: http://192.168.93.133:21...
Hi I want to know what Request.Params["key"] does? Where is it used?
...
Hi Guys!
The Scenario:
I have a mobile phone comparing asp.net website which displays deals of various networks. The data about the deals we receive from the networks is in an excel sheet. We import the data from the excel sheets to the tables of each network in our database. Now, the data that we receive is not consistent for every net...
hi actually i want to store value that has been clicked by user on web page for instance.
suppose this is my web page content of list
**
**google.com**
**yahoo.com**
**facebook login**
**stackoverflow.com**
**
now suppose user click on facebook login
then how to know that user has clicked on facebook login actually i want to ke...
Hi everyone!
I would like to ask if there are any limitations concerning the size of a document created by OpenXML SDK?
I have been creating documents that contain headings, tables and paragraphs, and everything works fine, but lately I tried to create a document with 285 chapters - each containing seveal headings, paragraphs and table...
Am looking for a third party tool/provider of session state/caching in an ASP.NET context.
...
I was looking a report on internet that data warehousing is much lucrative and highly paid IT career. I am talking about technologies like abinitio etl datastage teradata. I work in ASP.net and sql server 05. Is it a good thought to move from web programming to data warehousing technologies. Since I would have no experience with data war...
We have some error reporting code that, when an unhandled exception occurs, we send everything over in an email to our groups. This is great except if an unhandled exception occurs on a page with a password field then it's sent over as plain text.
Is there a way to iterate through Request.Form and figure out which item(s) are passwords?...
I have created a custom configuration section in a c# class library by inheriting from ConfigurationSection. I reference the class library in my web application (also c#, ASP.NET), fill in the appropriate attributes and everything works great. The problem starts when I start adding validators.
For example, this property:
[Confi...
Hello
I would like to create an asp.net website that display video in continu like TV.
i am not sure which technology to use.
The app will give a feel like a tv to the users.
any suggestion or link you can share?
...
I've got the below code to make sure a service call to an ASP.NET 2.0 HttpHandler is not getting cached:
context.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
context.Response.Cache.SetValidUntilExpires(false);
context.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
context.Response.Cache.SetCacheability(HttpC...
What procedure should I will follow? Any step-by-step instructions would be very helpful.
...
I'm using the Windows Identity Foundation (WIF) Security Token Service (STS) to handle authentication for my application which is working all well and good. However I can't seem to get any long running login with the STS.
From my understanding I shouldn't care about the client tokens at the application level since they can expire all th...
I need to localize an asp.net webapp with lots of pages.
So far what i'm doing is replace all text with literals where needed and i'm adding <%$ Resources: restype, reskey %> tags wherever needed. All the strings come from my database.
The problem is putting all the text in the database it's just a huge time spender.
I really don't wan...
Hello,
I have 2 pages. One of them shows Location Info and the other shows Company Info. If the user changes Location Info in page 1 and hits "Save"
the page should throw a popup asking user if he wants to update company info as well. If he clicks yes, it has to update in both Company table and Location info. and if he hits No, it has ...
Is this really all that I have to do to achieve session per request with Ninject?
public class WebModule : NinjectModule
{
public override void Load()
{
Bind<ISession>().ToMethod(x => MvcApplication.SessionFactory.OpenSession()).InRequestScope();
}
}
Global.asax:
public class MvcApplication...
I designed a simple site with some css and jquery. All the css is in the header using and the javascript files are in a folder called Scripts and referenced in my site like below. Everything is beautiful locally, but on the server some objects such as a couple of my divs are out of their original positions, and my dropdown menus that us...
I have WebService that is hosted by ASP.NET web site. Inside the TransactionScope object is used to handle transactions:
using (TransactionScope scope = new TransactionScope())
{
...
scope.Complete();
}
The problem is that during debugging, when I am going through each line in step-by-st...
Hi can you send a .htm file as the html template using the mailMessage class? I cant seem to work out how to do it?
...