User Profile & Activity

Alfred La Garde Member
Page
of 2
Posted: September 30, 2010 11:11 AM

I like your answer better than mine.   It is a lot cleaner.

Thanks again,

Al

Posted: September 30, 2010 10:44 AM

Jimmy;

I belive I solved it with this code:

UXNavBtn.CommandParameter = new WindowOptions()

{

Uri =

new WindowOptions()

{

Uri =
new Uri("/ClientUIBusinessApp1;ClientUIBusinessApp1.Views.Reports.TReportWindow", UriKind.RelativeOrAbsolute), ForceSingleInstance = false, ReactivateExistingInstance = false,

WindowHeight = 550,

WindowWidth = 900

};

Thank you for your help.

Al

Posted: September 30, 2010 8:07 AM

How do I add the window height and width to this?

UXNavBtn.CommandParameter = new Uri("/ClientUIBusinessApp1;ClientUIBusinessApp1.Views.Reports.TReportWindow", UriKind.RelativeOrAbsolute);

Posted: September 29, 2010 1:52 PM

Jimmy;

This is a good solution, but it does remove the WindowHeight and WindowWidth which were declaritively set.  Does this approach overwrite all of the declared setting?  If so what is the syntax to reset the WindowHeight and WindowWidth in behind code? I tried a few things which have not worked, and will continue to try while a wait for the answer.

 

Thanks,

Al

Posted: September 29, 2010 9:54 AM

Jim;

 

I added a button to call the method, but it does not appear to have any effect when called.

 

Thanks for responding;

Al

Posted: September 28, 2010 1:01 PM

Niven;

Thanks for your answer.  It is the syntax on the right side of the equation that is giving me trouble.

Al

Posted: September 22, 2010 8:47 AM

Glenn;

Thanks for your answer. Is detailed documentaion on how to construct the UXListBox?  I am not sure how to go about casting each object to UXListBoxItem.  I have created the content of my UXListBox with the following code:

private void LoadData3()

        {

            PSSLServiceRef.PSSLServiceClient client = new PSSLServiceRef.PSSLServiceClient();

            client.GetProjectsCompleted += new EventHandler<GetProjectsCompletedEventArgs>(client_GetProjectsCompleted);

            client.GetProjectsAsync();

        }

 

        void client_GetProjectsCompleted(object sender, GetProjectsCompletedEventArgs e)

        {

            try

            {

               

  this.listBox3.ItemsSource = e.Result;

                this.listBox3.DisplayMemberPath = "ProjectName";

            }

            catch (DataServiceQueryException ex)

            {

                this.tb1.Text = string.Format("Error: {0} - {1}",

                    ex.Response.StatusCode.ToString(), ex.Response.Error.Message);

            }

        }

 

Thanks,

Al

Posted: June 15, 2010 11:16 AM

Andi;

Thanks.  I am running IE8.  I changed the web site App Pool from the Default to the Classic .Net, and that took care of the problem.

Al

Posted: February 15, 2010 12:32 AM

Yudi;

Thanks, that does solve the problem.  The answer does however promt another question.  Is there any down side to switching to the Neron engine?  Based on a recommendation a year ago I switched to the built-in engine because I was led to beleave that it would be the platform for future developement.  Having said that the chart headings are important to what I am doing.

Thanks again for the solution to the problem.

Al

Posted: October 3, 2009 7:04 PM

Gordon;

 

None of the windows close when I use your suggested code.  The problem appears to be line below:

var win = dm.Windows[0];

When I cahnge this to:

var win = dm.Windows[i];

It goes back to every other window closing.

Do you have any other suggestions?

 

Thanks,

Al

All times are GMT -5. The time now is 10:23 PM.
Previous Next