.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

HTTPModule Events not firing for non-administrative user

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :SharePoint
Hi All, I have deployed an HTTP module into the GAC on MOSS 2007 and Win 2k8. When I log in as administrator to the site, everything works fine. However, if I log-in as a non-administrative user (any other user) I can see the module registering but it does not fire. Anyone has any idea why this is so?   Cheers, Vikrant

View Complete Post

More Related Resource Links

.Net custom user control buttons (events) not firing in Jquery Modal Popup


I have a custom control, that has takes some information from user and submit to the database. it is working fine in normal aspx pages. but when i display that custom user control in jQuery modal popup. The events does not fire or lets say the data is not submitted to the database.

any help on that?

OnItemCommand not firing in Templated User Control


I have a templated user control with single instance template attribute. It works great for everything except the following scenario:


    <asp:UpdatePanel ID="upDirectoryBrowser" runat="server">
        <asp:AsyncPostBackTrigger ControlID="fsBrowser" EventName="FolderSelected" />
        <asp:AsyncPostBackTrigger ControlID="flsBrowser" EventName="FileSelected" />
        <asp:AsyncPostBackTrigger ControlID="flsBrowser" EventName="LinkSelected" />
        <table width="100%">
                <td style="width: 230px;">                        
                    <ntc:FolderSelector ID="fsBrowser" runat="server" OnFolderSelected="fsBrowser_FolderSelected"
                    OnControlException="fsBrowser_ControlException"  /> 
                    <ntc:FileSelector ID="flsBrowser" runat="server" OnFileSelected="flsBrowser_FileSelected"
                    OnControlException="fsBrowser_ControlException" O

Login contained within a LoginView Events firing?

Hi there,   I'm in the process of trying to figure out how to program in ASP.Net. My senario is this: (A) I've created a master Page (B) In The master page I have a Login Control that is contained in a LoginView control. I cannot figure out how to get the events to fire when it's in this sitution. Any help would be good. If the Login control is situated on it's own the events (LogginIn etc) will fire? 

ASP.NET Events and Pageload not firing when Datagrid containing large number of rows of data

Hi All, I have a datagrid in aspx page.Inside of datagrid i am using around 15 controls such as Button,dropdownlist and text box controls.Once the datagrid binds then the events in the aspx page not firing.Issue occured when the number of rowsgreater than 500.The number of rows less then its works fine.If anybody knows the solution please let me know."Platform i am working on ASP.NET1.1"Regards Hareesh

Dynamically add user control with events


I'm trying to make web form with two placeholders. Firs holder contains user control witch has list of buttons, each button opens different user control to second placeholder.

I get it to show user control in second placeholder but i can't get dynamically created user controls to fire events.

So how i can dynamically create working user control with button click?

Here is how i create those controls:

 Dim toiminot As Control = LoadControl("~/kontrollit/" & field.Value)

"field" is hidden field containing filename of user control to be created.

All help is appreciated!

WPF Grid MouseLeftButtonDown, MouseLeftButtonUp Events Not Firing


I have a Small Trouble with my app i am working on.....

1. I have a Grid with Image Buttons in it.
2. I have some images on left menu
so.. When i drag and Drop images onto Buttons within Grid, the Images Should Snap In and Place on Button.

I have designed Grid with that Image Buttons , and the Snap in Feature too.

Now My question was i wrote the Snap In Feature on Mouse Enter event of a Button.
But i want to Write the same logic in MouseLeftButtonUp event of a button. When i write the Event it is not firing up.

Please advice



Silverlight user control, canvas "layout root", no key events ever.



I'm trying to use a UserControl in Silverlight and I want to handle some key events. The user control is a network diagram, laying out data points in a circle and showing the relations between points. It consists of a canvas to which various shapes (ellipses for data points, lines for relations between points). I'd like it to be focusable and receive mouse and keyboard events to add support for things like rotation, scaling, and randomizing the layout of data points (how readable the diagram is depends on the data and where in the circle related data points are located, but I'm not going to attempt any smart layout logic that figures out where to put the points; instead, I simply allow the points to be laid out in random order along the circle); I was thinking F5 (with it's "reload/refresh" connotations) would be a neat key for this.

Trouble is, I am never ever receiving any key events. Mouse events apparently do bubble up to the canvas, but only from labels - the data points have labels - so I can handle them there. Currently this allows me to resize and rotate the diagram by scrolling the mouse wheel (with the shift key down to rotate, without to scale) if and only if the mouse cursor is over a label. Not *quite* what I want!

