User Profile & Activity

Riendy Setiadi Member
riendy@intersoftpt.com
Page
of 19

Hello Xu,


First of all, sorry for the wrong sample that I attached. Yesterday, I have not tried until accepting all changes. So, I also get that issue here. 
I have provided a solution using this snippet code:

function SelectAll(obj)      
      var grid = ISGetObject("WebGrid2");
      for (i = 0; i < grid.TotalLoadedRows; i++) {
          var row = grid.RootTable.GetRow(i);
          var cell = row.GetCells()[3];
          cell.SetValue(true, true);
          cell.ActivateEdit();
          grid.MarkEdit();
          grid.ExitEdit(1, 0, 0);
       }
}

Attached in my simple runable sample. In this sample I also show you how to un-check all checkBox.

Please let me know whether the issue still exist, or if there is another issue.


Thanks.
Riendy




Hello Xu,

Actually there is no bug with your issue. At the beginning I've told you that you have to add UpdatePendingChangesStatus(). I'm sorry because I missed a method to add the pending changes. It is   AddPendingChanges() method. I have created the snippet code based on your scenario. Here is the snippet code: 

  function SelectAll(obj) {
            var grid = ISGetObject("WebGrid1");
            for (i = 0; i < grid.TotalLoadedRows; i++) {
                grid.RootTable.GetRow(i).GetCells()[0].SetValue(1, true);
                grid.RootTable.GetRow(i).AddPendingChanges();
                grid.UpdatePendingChangesStatus();
            }
        }

I also have modified your simple runable sample to reproduce in WebGrid's sample easilly. Attached is a sample file.


Best Regards.
Riendy



Hi Xu,

In this simple sample, you are using 2 update panel controls to handle WebToolBar and TextBox. Actually, you were right to use UpdatePanel for the TextBox. But, there's a little bit mistake when using updatePanel. WebToolBar already perform FlyPostBack, so that no need to use update panel for WebToolBar. It works as well as expectation on my end. 
Please see the attachment to see the code.


Regards.
Riendy

Hi Xu,

I also have tried to execute a code in background program, just for checking How many times the button able to call. And it works fine on my end. Could you please give me a simple runable sample that reproduce your issue ?
To maximize the performance, I think you should use WebFlyPostBackManager.


Thank you.
Riendy

Posted: August 22, 2011 11:18 PM

Hi Michael,


You were unable to see the templates because it was installed in local administrator's document.
If you have to work in domain user, you don't have to reinstall VS and WebUI in the domain user. But, you should copy the template on local administrator's document to the domain user's document.
The templates should be on this path :

C:\Users\[local administrator]\My Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#[or Visual Basic]

Then you have to copy the templates from [local administrator] to [Your domain user].

You can also get the templates from here.


Please let me know the result.


Thank you.
Riendy

Posted: August 22, 2011 1:01 AM

Hi Michael,

You didn't do a mistake to install WebUI as a local administrator so far.

The warning appears because there is no choice to run our sample as a local administrator.
Please follow these steps to remove the warning (for win7):

  1. Open control panel.
  2. Choose User Accounts.
  3. Select Change User Account Control settings.
  4. Set the bar to never notify.
Please let me know - do you see the templates ? after you follow steps above.
Riendy

Posted: August 22, 2011 12:46 AM

Hello Ramiro,

First of all, may I know - is it ClientUI's controls ?

Let me try to answer your question one-by-one.

  1. We have discussed to create docking panels (ala VS), but this control is not in our roadmap 2011 R2. And, so far we have not timeline for this control.
    For ribbon control, yes, We have a plan to release UXRibbon in next release. This control is on progress and  almost finished by our developer. For your information, UXRibbon is a rich ribbon user interface component modeled after office 2010 ribbon specification.
  2. Yes, we have a time for schedule control. Its name is UXScheduleView. It is an advanced, business-oriented scheduling control designed with MVVM-ready architecture which provides greater flexibility and extensibility in the events data binding. This allows you to bind the UXScheduler to your own data entities directly without proxy classes/interfaces.
  3. We have not try all 3rd party control because it is so much and impossible to try one-by-one. But actually, ClientUI can integrate with all 3rd party control because ClientUI can integrate with silverlight controls.
  4. For this question, perhaps you can contact our sales member  at sales@intersoftpt.com. I'm sure that they can give you a best offering.
Please do not hesitate to ask us, if you still have another question.
Riendy

Hello Xu,

Unfortunately, I could not replicate your issue on my end. I tried in simple sample that use WebToolBar inside UpdatePanel, and absolutely with scriptManager.

This sample works fine on my end. Please see my attachment. Is it possible for you to reproduce your issue on my simple sample ?


Thank you.
Riendy

Hi Xu,

I'm still investigate your issue. I will let you know as soon as possible about this issue. This issue might be a bug.

Anyway, to initialize WebGrid, I suggest you to use ISGetObject. So, you are able to use our method, such as UpdatePendingChangeStatus. For example : 

var grid = ISGetObject("WebGrid1");

Regards.
Riendy

Hello Olusola,

Unfortunately I could not  replicate your issue on my end. I've tried binding AViewModelBooleanProperty in Button and GlassButton. And it works as expected.

This is a snippet code of AViewModelBooleanProperty in my simple sample:

 private bool _aViewModelBooleanProperty;

 public bool AViewModelBooleanProperty
 {
       get { return false; }
       set
       {
           if (_aViewModelBooleanProperty != true)
{ _aViewModelBooleanProperty = false;
} } }

Both of Button and GlassButton works as expected, enabled when I set to true and disabled when I set to false.  

Could you please give me your simple runable sample which reproduce this issue ?


Regards.
Riendy

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