Yes you are right. Get my +5.
http://www.exploresilverlight.com Cheers! Vinod
Yes you are right. Get my +5.
http://www.exploresilverlight.com Cheers! Vinod
You could diagnose wcf service in that case to find out what exactly is happening. To diagnose plz check the below link http://www.exploresilverlight.com/2012/06/remote-server-return-and-error-from-wcf.html[^]
http://www.exploresilverlight.com Cheers! Vinod
<Grid> <Image source=""/> <TextBox Text="Enter comments here.." VerticalAlignment="Center"/> </Grid> The above code will put a TextBox in the center of the image where you can enter your comments. Further if you want to have an image with commented text that also you can create a dynamic Bitmap image. Cheers! Vinod
http://www.exploresilverlight.com Cheers! Vinod
TestDataContext dataContext = new TestDataContext("connectionstring");
http://www.exploresilverlight.com Cheers! Vinod
Whenever you create instance of DataContext pass the connectionstring in the constructor. This way you will be able to bypass the default connectionstring.
http://www.exploresilverlight.com Cheers! Vinod
Hi You can create a custom control based on what control you are using as parent. If you are using ListBox it would be like below
public class CustomListBox : ListBox
{
public object ToolTip
{
get
{
return ToolTipService.GetToolTip(this);
}
}
}
You xaml will look like below
<local:CustomListBox ItemsSource="{Binding Path=CustomerList}"
ToolTipService.ToolTip="Your Tooltip"
x:Name="lstParent">
local:CustomListBox.ItemTemplate
<DataTemplate>
<TextBlock Text="{Binding Path=ToolTip, ElementName=lstParent}" />
</DataTemplate>
</local:CustomListBox.ItemTemplate>
</local:CustomListBox>
Let me know if it works. http://www.exploresilverlight.com Cheers! Vinod
Vinod
Looks ok to me.. Gr8 work.. Cheers! Vinod
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
Can you post your code && XAML please..I don't think Silverlight client has to do anything with your issue. Cheers! Vinod
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
Dear All, We are using multiple WCF service in our silverlight project. The problem is when we leave the service Idle for 3-4 minutes we get problem. The exception is below:: {System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState) --- End of inner exception stack trace --- at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- End of inner exception stack trace --- at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result) at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.ExpenseSVCClientChannel.EndGetExpensePolicyDetail(IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.TS.HrmsPortalApp.ExpenseSVC.ExpenseSVC.EndGetExpensePolicyDetail(IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.OnEndGetExpensePolicyDetail(IAsyncResult result) at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)} The service works fine and keeping service idle for only 2-3 minutes throws the above exception. We have set the timeout to 20 minutes. I don't know what exactly the problem is. I would be very thankful to all of you if you could help me to get this problem resolved. I have already increased the max sizes for various parameters.
Vinod Kumar Prajapati Software Engineer Trisoft Systems
modified on Wednesday, August 11, 2010 6:25 AM
Dear All, We are using multiple WCF service in our silverlight project. The problem is when we leave the service Idle for 3-4 minutes we get problem. The exception is below:: {System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState) at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState) --- End of inner exception stack trace --- at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- End of inner exception stack trace --- at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result) at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.ExpenseSVCClientChannel.EndGetExpensePolicyDetail(IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.TS.HrmsPortalApp.ExpenseSVC.ExpenseSVC.EndGetExpensePolicyDetail(IAsyncResult result) at TS.HrmsPortalApp.ExpenseSVC.ExpenseSVCClient.OnEndGetExpensePolicyDetail(IAsyncResult result) at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)} The service works fine and keeping service idle for only 2-3 minutes throws the above exception. We have set the timeout to 20 minutes. I don't know what exactly the problem is. I would be very thankful to all of you if you could help me to get this problem resolved. I have already increased the max sizes for various parameters.
Vinod Kumar Prajapati Software Engineer Tirsoft Systems Pvt Ltd
You can add your code on GridView databound event ..
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
You have to use StreamReader Suppose you have Two streamreader objects sr1 and sr2 while((str1=sr1.ReadLine())!="" &&(str2=sr2.ReadLine())) { if(str1!=str2) //The Files Are different... }
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
You can change it very easily suppose you have the dataset ds Then ds.Tables[0].rows[2].columns[2]="Your New Value"; Thank you
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
You can use indexing technique to make your search fast and convinient. For that you have to create indexes and your searches will be on indexes only rather than actual data which will increase the speed of searching Thank You
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
Hello everyone, I want to secure view source so that client can't copy it. I want to restrict client to save pages, save view sources. It is very urgent. Pls help me. I shall be grateful to you forever. Thank You
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
Where do u live just tell me I will let me know and see how my people will go to you and do the thing which you are expecting from me or send your people to me of come you to me and see who is right.. You are mother,sister,and daughterfucker, You are wrose than a monkey and this kind of reply making you more wrose.. I think this time you ediot will stop writing any comment...
The previous reply was shameful to your country and your family in which manner you reply that show you live with ediot and bloody people.. You are totally nonsense and senseless... If we meet face to face it will one sided fight so it is better for you to be far from otherwise you would have in other place than the place where you are.. I think this time this ediot will understand and stop writing any comment on such a good portal and site..
You are ediot ..... You ar mad...You are senseless... That is why you have written the above comment.. I can now think from which type of country,from which type of family you belong... If you would be very near by geographically I would have made you silent..And we couldnot even come to this discussion becoz I would have done the thing which you really need to be given.. I think if you don't improve your this habbit you will be definately given the correct treatment by a person who is geographically near to you..
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
No. In all the way it is your mistake... You have to accept your mistake.. Now U can understand people/programmer from which country are still dummy.......... Thanks Vinod Kr.
Vinod Kumar Prajapati Software Engineer EBC Publishing Pvt. Ltd.
I think they have just read and understand who is wrong and who is right.. Now I think you have been accepted your mistake by a third party.... Thanks To All CodeProject Team To Review Wonderful Work Done.. Hoping Such Incident Will not Occur in future... Vinod Kr. Prajapati EBC Pvt Ltd Software Engineer