Blog Archives

ASP.Net

How to grant permission to domain account to manage windows service

Domain account would need  some special permission to interact with windows service if web application is setup to run under domain or service account and web application needs to interact with windows service.  We usually give administrative rights to domain

Posted in Microsoft Technology Tagged with:

HttpCompileException error when browsing asp.net web application

If you setup a new asp.net web application on new application server, you may encounter following error when you browse your asp.net web application.  If you look at the error message, it says that it could not write to output

Posted in Microsoft Technology Tagged with:

What is RESful service and designning RESTful service using ASP.NET

REST stands for Representational State Transfer.  REST is an architecture style for designing networked applications.  RESTful applications use HTTP requests to post data (either insert or update), read data, and delete data. Thus, REST uses HTTP for all four CRUD

Posted in Microsoft Technology Tagged with: , , ,

ASP.NET jQuery Banner Rotator

Recently I have created a simple jQuery banner rotator using ASP.NET that has following features. 1) Bind dynamic data 2) Rotates banner in every 5 seconds (configurable) 3) Pager 3) Jump to any banner by clicking on page number 4)

Posted in Microsoft Technology Tagged with: ,

Forms authentication doesn’t work in IE

I have found interesting thing about IE that I would like to share with you.  I was using forms authentication for login page.  After successful login, ASP.NET creates an authenticated cookie and sends it to browser.  That authenticated cookie is

Posted in Microsoft Technology Tagged with:

How to find child control’s position in a parent repeater

If you have repeater inside a repeater, in some situation you may need to find position of control( that’s inside child repeater) in parent repeater.  Let’s take an example.  Here is what I have. As you can see in sample code

Posted in Microsoft Technology Tagged with: ,

how to handle control’s event inside of nested repeater

In this article I will show you how can you handle control’s event that is inside of nested repeater control and pass informative message from user control to main page(f.e success/failure message). I had a user control that submit the data

Posted in Microsoft Technology Tagged with: ,

Howto: Pass own argument as a custom attribute to a specified control from code behind

I learn something new today that I want to share with you.  How can you pass your own argument to any JavaScript Element object from code behind that you can access it like property of that object from JavaScript? For

Posted in Microsoft Technology Tagged with: ,

Howto: Fire an ASP.NET Validator from JavaScript

Let’s take an example of my previous post and make it little bit user friendly.  Here is the demo page link to see in live action. In the example(#1. Without ValidatorEnable), Custom validator fires and shows a validation message only

Posted in Microsoft Technology Tagged with: , ,

ASP.NET Custom Validator Validation not firing

I have been using ASP.NET CustomValidator when I want to validate field based on values of other fields. For example, User must provide other contact info if selected.  For this let says we have other contact info check box and

Posted in Microsoft Technology Tagged with: ,

Ads