User Profile & Activity

Handy Surya Support
Page
of 223
Posted: September 30, 2011 3:09 AM

Hello Michael,

What do you mean by unit testing? We already have a template project which you can already use it.
You can learn and test our MVVM patern in here. You might also see our ClientUI video in here.

Regards,
Handy

Hello,

I think you are missing my point. If you already knew how to set it, then you only need to know how to get the total record. I am sure this is the one that you were looking for. 
My point is, even though you used ISDataSource, you can also use query in server side(.cs) like I did in my sample.
Remember, we only need to get that information which it would be ok to leave bind data in .cs.
*You can ignore e.datasource... You don't need to do this since you already used ISDataSource.

Regards,
Handy

Hello,

It is default mechanism only in virtual load. I will let you know how to do it manually in virtual load. There are two properties to set. The total records can be retrieved from database via query command.
I hope my sample can guide you. 

Regards,
Handy

Hello Ryan,

Could you mark the screenshot? I hardly to see which part that you want to modified.

Regards,
Handy

Posted: September 29, 2011 5:54 AM

Hello,

It seems the nightly build need new WebUIFramework as well. I could not send you WebUIFramework hotfixes because it is not stable. Some issues has been reported during the testing in here. I will ask our developer to fix this asap then send it to you.

Regards,
Handy

Posted: September 28, 2011 5:51 AM

Hello,

This thread has been resolved a long time ago. This is not applied for latest product 2011R1SP1 because we have fixed this in 2011R1SP1.

Regards,
Handy

Posted: September 28, 2011 5:48 AM

Hello Durga,

Have you used the latest hotfixes? If not, please update WebGrid and WebUIFramework then apply in your project bin folder. As you can see in my screenshot, row.Row is not null. I modified all tables in my hierarchical scenario, Customer>>Orders>>OrderDetails.

Regards,
Handy


Posted: September 28, 2011 5:25 AM

Hello,

I think I knew the problem. The browsers have different render behavior.
That's why some of your validation when open DialogBox is not correct in other browser, except IE.
E.g

To open dialog box, I used this code:

function tlbFile_Click(id, toolCommand) 
{
            if (toolCommand.Name == "cmdNew") {
                var dlgBox= ISGetObject("dlgBox");
dlgBox.SetContentURL("DemoIframePage.aspx");
dlgBox.Width = 500;
dlgBox.Height = 300;
dlgBox.ShowDialog();
// OpenDialogBox('DemoIframePage.aspx', "", "aaa", "", 500, 300, false); } }

Normally, you only need to use SetContentURL(" "), when close. However, this method might be not closing its state. In this part, I understand why you get iframe element and set src property.
However, there is a simple way to do it. WebDialogBox already provided this.

e.g
For close dialog box, I used this :

function dlgBox_OnClosed(controlId) 
{
    var dlgBox = ISGetObject(controlId);
    var div = document.getElementById("dvWnd_Global_wnd" + controlId);
    var iframe1 = div.getElementsByTagName("IFRAME");
//    iframe1[0].src = ""; // getRootPath() + "javascript/blank.htm";
    var if1 = document.getElementById("iframe" + controlId);
//    if (if1)
//            if1.style.display = "none";
    dlgBox.Window.GetWindowIFrameElement().src = " ";
}

Regards,
Handy

Hello,

If you don't want to apply grouping, you can discard all grouping settings. You can also see our UXGridView sample or video in our support site. 
Currently, UXGridView have not provided style for specific context menu. It can be done, but too much efforts. The good news, your scenario is still a simple case. So, there would be too much effort to discard option.
To discard "copy rows", you would need to use Microsoft Expression blend. Open xaml project in blend.
Right click UXGridView and choose Edit Template>>Edit Copy. After that, expand tree level until you found ContextMenu>>Edit Template>>Edit Copy. Next, in xaml code, find CopyRow command in UXGridViewContextMenu and remove this tag.

Regards,
HAndy



Hello,

I only gave the way to put information in the status bar, not the way to calculate the information of your records. You need to calculate manually the real record. WebGrid could not calculate it because the data has not been loaded yet in other pages. You need to calculate the row in query or something. Then, put the correct value in this footer.

Regards,
Handy

All times are GMT -5. The time now is 12:50 AM.
Previous Next