User Profile & Activity

Andi Santoso Support
Page
of 53

Hi Way Hang wee,

     Attached is a HotFix for your last issue. This is related to the one of getting an editingform's URL on the first click attempted. For your information, this is still a nightly build Hotfix and has not been extensively tested (disclaimer on). So, we are really appreciate if you have encountered an issue can kindly give us a feedback of it. 

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: March 4, 2010 2:33 AM

Hi Mark,

    If I am not mistaken, you are trying to load all the records and check all the checkboxes in classic paging ?

    Here are some information about classic paging. In classic paging, the data will be rendered per page.  So, if we like to check all the checkboxes, we need to load the data per page and do check them. Also, in classic paging, the cell template of checkbox will be reset after the WebGrid is refreshed or go to the next page, so we will need to use a data that consist of boolean type value and change it into a checkbox. 

    Here is a snippet to manually check all the checkboxes in WebGrid by rendering it page per page. As you might try, we will have a difficulty in setting update row of the WebGrid. That is why, in my snippet, I only use 5 rows per page. So ensure before you try the code, you have already changed the setting of your classic paging with 5 rows per page. And also, in here, the checkbox column's name is "Discontinued". So, to check if the checkbox is checked or not, we can simply set the value into true or false.


        function Button1_onclick()
        {
            var i = 0;
            update(i);
        }
        function update(i)
        {
            var grid = ISGetObject("WebGrid1");
            var row = grid.RootTable.GetRow(i); 
            var cells = row.GetCells();
            row.Select(); 
            cells.GetNamedItem("Discontinued").SetText("true", true); 
            setTimeout(function()
            {
                row.Update(); 
                i++;
                if (i < grid.GetRootTable().GetRowsCount())
                {
                    update(i);
                }
        
                if (i == grid.GetRootTable().GetRowsCount())
                {
                    setTimeout(function()
                    {
                        grid.GotoNextPage();
                        i=0;    
                        
                    }, 400);
                    setTimeout(function()
                    {
                        update(i);
                        
                    }, 1000);
                }
            }, 400);
        }

      I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Posted: March 3, 2010 9:43 PM

Hi John Frost,

    Forgive me, however, I am having a problem to replicate the issue. I have tried to create a simple WebDesktopManager with one shortcut and using a targetURL pointing to another .aspx page, the result is just fine. Here is the link of video that using that particular scenario and it works nicely.

    I also attached my simple sample for you to investigate and compare with your project. If, at the end, you are still having a sample issue, could you kindly send me a simple running sample that will replicate the issue.

    I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: March 3, 2010 9:17 PM

Hi,

    Could you kindly provide me with more detail information? The triangle indicator of sorting will stay on that specific column. So if you scroll the WebGrid horizontally, and the column is hidden, then the triangle will stay with that column. 

     I hope it helps and please do not hesitate to ask if you have any other questions. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: March 3, 2010 8:51 PM

Hi David,

     Glad to hear that your problem has been solved. Please do not hesitate to ask if you have any other questions regarding our product.

      Thank you and have a nice day.

Best Regards,

Andi Santoso

Hi Rob,

    I am a bit confused on "Primary key with multiple column". Does it mean that you have more than one of Primary Key? I believe in every table of multiple columns must be have one PrimaryKey.

    Here, I attached you a sample with Northwind database, I leave the DataKeyField blank as well and it runs just fine. I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: March 2, 2010 10:39 PM

Hi Jean,

    Actually, yes, we do have a client side event of bar clicked. Here, I attached you a modified sample of yours. It should be working just fine right now. I am using the client event side of bar clicked instead of LoadContentPage function.

    I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Posted: March 2, 2010 7:08 AM

Hi Hamid,

   After investigating this particular problem, this problem is occured because the path for that image is not correct. Here are the couple things that you will need to change:

1. Make sure you have that particular image in your project file. If not, you can add them from your 

    IntersoftSolution folder of its CommonLibrary.

2. Next, on your istheme.config, change the ApplyBehaviors property to true. (ApplyBehaviors="true")

3. After that, In your .isl file, for instance WinXP.isl, WinVista.isl, etc, make sure to change the path into the right

    one. Add the path to where the images are saved, you can see how on my sample WinXp.isl.

4. After done changing and adding the path, on your particular theme folder, make sure to erase all

    the .css file existed.

    After follow these steps, the theme should be working just fine. For your information, this issue is occured because we are creating the project in FileSystem, hence it will automatically direct us to the root of our project. This particular issue will not happen when we create this project on our localhost.

    I hope it helps and I also attached my sample of files for comparison of yours. Thank you and have a nice day.

Best Regards,

Andi Santoso

 

 

Hi Way Hang Wee,

     I believe this issue has been discussed on our LiveChat. If I am not mistaken, the newest hotfix will be release in couple weeks ahead. For the second problem in getting the start date, here is the sinppet to do so.

alert(eventView.GetOriginalObject().GetStartTime());

     I hope it helps. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: March 1, 2010 11:43 PM

Hi Conca,

     The best way in order to set a value to a SetForceNoEdit(true) row is by setting them back to SetForceNoEdit(false) again. My suggestion is, you can use a button to determine if we want to do the editing or not. Here is the simple sample using northwind database I attached. In there, we have two button to on/off the SetForceNoEdit. 

     I hope it helps and please do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

All times are GMT -5. The time now is 11:15 AM.
Previous Next