User Profile & Activity

Julia Wijaya Support
Page
of 24
Posted: December 7, 2009 1:57 AM

Hi John,

 

Unfortunately, you can only add new column from server side. Right now we didn't support adding column from client side.

 

Regards,

 

Julia

Posted: December 4, 2009 5:53 AM

Hi Johny,

 

Your code is almost right. You just have to change code in yellow part below:

function Grid1_RowSelect()

{

var wgDetalle = ISGetObject("wgDetalle"); wgDetalle.enabled =false;

wgDetalle.SetChanged();

wgDetalle.RootTable.UpdateUI();

wgDetalle.Refresh();

}

However, if you disable the grid in client side, the UI don't change to disable but the functionality will be disable. It's better to enable and disable the grid from server side.

Hope this help.

 

Regards,

 

Julia

Hi,

I already followed your WebGrid settings and styles in my sample but still could not replicate your issue. In fact, there are some missing resources/controls in your aspx which I could not follow such as usercontrol,database and also you did not give me WebGrid Column. So, here is my attached sample which I used Northwind database. When placed inside your structure page like table, the layout is fine. Maybe structure in your MasterPage also can affect the result. So, I will need you to help me by modifying my sample and send it back to me if you succeed to replicate the issue in there. I need this to investigate your issue.

Regards,

 

Julia

Posted: December 4, 2009 3:57 AM

Hi Jocelyn,

 

You can use the OnCellClick client side event. In this client side event, you can trigger the GetDetail() function.

Hope this help.

 

Regards,

 

Julia

Hi Aruna,

 

Glad to hear you the problem solved

 

Actually we have documentation about this, you can browse it at http://support.intersoftpt.com/KBArticle.aspx?aid=245

 

Best Regards,

Posted: December 3, 2009 6:22 AM

Hi Francois,

 

Do you use FileSystem? If yes, the issue could happened because the image is located at CommonLibrary which located at IIS. And FileSystem cannot access the folder that is causing the image missing in design view. Have you try register SmartWebResources (right click on WebGrid in design and choose "register SmartWebResources") ?

 

Regards,

 

Julia

Posted: December 3, 2009 6:17 AM

Hi Pierre,

 

Here i attached my simple sample on how to refresh the grid using SendCustomRequest. Could you check and let me know if you have different scenario?

 

Regards,

 

Julia

Posted: December 3, 2009 4:50 AM

Hi Sunym,

 

Your code is almost right, but you need to add the following code:

function WebGrid1_OnRowValidate(rowObject) {

            var xcl = wgGetCellByElement(wgGetCellByName(rowObject, "Price")).Text;

            var sl = wgGetCellByElement(wgGetCellByName(rowObject, "Quantity")).Text;           

            if (sl > xcl) {

                alert("test");

                return false;

            }

        }

 

Hope this help.

 

Regards,

 

Julia

Hi Aruna,

 

Yes, you already have the complete dll in your bin folder. Please right click on the page where you got the error and choose view source then please send me the page source. I need it to investigate the issue further.

Also you can check the following article to solve your issue : http://support.intersoftpt.com/KBArticle.aspx?aid=245

 

Regards,

 

Julia

Hi Pierre,

 

I have created a sample based on your scenario, but it works fine in here. Do you put the grid inside a container (e.g div, Iframe, etc)? Also if it possible, could you attach me your aspx page? I need to investigate the structure.

 

Regards,

 

Julia

All times are GMT -5. The time now is 3:40 PM.
Previous Next