User Profile & Activity

Handy Surya Support
Page
of 223
Posted: September 21, 2011 4:45 AM

Yousif,

I haven't heard any update from our developer teams.

Regards,
Handy

Posted: September 21, 2011 4:32 AM

Hello Richard,

Yes, If you set it programmatic via code, it will not work. You would need to close it manually.
However, the current DialogBoxServiceProvider does not show how to close. You can find in our Contacts MVVM DevForce C# Sample. Or, perhaps you can add the close function in DialogBoxSeviceProvider.

  internal static void CloseCurrentWindow()
  {
          FrameworkElement element = ISFocusManager.GetFocusedElement() as FrameworkElement;
          IWindow window = UXWindow.GetWindowHost(element);
          if (window != null)
              window.Close();
  }

 Then, call  DialogBoxServiceProvider.CloseCurrentWindow();, to close DialogBox.

Btw, can you let me know more detail about message box issue?

Regards,
Handy


Posted: September 21, 2011 3:35 AM

Hello Eric,

I am also using a data table and AllowAutoDataCaching false. The footer works well and gets updating. I wonder why it does not in yours. However, for your issue perhaps, your calculate function is not configured properly. I am not sure that you need RebindDataSource too. If the value is not updated to your database and you try to rebind datasource, of course it will show incorrect value. It will read the value of your current value in database.

Please try to see my simple sample. If you can, please try to replicate the issue in a simple runable sample and send it back to me. I will try to see which part that we missed.

Regards,
Handy

Posted: September 20, 2011 10:09 PM

Hello,

Unfortunately, there is no sample in our site. However, you should able to call your code when resize the pane. SizeChanged event is called everytime you resized the pane.

Regards,
Handy

Posted: September 20, 2011 6:31 AM

Hello,

The video is private. I could not see it in here. Yes, I am discussing this with our developer team reagading the height. I will let you know when I got update.

Regards,
Handy

Posted: September 20, 2011 6:30 AM

Hello Richard,

Did you use the same NavigationServiceProvider in our template? If you want to see our implementation about UXDialogBox with MVVM, I suggest to check our sample, Contacts MVVM C# Sample. It sure will show you how to open,close or handle error correctly.

Regards,
Handy

Hello,

Nope, You need to calculate the sum operation manually. If you want it to show in the status bar, yes it can. After calculate the value, write it in status bar element. You can search the method in "Switching to new Client Side API" article documentation. 

Regards,
Handy

Posted: September 20, 2011 12:15 AM

Hello,

Please try to use SizeChanged event for your scenario. It should work as expected.

Regards,
Handy

Posted: September 20, 2011 12:11 AM

Hello,

I will  inform our developer team about this matter and let you know when it's avalilable.

Regards,
Handy

Posted: September 19, 2011 5:56 AM

Hello,

It's hard to achieve it in XHTML since the rendering is trouble some in your scenario. However, when it does have a workaround. You would need to add time out when call SetHeigth and wgDoResize.

example

 function syncHeight() {
        var grid = ISGetObject('WebGrid1');
        
        var newHeight = (document.documentElement.clientHeight - 250) + 'px';
        if ((document.documentElement.clientHeight - 250) > 48) {
            window.setTimeout(function () { grid.SetHeight(newHeight); wgDoResize(true, true); }, 500);
        }
    }

 

Regards,
Handy

All times are GMT -5. The time now is 6:43 AM.
Previous Next