User Profile & Activity

Andi Santoso Support
Page
of 53
Posted: June 22, 2010 3:53 PM

Hi Luciano Sitzia,

     While you get the error, are there any other messages beside "unable to satart debugging" ? Also. have you ensure on the CommonLibrary that has been set as a Virtual Directory has a right Physical Path and set the Application Pool as  Classic .Net AppPool?

     I hope it can help. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 22, 2010 3:46 PM

Hi Heny,

     In this case, since we are not using the WebCombo as a edit type, we will need to get the element of its dropdrownlist which attached to the WebGrid, after that, we can simply call the onclick event to trigger on showing the dropdownlist calender.

      Here is the snippet:

        function Button1_onclick()
        {
            var grid = ISGetObject("WebGrid1");
            var getSelectedObject = grid.GetSelectedObject();
            if (getSelectedObject != null)
            {
                var toRowObject = getSelectedObject.ToRowObject();
                var getCell = toRowObject.GetCells().GetNamedItem("OrderDate");
                getCell.ActivateEdit();
                setTimeout(function()
                {
                    document.getElementById("WebGrid1_CalDD").onclick();
                }, 200);
            }
            else{
                alert("Please select a row first");
            }
        }


Best Regards,

Andi Santoso

Hi Vince,

     Forgive me, however, I am not able to replicate your issue. I have tried that and in my end, everything works nicely. I also attached you my screen shot in every view mode, please kindly take a look.

     I also attached you the latest build of WebScheduler, perhaps you can simply copy them to your bin folder into your project.

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

Best Regards,

Andi Santoso

Posted: June 21, 2010 3:18 PM

Hi Dermot,

     Unfortunately, the only way to do so is by re-design the images manually one by one. At this moment, we do not have any software to change the each color of the images.

     Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 18, 2010 1:41 PM

Hi James,

     Forgive me, I think I will need more time to discuss this with our Developer. I will let you know if I got news from them regarding this. Sorry for the inconvenience. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 18, 2010 1:38 PM

Hi Dermot,

     May I know on what component are we talking about? I am pretty sure that on every each component of our product is supported by multiple themes available. However, if those theme is not suited for your, perhaps you can create your own theme.

     We do have WebStyleManager which allows user to create their own theme. You can go here to watch a short movie on how to use those application.

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

Best Regards,

Andi Santoso

Hi Jolie,

     Unfotunately, we do not have a server side event on the button or image is clicked. However, on the attached file that I provide to you, it will show a workaround to do that scenario.

     We will need to use a hidden input value to set the validation based on the item or button name on the server side.

     I hope my sample will help you. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 18, 2010 11:57 AM

Hi Fabrizio,

     Yes, that would be a default behavior of our WebGrid. We will need to handle this manually. Attached is a sample to handle that scenario. Please kindly take a look and give me a feedback regarding that. Also, I am using Northwind as a database.

     In my sample, I have also managed for both options, on cell select and on cell edit mode. Both of them, will be automatically go to the next first row of the second WebGrid component.

      I hope it can help. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 17, 2010 12:09 PM

Hi Fabrizio,

     Forgive me, however, I am not able to replicate your issue. I have tried to press tab button when it arrives at the last cell and eventually, it will go to the next row.

     May I know your WebGrid's version and build please? Also, please ensure that you are using the lates build of WebGrid. Thank you and have a nice day.

Best Regards,

Andi Santoso

Posted: June 16, 2010 9:53 AM

Hi Fabrizio,

     In order to use the keystrokes to lost focus from WebGrid and set focus to other component in asp page, we can use OnKeyDown client side event of a WebGrid. Here is a snippet to set the focus to other component, i.e a simple TextBox, with a "tab" button.

        function WebGrid1_OnKeyDown(controlId, tblName, rowIndex, cellIndex)
        {
            var grid = ISGetObject(controlId);
            var getSelectedObject = grid.GetSelectedObject().ToRowObject();
            if (getSelectedObject.cells == null)
            {
                if (event.keyCode == "9")
                {
                    var textbox = document.getElementById("TextBox1");
                    textbox.focus();
                }
            }

        }

      However, since I am using a tab button, which can be used to change to the next cell during an editing, we will need to make an exception in here. After we have done or exit from edit mode and press tab, it will set focus to text box in asp page.

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

Best Regards,

Andi Santoso

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