User Profile & Activity

Julia Wijaya Support
Page
of 24

Hi Tenika,

 

You can set the value of Height and Width in percentage, it will be work fine. Here I attach my work sample. In our sample this issue occur since we use some style from different source that make a colition resizing. I will forward your issue to be fix to our development team.

 

Regards,

 

Julia

Hi Tenika,

 

Could you describe more spesific about the incorrect rendering? If it is possible, screenshot could be very helpfull. Thanks.

 

Regards,

 

Julia

 

Posted: December 9, 2009 10:18 PM

Hi Jocelyn,

 

After I checked, property HeaderWrapDefault existed at our next hotfix. Right now, I am using the nightly build that I used for testing. I'm sorry for the inconvenience. I will inform you when the hotfix is ready.

 

Regards,

 

Julia

Hi Madhavan,

 

I have created a sample based on your scenario. But I can't replicate your issue. The WebGrid just refresh one time.

Here I attached my sample. I'm using Northwind as the database. And here are the steps that I do to replicate your issue:

1. Input text (e.g: alfki, anatr), it would filtering the first grid.

2. Selecting a row of the first WebGrid will refresh the second WebGrid.

3. Selecting a row of the second WebGrid will refresh the first WebGrid.

Could you please check my sample and let me know whether you have the same error as yours or not. If not could you please modify my sample so it will get the same error as yours and send it back to me?

Regards,

 

Julia

Posted: December 9, 2009 6:25 AM

Hi Francois,

Have you use our latest WebTextEditor hotfix? You can update it using UpdateManager. After that you can do the following steps:

-          Close your Visual Studio program >> run iisreset

-          Delete all the files on C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

Hope this help.

 

Regards,

 

Julia

Posted: December 9, 2009 2:56 AM

Hi Jocelyn,

 

The property only exist in WebGrid 7. Do you use another version of WebGrid? If yes, you can follow the following description:

 

The properties that need to use is CustomRules. You can find it in WebGrid's Properties>LayoutSettings. However, using CustomRules will make WebGrid's style disappear. Therefore, you can use CssClass to keep persist the style.

Here are the properties that has to be set:

- RowHeightDefault = -1px

- HeaderStyle>CssClass = WG5-Header

- HeaderStyle>CustomRules = heigh: auto

 

Below is the WebGrid's tag sample:

<ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="250px" UseDefaultStyle="True" Width="500px">
   <RootTable DataKeyField="CustomerID">
   </RootTable>
   <LayoutSettings RowHeightDefault="-1px">
      <HeaderStyle CssClass="WG5-Header" CustomRules="height: auto" />
   </LayoutSettings>
</ISWebGrid:WebGrid>

 

Hope this help. Let me know if you need another help.

 

Regards,

 

Julia

Posted: December 8, 2009 2:12 AM

Hi Jocelyn,

 

Here I attached my simple sample on how to make the header wrap. Basically you only need to set set HeaderWrapDefault="True" property. Hope this helps.

 

Regards,

 

Julia

Hi Madhavan,

 

I have tested your code but I didn't get your twice refresh grid issue. In which event that you trigger the javascript code? Also do you have more detail information abour your scenario?

 

Regards,

 

Julia

Posted: December 7, 2009 2:01 AM

Hi Johnny,

 

You only need the following code to disable the grid:

function Grid1_RowSelect()

{

var wgDetalle = ISGetObject("wgDetalle");

wgDetalle.enabled =false;

}

But as i told you before that when you disable the grid from client side the grid functionality will become disable (e.g. edit, sorting, refresh, etc) but not the UI. If you want to have the UI also change to disable then there's no other way than using server side.

 

Regards,

 

Julia

All times are GMT -5. The time now is 1:26 PM.
Previous Next