I have a maintenance database table(having ColA(primary) and ColB(varchar)) being records inserted using asynchronous web service.Before inserting a new record into table on save button click event,i have to check uniqueness of record.So, When i send query request to check with given record Webservice completed event is raised after the save button click event.So, I am not able to check the uniqueness using asynchronous web services.Please help me in finding a solution for this.
I am altering my existing application developed using MS Access + VBA. I have created new window (wpf) which handles some tasks. I want this window to be loaded on button click from old MS Access application.
I'm pretty sure my recommendation will fix both your issues.
When Silverlight 3 was released, I uninstalled Silverlight,
the silverlight VS tools, and the toolkit. Then I downloaded and
installed (in order) everything on the Get Started Building Silverlight 3 Applications[^]
page. Except for some namespace shuffling (they keep changing stuff for WPF
compatibility and when controls get migrated from the toolkit to the
framework) everything works correctly.
The toolkit is essentially beta, so I highly recommend keeping
up the latest version. They are fixing stuff every few months.
July is not the newest.
I am working on a silverlight application. In this I need to access session variables in silverlight application.For this I created a WCF service to get the session variable. For this I used the following code:
In web.config file:
but I am getting the following error:
System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> 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.
If any one have any idea to solve this or directly access the session variable in silverlight application please reply me.
I am getting an exception while calling a WCF service in silver lght application.This exception is as below.
An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> System.InvalidOperationException: The underlying channel factory could not be created because no binding information was found in the configuration file for endpoint with name '*'. Please check the endpoint configuration section with name '*' to ensure that binding information is present and correct.
If anyone have idea to solve this please reply me.
First idea is this: follow the suggestion of the exception and verify your binding information. You have to have a basicHTTPBinding in order to use WCF with Silverlight. Try Googling "Using WCF with Silverlight 3.0" and you will discover a wealth of information.
I have datagrid control being data bind from database using webservice in which there are two columns called ColA and ColB.
ColA is HyperlinkButton(DataGridTemplateColumn) and ColB is DataGridTextColumn. There is Click event for HyperlinkButton(ColA),in which I am trying get the content of both Column values(ColA and ColB).It is able to read ColA but not ColB from Code.Can anyone help me regarding this.
In hyperlink click event,I can get that ColA value
Private Sub hllnkbtn_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
txtColA.Text = CType(e.OriginalSource, HyperlinkButton).Content
'txtColB.Text = CType(e.OriginalSource, DatagridTextColumn).Content 'This cannot be done here
Another Question,If You know the solution please respond..
for a benchmark (WinForm - WPF) I want to measure the drawing time of an thrid party control (for WinForm and WPF available). Under WinForm I created a test project, derived the thrid party control and override the OnPaint and OnPaintBackground Method to measure the runtime. I just started programming in WPF, so I do not now who I can do this measureing under WPF. Does somebody have an idea?
I have to do printing of visuals say Grid contents, over multiple pages supporting basic printing functionalities like changing the margin, orientation ,paper size etc without invoking Print Dialog.
1. So should I use Custom Printing or Will Print document serve my purpose?
2. If Print document allows these features, please let me know how to convert the visual as a IDocumentPaginatorSource to pass it to the Print Document function?
Please reply asap...Very urgent... please provide sample code if you have...
Last Visit: 31-Dec-99 18:00 Last Update: 28-Sep-23 9:58