Click here to Skip to main content
15,887,683 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Grid view binding in page load in 3tier Pin
AshishChaudha29-Jun-12 22:26
AshishChaudha29-Jun-12 22:26 
AnswerRe: Grid view binding in page load in 3tier Pin
Rahul Rajat Singh29-Jun-12 22:54
professionalRahul Rajat Singh29-Jun-12 22:54 
Questionweb form staying active Pin
sc steinhayse28-Jun-12 5:30
sc steinhayse28-Jun-12 5:30 
AnswerRe: web form staying active Pin
Sandeep Mewara28-Jun-12 5:48
mveSandeep Mewara28-Jun-12 5:48 
QuestionBest way to display Card Information to the admin or user Pin
Hamidakhanam28-Jun-12 3:33
Hamidakhanam28-Jun-12 3:33 
AnswerRe: Best way to display Card Information to the admin or user Pin
Richard MacCutchan28-Jun-12 5:09
mveRichard MacCutchan28-Jun-12 5:09 
AnswerRe: Best way to display Card Information to the admin or user Pin
jkirkerx28-Jun-12 8:54
professionaljkirkerx28-Jun-12 8:54 
QuestionHow to identify Event handling in TFS 2012 for Bug work item onlt Pin
amit sahu2028-Jun-12 0:27
amit sahu2028-Jun-12 0:27 
I have created an event handling class library to handle TFS2012 event lag it is working fine. But i have to handle such event only in case of Bug work Item type change.
how i identify work item type in event handling code.

Summary of code as
C#
public EventNotificationStatus ProcessEvent(TeamFoundationRequestContext requestContext, NotificationType notificationType, object notificationEventArgs,
                                                    out int statusCode, out string statusMessage, out ExceptionPropertyCollection properties)
        {
            string str = requestContext.ServiceHost.Name;
          statusCode = 0;
          properties = null;
          statusMessage = String.Empty;

            if (notificationType == NotificationType.Notification && notificationEventArgs is WorkItemChangedEvent)
            {
                WorkItemChangedEvent ev = notificationEventArgs as WorkItemChangedEvent;
                string asw = ev.Title;
                // EventLog.WriteEntry("WorkItemChangedEventHandler", "WorkItem " + ev.WorkItemTitle + " was modified");
               
                System.IO.StreamWriter objWriter = new System.IO.StreamWriter(@"C:\Amit\ClassLibrary1\AssignedToHandler.txt");
                objWriter.WriteLine("Received WorkItemChangedEvent");
                objWriter.Close();

            }


            return EventNotificationStatus.ActionPermitted;
        }

AnswerRe: How to identify Event handling in TFS 2012 for Bug work item onlt Pin
jkirkerx28-Jun-12 11:50
professionaljkirkerx28-Jun-12 11:50 
Questionasp. net deployment Pin
sc steinhayse27-Jun-12 19:13
sc steinhayse27-Jun-12 19:13 
AnswerRe: asp. net deployment Pin
Vani Kulkarni28-Jun-12 0:56
professionalVani Kulkarni28-Jun-12 0:56 
QuestionStoring file in a Stream rather than storing in the file Pin
indian14327-Jun-12 11:04
indian14327-Jun-12 11:04 
AnswerRe: Storing file in a Stream rather than storing in the file Pin
R. Giskard Reventlov27-Jun-12 11:28
R. Giskard Reventlov27-Jun-12 11:28 
GeneralRe: Storing file in a Stream rather than storing in the file Pin
indian14327-Jun-12 12:02
indian14327-Jun-12 12:02 
GeneralRe: Storing file in a Stream rather than storing in the file Pin
indian14327-Jun-12 14:14
indian14327-Jun-12 14:14 
GeneralRe: Storing file in a Stream rather than storing in the file Pin
jkirkerx27-Jun-12 15:35
professionaljkirkerx27-Jun-12 15:35 
GeneralRe: Storing file in a Stream rather than storing in the file Pin
indian14328-Jun-12 5:29
indian14328-Jun-12 5:29 
GeneralRe: Storing file in a Stream rather than storing in the file Pin
jkirkerx28-Jun-12 7:12
professionaljkirkerx28-Jun-12 7:12 
GeneralRe: Storing file in a Stream rather than storing in the file Pin
indian14328-Jun-12 9:54
indian14328-Jun-12 9:54 
GeneralRe: Storing file in a Stream rather than storing in the file Pin
jkirkerx28-Jun-12 10:30
professionaljkirkerx28-Jun-12 10:30 
Questioncreating Menus horizontal Pin
deeptul27-Jun-12 9:51
deeptul27-Jun-12 9:51 
AnswerRe: creating Menus horizontal Pin
R. Giskard Reventlov27-Jun-12 9:55
R. Giskard Reventlov27-Jun-12 9:55 
QuestionSplitting Large file in to Chunks Pin
indian14327-Jun-12 7:59
indian14327-Jun-12 7:59 
AnswerRe: Splitting Large file in to Chunks Pin
jkirkerx27-Jun-12 8:34
professionaljkirkerx27-Jun-12 8:34 
GeneralRe: Splitting Large file in to Chunks Pin
indian14327-Jun-12 10:12
indian14327-Jun-12 10:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.