After some quick googling I've attempted to set IsTabStop to true on the UserControl containing the Canva

Nested control's events not firing in UserControl


Hello I have a weird issue. I have a user control which I load dynamically using LoadControl. In this UserControl I have a button with assigned OnClick event, but when I click that button, the event is not fired. I'm populating the user control in UpdatePanel's Load event (I invoke __dopostback from JS).

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ServiceInput.ascx.cs"
Inherits="uPay.UserControls.ServiceInputs.ServiceInput" ViewStateMode="Disabled" %>
    <div class="PopupFoot">
        <asp:Button ID="btnAdd" CssClass="PopupADD" runat="server" OnClick="btnAdd_Click" />

    protected void btnAdd_Click(object sender, EventArgs e)
        //Method never gets called :/

 Here I load user control in the page

protected void ServicesUpdatePanel_Load(object sender, EventArgs e)
        string arg = Request.Params.Get("__EVENTARGUMENT");
        if (arg == "ServiceInput")
            int serviceId;
            if (Int32.TryParse(hdnSelectedService.Value, out serviceId))
                using (Entities db = new Entities())

VS2008 WPF Tablet Stylus Events not Firing


I have a problem with the stylus events not firing when I open a new Window using the ShowDialog method. I have two windows, Window1 opens a new instance of Window2 within a drag/drop event. When Window2 opens the stylus will not work for any buttons, but the mouse will work as expected. It seems that the UI gets hung up for stylus events. Has anyone encountered this?

XAML Code for Window1

<Window x:Class="WpfApplication1.Window1"

Group events and dynamically loaded user control


My main file is messages.aspx and i am loading a UC names message_inbox.ascx dynamically as:

SiteUserControls_Message_MessageInbox    InboxUC = Page.Load("message_inbox.ascx") as


Now in my user control ("message_inbox.ascx") i have a various events which i am combining in one group event :

 public void ForwardLinkButton_OnClick(object sender, EventArgs e)
        LinkButton thisButton = (LinkButton)sender;

Render User Control with Events in html


I have to render a user control in html. Say, I have a page called AboutUs.aspx and I am feeling that content from admin section in an html editor.
I have a control called, "Contact Us" and this control I am creating dynamically by adding controls like TextBox, Dropdownlist etc.
Now, I want to render this control in my html. I can use something like [contactus] in html and render it like,

Web browser events not firing On IE7



I have a application that uses webbrowser control which was working perfectly fine on ie6.But on IE7 it is not firing webbrowser_download event, which I use for clicking some links. Is there something that is changed in IE7.

Not able to see any events in outLook calendar which is integrated with WSS 3.0 Calendar List (User


When I click "Actions", "Connect to Outlook" it appears to work and even opens a calendar view.  The calendar is empty though (but the calendar on sharepoint does have entries).  I get the following error message from outlook:

"Task 'SharePoint' reported error (0x80070005) : 'You do not have permission to view this SharePoint List . Contact the SharePoint site administrator.  HTTP 302.'"


I am able to view the calendar in sharepoint, so I do have permission to view it. 

Which event of an httpmodule do i use to redirect a user after he is authenticated?


I want my application to send the user to the page he last visited (stored in a cookie).

If i want to do this using an http module then in which event of the module should i do this?


Nested Custom Controls Events not firing.


I have checked and could not find an exact problem like this so hope I didn't duplicate a post.


I have two custom controls. I have ControlA which can take multiple of itself and then ControlB which occurs only once per ControlA but no less. ControlA has a button to load an instance of ControlB and to display it. ControlB has TextBox's DropDownlist and Button who all need to fire events for it to accomplish its tasks.


1    <ctrl:ControlA Id="ca1" runat="server">
2       <ctrl:ControlA Id="ca2_1" runat="server">
3           <ctrl:ControlA Id="ca3_1" runat="server">
4               <ctrl:ControlB Id="cb3_1" runat="server">
5           </ctrl:ControlA>
6           <

MS SQL Server: Disconnect Users From Database - Kill User Session

If you ever wanted to restore your database from a SQL backup file (.bak), but there are still users connected to your database, the backup operation will fail causing the error: Exclusive access could not be obtained because the database is in use.

WCF Tutorial - Events and Callbacks

we described how to make a very simple client/server application where clients would call functions on the server through a shared interface. In this tutorial, I'm going to expand that application to allow the server to execute functions on the client by using callbacks. Essentially, this is WCF's mechanism to allow events to be raised from the server to it's connected clients.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend