Friday, February 29, 2008
How to do that?
add below code to your rss feed after <?xml version="1.0" ?>
<link rel="alternate" type="application/rss+xml" title="Top new 20 posts rated" href="http://www.xxxx.com/rss" />
for ATOM feed
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xxxx="http://www.xxxx.com/">
where http://www.xxxx.com/rss is the feed url
Let me know if you need more info.
Thursday, February 28, 2008
Do you have experience that after you have successfully published your application but the target folder is empty?
- Click "Publish Web Site", enter "Target Location", and click OK
- Site builds successfully
- files in destination directory are deleted
- IDE shows "publish succeeded"
- Go to check target directory, it's empty.
In my case, it caused by mispell an HTML tag. Fix the tag help to fix the published problems.
If this not work for you, try this alternative suggested by other developers.
Fix IIS mappings for ASP.NET, run the Aspnet_regiis.exe utility:
- Click Start, and then click Run.
- In the Open text box, type cmd, and then press ENTER.
- At the command prompt, type the following, and then press ENTER:
In this path, version represents the version number of the .NET Framework that installed on server. Must replace this placeholder with the actual version number when type the command.
Tuesday, February 26, 2008
Monday, February 25, 2008
For example, we want to write the information to cookies under mydomain when we access to url beta.mydomain.com
HttpCookie cook = new HttpCookie("mydomain");
cook["UserId"] = userId;
cook["Name"] = username.Text;
cook.Expires = DateTime.MaxValue;
To retrive the cookies information:
if (Request.Cookies["mydomain"] != null)
if (Request.Cookies["mydomain"]["UserId"] != null && Request.Cookies["mydomain"]["Name"] != null)
Session["UserId"] = Convert.ToInt32(Request.Cookies["mydomain"]["UserId"].ToString());
Session["UserName"] = Request.Cookies["mydomain"]["Name"].ToString();
Sunday, February 17, 2008
On Error Resume Next
radCount = document.all.RadDynamic.length
If err.number <> 0 then
If document.all.RadDynamic.checked Then
strLogoID = strLogoID & "," & document.all.RadDynamic.value
For i=0 To document.all.RadDynamic.length -1
If document.all.RadDynamic(i).checked Then
strLogoID = strLogoID & "," & document.all.RadDynamic(i).value
Wednesday, February 6, 2008
Friday, February 1, 2008
The award-winning Web browser is now faster, more secure, and fully customizable to your online life. With Firefox 2, added powerful new features that make online experience even better.
Firefox 2 delivers helpful new features to make online experience more productive.
2. Stay Secure on the Web
Firefox continues to lead the way in online security, and now includes active protection from online scams to keep safer.
3. Personalize Your Browser
Choose from over a thousand useful add-ons that enhance Firefox. It’s easy to personalize Firefox to make it your own.