User Profile & Activity

Yudi Member
Page
of 259

I recommend you to take a look at Crosslight FormBuilderSamples. Navigate to Editors > List View > Navigation section. The sample shows how to add ListView on FormBuilder.

I tried to run the sample on iPhone 6s iOS 9.2 (emulator) without any problem.

Please feel free to let me know if you find anything that I might miss during my attempt to reproduce the problem.

Posted: February 10, 2016 10:58 AM

Sorry for any inconvenience this designer problem may have caused you.

We'll continue to investigate the designer problem on VS 2015. I hope you don't mind if we contact you in order to gather more information regarding the problems in VS 2015.

Posted: February 10, 2016 10:53 AM

Sorry for the delay in sending this.

By comparing Firefox_correctly_shows.JPG and IE_11_wrap.JPG, I can see that the caption of column header overlapping the next column header in IE browser.

Try to add CustomRules in HeaderStyle and set its value as shown in the following snippet code.

<ISWebGrid:WebGrid ID="WebGrid1" runat="server" ...>
    <RootTable DataKeyField="CODICE">
        <Columns>
            <ISWebGrid:WebGridColumn Caption="CODICE" DataMember="CODICE"
                Name="CODICE" Width="100px">
            </ISWebGrid:WebGridColumn>
            ...
        </Columns>
    </RootTable>
    <LayoutSettings ...>
        ...
        <HeaderStyle ... CustomRules="text-overflow:ellipsis;overflow:hidden;" />
    </LayoutSettings>
</ISWebGrid:WebGrid>

This should helps.

... My WebDesktop height is 100% also width set to 100%

The above hints helps me to reproduce the problem in my local end. It turns out that I have to drag the WebDesktopWindow until mouse pointer leaves the browser's window.

The reported problem has been forwarded to WebDesktop development team to be investigated further. It is filed under ASPNET-314. I will keep you updated with any news I heard from the team regarding ASPNET-314.

Posted: February 10, 2016 9:35 AM

Thank you for the sent sample.

I found WebForm1.aspx page in your sample. This page has WebGrid control inside. When view this page in browser, WebUI Framework (through Theme architecture) will detect for istheme.config file and automatically apply the contained theme information and component's style definition to the requested page.

As stated in winvista.istheme, the style definition for WebGrid component using DefaultSample.isl (see snippet code of winvista.istheme below).

<?xml version="1.0" encoding="utf-8"?>
<ISTheme>
  <ThemeGroup Name="Default" IsDefault="true">
    <ISComponents>
      <Component Type="ISNet.WebUI.WebDesktop.WebDesktopManager"
        Assembly="ISNet.WebUI.WebDesktop"LayoutName="Vista" DataFile="WinVista.isl" />
      <Component Type="ISNet.WebUI.WebGrid.WebGrid"
        Assembly="ISNet.WebUI.WebGrid" LayoutName="NewStyle" DataFile="DefaultSample.isl" />
    </ISComponents>
  </ThemeGroup>
</ISTheme>

Try to add this data file into WinVista folder. You can use the attached DefaultSample.isl file for test purpose. After that, ensure that you have granted write permission of the WinVista folder.

Save all the changes; build your web application; and view WebForm1.aspx page in browser. WinVista.css file will be generated at first run.

Note: I enclose the generated file, WinVista.css, for reference.

Please let me know if you have different result.

Posted: February 10, 2016 7:59 AM
... we need a js event in place of sorting of colums whenever user clicks on particular column-header...

OnColumnSort client-side event should fit with your scenario. It specifies the client side (JavaScript) function that will be invoked when a column is about to be filtered by user.

Sorry for the delay in sending this.

Posted: February 10, 2016 7:49 AM

By enabling AutoPostBackSettings and specific action is executed (in this case: drag-drop, node add, node check changed, node delete, and node edit), WebTreeView will call specified event handler at server-side where developer can perform additional action based on that event.

Try to set PostBackModeType property to FlyPostBack to have advantages from both world. Event handler at server-side and client-side events are firing.

The changes can be seen in the following snippet code:

<ISWebTreeView:WebTreeView ID="WebTreeView2" runat="server"
    ...
    AllowAddNode="True" AllowDeleteNode="True" AllowNodeEditing="Yes"
    OnNodeSelectChanged="WebTreeView2_NodeSelectChanged"
    PostBackModeType="FlyPostBack">
    <AutoPostBackSettings OnDragDrop="true" OnNodeAdd="true"
        OnNodeMove="true" OnNodeSelectChanged="True" />
    <DragDropSettings AllowRootDrop="True" AllowChildDrop="True"
        AllowLeafDrop="True" AllowSiblingDrop="True" />
    <NodeSettings EnableAnimation="True" />
    <ClientSideEvents OnDragDrop="OnDragDrop" OnNodeMove="OnNodeMove"
        OnNodeAdd="OnNodeAdd" />
</ISWebTreeView:WebTreeView>

This should helps.

Posted: February 9, 2016 10:02 AM

The feature will be carried out by development team after the release of 2016 R1. I'll keep you updated with any news I heard from the team regarding CROS-1016.

Posted: February 9, 2016 7:25 AM

I created a simple sample of WebTreeView based on your description. The data source is a List and the treeview node is contructed on Page_Load event.

Following treeview events: Drag Drop, NodeMove, NodeAdd - are working as expected. Please have the attached sample evaluated on your end and let me know if you have different result.

... I'm using IE10 and when i'm displaying a calendar control, it displays partially

I don't have with problem with other browsers (Firefox, Chrome, IE11 or Edge)...

I created a very simple sample of WebGrid. The page, WGCalendarEditorTestPage.aspx, shows Orders table of Northwind. It has four columns: OrderID, CustomerID, OrderDate, and RequiredDate.

OrderDate column uses CalendarDropdown editor; and RequiredDate column uses CalendarCombo editor.

I test the reported problem, ...it displays partially..., using IE 11 where Document mode is set to: 10 and User agent string is set to: Internet Explorer 10. The problem is not reproducible (see screenshot below).

I enclosed my sample page as attachment. You can run it simply by adding it to the WebGrid sample project without additional tasks.

I will need your help to:

  • Modify the sample until replicate the reported problem.
  • provide step-by-step guide that I can use to reproduce the problem.

Note: for your information, I'm using WebGrid 9.0.7200.8 on my local test.


...when setting a date, i got a jscript message

screenshots available here...

I use Google Translate to translate the JS error message based on the provided screenshot. In English, the error message is: "Unable to set the << className >> property of a null reference or undefined". Please correct me if I'm wrong.

I test the problem using WGCalendarEditorTestPage.aspx and found that there is no problem when I set a date.

Could you please kindly let me know if you find anything that I might miss during my attempt to reproduce the problem?

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