Posts Tagged ‘ Event ’

Process **\MCSHIELD.EXE contains signed but untrusted code …

2017/05/25
By
Modified: 2017/04/30
mfehidk-EventID-516

This fix was tested with Windows XP Pro SP3 with Office 2003 SP3 and McAfee AntiVirus Plus. Finally.   Finally I found a solution for this really scary-looking error message that was bugging me since 12/24.  Marry Christmas! Description of a Problem Every time you restart you PC you see a very unpleasant Warning Event ID 516 in your system event log from mfehidk. This is the very last system message before computer reboots or goes to sleep. Process **\MCSHIELD.EXE pid (864) contains signed but untrusted code, but was allowed to perform a privileged operation with a McAfee driver. What is Causing it? It appears that most people (and I join them) …

Read more »


Use DELEGATE in C# to Communicate Between Controls

2017/05/05
By
Modified: 2017/04/30

As your custom ASP.NET Web control grows, you might realize that it is time to split it into two or more controls. But how new pieces will communicate with each other? This article describes how event in one control can trigger a method in other control. [Environment: Visual Studio 2008, VS2008]

Read more »

ASP.NET Combine Validators and Client OnClick Events

2017/05/03
By
Modified: 2017/04/30

  Imagine you need to use control validators, and you also need to attach  additional logic to OnClick event. These two will fight with each other, if you use conventional interface features. If you add OnClick attribute too early (say in GridView_RowEditing event)  it will be overwritten by Validators.  If you add OnClick  attribute very late (say in  Render event) Validators logic will be lost. To make this work, you need to  use a special JavaScript function that combines both procedures. Here is how you do it: You need to change  a few things on the button that causes validation:                     <asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="false"                         OnClientClick="return isValid(this);" ImageUrl="~/Images/Update32x32.png"                         Text="Update"…

Read more »