I have a ajax calendar control , i want that calendar render with only past Sundays else date should be disable
amit sahu20
Posts
-
ajax calendar control only render sundays -
Automatically Sychronize TFS workitems update with custom toolHi We have a custom tool (a simple web based application) which is created in .NET, as a business requirement we are planning to integrate this tool with TFS such that whenever a workitem is created it gets exported to our tool and whenever any update is made to workitem in TFS same changes get applied to workitem created in our tool. Any Ideas, on how this can be achieved ??
-
How to identify Event handling in TFS 2012 for Bug work item onltI 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
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; }
-
dynamically change column nameHi, Is it possible to dynamically change column name in sql select statement eg:
DECLARE @Currency NVARCHAR(50)
SET @Currency ='USD'Select Col1 as Currency+@Currency ,col2 from tbl_Emp
-
implement mp3 player in site in asp.net 3.5hi, I've to play a mp3 file on my web page how can i implement it
-
social submitterthen how i can implement this to our project code behind this logic
-
social submitterplease check out this link: http://socialposter.com/generator.php[^]
-
social submitterHey, any one can help to give me idea of social submitter project in asp.net
-
multi file assembly in .net C# 3.5hi, how create a multi file assembly in .net 3.5
-
Inherit an internal class to a public classthanx
-
Inherit an internal class to a public classthanx, yup, i tried and got error msg. Then pls let me know, what will be the use of internal class in class library(any real time eg) mean signification reason of using internal class in class library
-
Inherit an internal class to a public classIs it possible Inherit an internal class to a public class in C# class library
-
restart remote desktopmy remote desktop on window server 2008 it is on hange stage and my local desktop is Windows 7 . how can i restart my remote server from my local computer
-
ASP.NET 3.5 MVC Architecturehello, I'm novice in design pattern and want to know how to implement MVC Architecture in my new asp.net 3.5 application any one plz let me know any simple tutorial or site link from where i'm able to start.
-
Validation of viewstate MAC failed.I got this error on postback the form after 20 minutes , i am using asp.net 3.5 Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [CryptographicException: Padding is invalid and cannot be removed.] .... ...... [ViewStateException: Invalid viewstate. Client IP: 122.162.81.11 Port: 50254 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 ViewState: O8yx/NB6OwGsouM4ow3..... please any one suggest?
-
How rollback tran in while loopALTER procedure Villas_proc_Insert_EnquiryBookingDetail
(@BId int ,@VId int,@FromDate datetime,@Todate datetime)
As
BEGIN TRAN AAA123
WHILE (@FromDate < @Todate)
BEGIN
insert into Villas_EnquiryBookingDetail(BId,VId,BookedDate)
values(@BId,@VId,@FromDate)
SET @FromDate = dateadd(day,1,@FromDate)
END
update Villas_Enquiry set status= 'Confirm' where BId= @BId
if @@error =0
BEGIN
COMMIT TRAN AAA123
END
ELSE
BEGIN
ROLLBACK TRAN AAA123
ENDhere VId +BookedDate are unique key in Villas_EnquiryBookingDetail table
exe Villas_proc_Insert_EnquiryBookingDetail 5,2,'03/02/2010','03/07/2010';
exe Villas_proc_Insert_EnquiryBookingDetail 5,2,'03/07/2010','03/10/2010'how to roll back whole tran if Violation of UNIQUE KEY constraint hep pend in my procedure
-
cristal ReportHi i am novice(know nothing) in Cristal report application. Could any one suggest any helping tutorial link that cover full tutorial from beginning on version .net 3.5
-
could i change the culture of gridViewcould i change the culture of any server control in asp.net 3.5 From en to es
-
From View in ASP>NET 3.5 for edit and updateant tutorial on FormView in asp.net 3.5
-
Translate text from English to spainshhi i have to make a method that take a string of text of English to return a string of Spanish in ASP.NET 3.5 C# please suggest.