Hi, Ok thats fine do one thing, first create a simple app with Httphandler. Follow simple steps below: 1.Create class and inherit it from "IHttpModule " interface 2.Imlement the below method public void Init(HttpApplication context) { //context.BeginRequest += new EventHandler(context_BeginRequest); } void context_BeginRequest(object sender, EventArgs e) { //HttpApplication app = (HttpApplication)sender; } 3. Add below code in yr web.config file Regards Anil Pal
anilpal
Posts
-
HttpHandler (another Could not load type ) -
static public functions : asp.net c#hi, Now what u want?
Regards Anil Pal
-
logout problemHi, R u facing any specific problem ot u want complete code?
Regards Anil Pal
-
how can i set the visibility of a button inside a grid view programatically.Hi, So, then where is the problem. You canalso use the build buttons of gridview for edit the records in grid.
Regards Anil Pal
-
Pass by Reference into a borland C++ dllHi, Ok before giving any sueggstion, let me clear: 1. yr C# methode need to accept paramter frm c++ and also need to return some value to c++. is this correct? Please explain
Regards Anil Pal
-
how can i set the visibility of a button inside a grid view programatically.hi, U have to either find control(button) on Databound event of gridview and ste its visibilty. or u can use foreach loop for gridview in find the control and set visibilty.
Regards Anil Pal
-
File Upload Encryptionhi, Can u know what kind of file u r going to upload?
Regards Anil Pal
-
Querystring? urgentHi ResponserFile.aspx?id=3&name=nam&cell=cell I think u r using correct format to send the multiple data through query. May be problem in syntax of calling in ajax. Can u provide the exact error whcih u r receiving. R u workking in VS 2003?
Regards Anil Pal
-
youtube video downloadhi, Hmm... Check out below url http://chiragrdarji.wordpress.com/2008/09/16/integrate-youtube-in-aspnet Regards Anil Pal
-
youtube video downloadHi, you want to integrate youtube vedio in yr ASP application?
Regards Anil Pal
-
Querystring? urgentHi, Can i know frm where ur trying to send the query string vale?
Regards Anil Pal
-
AuthenticationHi, Yes, but before that do u have predefine user for authentication? If yes then what they are?
Regards Anil Pal
-
How to inherit User contol to another user controlHi, It would be nice i f u explain certain things: 1. Whats is y r exact requirement? 2. What method u want to inherit/override and why? Which user control u r trying to create window/web and where u want to consume it?
Regards Anil Pal
-
Display username in all pages after logging inHI, Please use below code to access the control of the master page. If it is outside the contentplace holder(Which ofcourse). Page.Master.FindControl("Label1")
Regards Anil Pal
-
Save file from library class referenced from webserviceHi, Here u go: Solution1: You can pass imagePath as paramter from website, which may actually calling yr class lib project. Solution2: You can define the image pathin web.config file n then from there u can read imagePath from class Lib proj. Feel free to ask.
Regards Anil Pal
-
Gridview paging?Hi, U need to implement "PageIndexChanging" event of GridView. like: GridView1.PageIndex =e.NewPageIndex
Regards Anil Pal
-
OleDBConnection or SQLConnectionHi, No its mean sqlclient is better bcz it use min code to communicate with DB where as oledb reuquired more
Regards Anil Pal
-
OleDBConnection or SQLConnectionHi, If u use sqlclient in that case it use oledb partially (some code of oledb) and rest it will communcate directly with native code , where as if u use oldedb in that case it use fully(complete code of oledb).
Regards Anil Pal
-
any idea why theses two beans behave differentlyHi, Just try to access the Order class member without creating the object. bcz may it static class. If problem still persist then try with remove the ref and add again.
Regards Anil Pal
-
javascript in asp.netHi, Please use below code to get the dropdownlist value. var fieldName = document.forms[0].elements["DropDownList1"].value
Regards Anil Pal