User Profile & Activity

roi ukashi Member
Page
of 4
Posted: March 13, 2014 10:59 AM

Bernard Hi, 

Thank you. 

What would be the best practice to use latest controls with IE 8?

When using IE > 9\chrome\firefox I use HTML5 doctype + RenderingMode=HTML5 for all controls

For IE = 8 I don't use any doctype, and RenderingMode=Quirks (not loading webgrids, and I get many JS errors)



Posted: March 13, 2014 5:09 AM

Bernard Thanks. 

How do I get the KeyValue of the groupped row (or the 'groupped by value', to be exact)?


I was able to create the groupped header checkbox as you described.

I'm also able to Check() and Uncheck() it's GroupChildRows.

BUT:

I would like the ChildRows Checkboxes to be read-only by default. So that the only way to be able to Check()/Unchek() a row is by checking it's parent groupped checkedbox.

If I set either ForceNoEdit (e.Row.Cells.GetNamedItem("RowChecker").ForceNoEdit = true;) or

grid_grouppedRows[i].RowElement.cells[2].childNodes[0].disabled = "disabled";

the row is not checked and .GetCheckedRows() contains nothing.

Please help me find a way to be able to Check()/Uncheck() a row, even though it's checkbox is disabled.

Posted: March 12, 2014 5:18 AM

Bernard Hi, 

Thanks, that would be fantastic. 

Till then, is it possible to add an html input tag (<input type="checkbox"... />) to the GroupHeader header row HTML from SERVER SIDE?


InitializeRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e)
{
 if (e.Row.Type.ToString() == "GroupHeader"){
e.Row.Cells[0].Column... ???
}
}

 

Posted: March 11, 2014 6:20 AM

Hi, this is quite urgent.

I have encountered problems with latest versions of ISNet on IE (tested on IE 11).

(I would also wish to add that working with HTML5 doctypes and rendering mode

works well on both chrome and firefox. 

IE, on the other hand, seems to be a catastrophy.

Please inform me what is the BEST practice when using HTML5.

)


When clicking on either bar item, i get the following error:

GetPaneIFrameElement [Line: 7, Col: 14977], ISRes.axd

this.GetPaneIFrameElement(); }; this.GetPaneIFrameElement =function () { var v5d389 =this.GetContentDivElement(); if (IS.moz ||IS.safari) { if (IS.IsHTML5DocType()) { while (v5d389.children[0].tagName !="IFRAME") v5d389 =v5d389.children[0]; } } else { while (v5d389.children.length !=2) v5d389 =v5d389.children[0]; } if (v5d389.children

....

{exception} Unable to get property 'children' of undefined or null reference


Attached a web page:


<%@ Register Assembly="ISNet.WebUI.WebInput" Namespace="ISNet.WebUI.WebControls" TagPrefix="ISWebInput" %>
<%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop" TagPrefix="ISWebDesktop" %>
<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <link href="~/App_Themes/C4E/V4Style.css" rel="stylesheet" type="text/css" />  
    
    <script type="text/javascript">
         
        function WebPaneManager1_OnInitialize(controlId) {        
            return true;
        }
        function OnBarClick(Id, BarItem) {
            var Nindex = BarItem.Index;
            var navPane = ISGetObject("WebNavPane1");
            var paneManager = ISGetObject("WebPaneManager1");
            var pane = paneManager.GetPaneByName("Content");
            pane.SetContentURL("test.htm");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <ISWebDesktop:WebPaneManager ID="WebPaneManager1" runat="server" Height="100%" Width="100%"
                                     ImagesDirectory="~/Images/" RenderingMode="HTML5">
            <RootGroupPane Name="RootGroupPane" Text="Root GroupPane" GroupPaneHeaderVisible="No">
                <Panes>
                    <ISWebDesktop:WebPane Height="Custom" HeightValue="45px" Name="Header" Text="Header"
                        ContentScrollable="false" AllowCollapse="No" AllowResize="No" DiscardContainerStyle="false"
                        HeaderVisible="No" ContentMode="UseInlineContent">
                       <ContentTemplate>
                            
                        </ContentTemplate>                       
                    </ISWebDesktop:WebPane>
                    <ISWebDesktop:WebGroupPane GroupType="VerticalTile" Name="GroupContent" Text="Group Content">
                        <Panes>
                            <ISWebDesktop:WebPane AllowCollapse="No" AllowResize="No" Name="Content" Text="Content"
                                                 ContentMode="UseIFrame" HeaderAppearance="UseSubStyle" HeaderVisible="No" Height="Custom" HeightValue="100%">
                                    <ContentTemplate>
                                    </ContentTemplate>                                    
                                </ISWebDesktop:WebPane>
                            <ISWebDesktop:WebPane Name="Side" Text="Side" Width="Custom" WidthValue="250px" AllowCollapse="Yes"
                                                  AllowResize="Yes" HeaderAppearance="UseSubStyle" HeaderVisible="No">
                                <ContentTemplate>
                                    
                                    <ISWebDesktop:WebNavPane ID="WebNavPane1" runat="server" Height="100%" Width="100%" RenderingMode="HTML5" 
                                                              GripImage="" OnBarClick="OnBarClick" BarVisible="3">
                                        
                                        <Bars>                                                                                                                                                 
                                            <ISWebDesktop:WebNavBar ContentMode="UseInlineContent" CaptionDisplayMode="TextAndImage" 
                                                                    Image="~/Images/1.gif" Name="ManageBankPages" 
                                                                    Text="1">
                                                    <ContentTemplate>
                                                        
                                                </ContentTemplate>                                                   
                                            </ISWebDesktop:WebNavBar>  
                                                  
                                            <ISWebDesktop:WebNavBar ContentMode="UseInlineContent" CaptionDisplayMode="TextAndImage" 
                                                                    Image="~/Images/2.gif" Name="Banks"
                                                                    Text="2">
                                                <ContentTemplate>
                                                    
                                                </ContentTemplate>
                                            </ISWebDesktop:WebNavBar> 
                                              
                                            <ISWebDesktop:WebNavBar ContentMode="UseInlineContent" CaptionDisplayMode="TextAndImage" 
                                                                    Image="~/Images/3.gif" Name="SAP_REC"
                                                                    Text="3">
                                                <ContentTemplate>
                                                    
                                                </ContentTemplate>
                                            </ISWebDesktop:WebNavBar> 
                                                                                                  
                                                    
                                           
                                                                                                                                                                                                                                                                         
                                        </Bars>
                                        <GripStyle>
                                            <Normal BackColor="LightGray" BackColor2="128, 128, 128" 
                                                GradientType="Vertical" Overflow="Hidden">
                                            </Normal>
                                            <Over BaseStyle="Normal">
                                            </Over>
                                            <Active BackColor="Gray" BackColor2="0, 0, 0" BaseStyle="Normal">
                                            </Active>
                                        </GripStyle>
                                        <FooterSettings>
                                            <FooterStyle BackColor="White" BackColor2="220, 220, 220"
                                                GradientType="Vertical" HorizontalAlign="Right" Overflow="Hidden" Height="20px" />
                                        </FooterSettings>
                                        <BarSettings>
                                            <CaptionStyle BackColor="Gray" BackColor2="245, 245, 245" Font-Bold="True" 
                                                Font-Names="Arial" Font-Size="11pt" ForeColor="White" Height="20px" 
                                                Overflow="Hidden">
                                                <Padding Bottom="4px" Left="4px" Right="4px" Top="4px" />
                                            </CaptionStyle>
                                            <BarStyle>
                                                <Normal BackColor="White" BackColor2="245, 245, 245" Cursor="Hand" 
                                                    Font-Bold="True" Font-Names="Tahoma" Font-Size="8.25pt" GradientType="Vertical" 
                                                    Overflow="Hidden" OverflowX="Hidden" OverflowY="Hidden">
                                                </Normal>
                                                <Over BackColor="LightSteelBlue" BaseStyle="Normal">
                                                </Over>
                                                <Active BackColor="LightGray" BaseStyle="Normal">
                                                </Active>
                                            </BarStyle>
                                        </BarSettings>
                                        <BarItemSettings>
                                            <ItemStyle>
                                            <Normal Cursor="Hand" Font-Names="Tahoma" Font-Size="8.25pt" ForeColor="Black" 
                                                Overflow="Hidden">
                                                <Padding Bottom="3px" Left="6px" Right="6px" Top="3px" />
                                            </Normal>
                                            <Over BackColor="WhiteSmoke" BaseStyle="Normal">
                                            </Over>
                                            <Active BackColor="#C0C0FF" BaseStyle="Normal" BorderColor="#0000C0" 
                                                BorderStyle="Solid" BorderWidth="1px" Font-Bold="True">
                                            </Active>
                                            </ItemStyle>
                                            <ItemsContainerStyle Font-Names="Tahoma" Font-Size="8.25pt" Height="100%" 
                                                Overflow="Hidden" OverflowY="Hidden" Width="100%">
                                                <Padding Bottom="4px" Left="4px" Right="4px" Top="4px" />
                                            </ItemsContainerStyle>
                                        </BarItemSettings>
                                        <FrameStyle BackColor="#EFEFEF" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" />                                         
                                    </ISWebDesktop:WebNavPane>
                                </ContentTemplate>
                            </ISWebDesktop:WebPane>
                        </Panes>
                    </ISWebDesktop:WebGroupPane>
                </Panes>
            </RootGroupPane>
             <FrameStyle BackColor="#E0E0E0" BorderColor="#404040" BorderStyle="None" BorderWidth="0px"
                ForeColor="White">                
                <BorderSettings>                    
                    <Top Width="0px" />
                </BorderSettings>
                <Padding Bottom="0px" Left="0px" Right="0px" Top="0px" />
            </FrameStyle>
            <PaneSettings>
                <HeaderSubStyle BackColor="#E0E0E0" BackColor2="White" BorderColor="Gray" BorderStyle="Solid"
                    BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt" GradientType="Vertical">
                    <Padding Bottom="0px" Left="0px" Right="0px" Top="0px" />
                </HeaderSubStyle>
                <InfoTextStyle Font-Names="Tahoma" Font-Size="8pt" ForeColor="White">
                </InfoTextStyle>
                <ContainerStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px"
                    Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black">
                    <Padding Bottom="0px" Left="0px" Right="0px" Top="0px" />
                </ContainerStyle>
                <HeaderMainStyle BackColor="DimGray" BackColor2="LightGray" BorderColor="Gray" BorderStyle="Solid"
                    BorderWidth="1px" Font-Bold="True" Font-Names="Arial" Font-Size="12pt" ForeColor="White"
                    GradientType="Vertical">
                    <BorderSettings>
                        <Top Width="0" />
                    </BorderSettings>
                    <Margin Bottom="0px" Left="0px" Right="0px" Top="0px" />
                    <Padding Bottom="0px" Left="0px" Right="0px" Top="0px" />
                </HeaderMainStyle>
            </PaneSettings>
            <SplitterStyle>
                <Active BackColor="Black" BaseStyle="Normal">
                </Active>
                <Over BaseStyle="Normal">
                </Over>
                <Normal BackColor="#E0E0E0">
                </Normal>
            </SplitterStyle>
            <TextSettings InProgressText="" />
            <ImagesSettings SplitterGripBottom="SplitterDown.gif" SplitterGripLeft="SplitterLeft.gif"
                SplitterGripRight="SplitterRight.gif" SplitterGripTop="SplitterUp.gif" InProgress="Loading/loading43.gif" />
            <ClientSideEvents OnInitialize="WebPaneManager1_OnInitialize" />
        </ISWebDesktop:WebPaneManager>
    </div>
    </form>
</body>
</html>

 web.config:

<system.webServer>

<validation validateIntegratedModeConfiguration="false"/>

<handlers>

<remove name="ISRes.axd_GET"/>

<remove name="ISCoverFlow.axd_GET"/>

      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

<add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/>

<add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/>

<add name="WebFileUploaderHttpHandler.axd_GET" path="WebFileUploaderHttpHandler.axd" verb="GET" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpHandler, ISNet.WebUI.WebTextEditor" preCondition="integratedMode"/>

<add name="ISScheduler.axd_GET" path="ISScheduler.axd" verb="GET" type="ISNet.WebUI.WebScheduler.WebSchedulerRequestHandler, ISNet.WebUI.WebScheduler" preCondition="integratedMode"/>

<add name="IntersoftResource" path="ISRes.axd" verb="GET" preCondition="integratedMode" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" xmlns=""/>


</handlers>

<modules>

<remove name="ScriptModule"/>

<add name="WebFileUploaderHttpModule_GET" preCondition="managedHandler" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpModule, ISNet.WebUI.WebTextEditor"/>

</modules>

<security>

<requestFiltering>

<requestLimits maxAllowedContentLength="104857600"/>

</requestFiltering>

</security>

</system.webServer>

Posted: January 23, 2014 2:17 PM

Bernard Hi, 

Thank you very much for you kind reply. Your patch seems to be working.

Is this issue about to be fixed this month? Would you be able to inform us on the hotfix release?

I am still investigating issues with IE 8 and HTML 4. Will update you soon.


Thanks!

Posted: January 22, 2014 4:54 AM

Bernard Hi, 

The following code causes IE 11 to generate the above errors, which in return cause web page to reload when simulating a client side WebButton click. This behaviour only occurs on IE 11, while other browsers do not show any errors or reload the page:

<!DOCTYPE HTML>
<html>
<head runat="server">
    <title></title>    
</head>
<body onload="iLoad();">
    <form id="form1" runat="server">
    <div>
    
                      
             <ISWebDesktop:WebButton CausesValidation="false" ID="iWebButton" runat="server" Height="20px"                                      AutoPostback="false" OnClientClick="iWebButton_OnClientClick">                
                <FlyPostBackSettings PostHiddenFields="True" PostInputControls="True" />                  
            </ISWebDesktop:WebButton>               
        
    </div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript">
    function iLoad() {
        var wb = ISGetObject("iWebButton");
        alert('Page Load');
        wb.Click();
    }
    
    function iWebButton_OnClientClick(controlId, parameter) {
        alert("iWebButton Clicked");
    }
    
</script>

 Also, which hander are you refering to when using integrated pipeline. This is my web.config system.WebServer tag. Is it declared ok?

<system.webServer>

    <validation validateIntegratedModeConfiguration="false"/>

    <handlers>

      <remove name="ISRes.axd_GET"/>

      <remove name="ISCoverFlow.axd_GET"/>

            

      <add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/>

      <add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/>

      <add name="WebFileUploaderHttpHandler.axd_GET" path="WebFileUploaderHttpHandler.axd" verb="GET" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpHandler, ISNet.WebUI.WebTextEditor" preCondition="integratedMode"/>

      <add name="ISScheduler.axd_GET" path="ISScheduler.axd" verb="GET" type="ISNet.WebUI.WebScheduler.WebSchedulerRequestHandler, ISNet.WebUI.WebScheduler" preCondition="integratedMode"/>

      <add name="IntersoftResource" path="ISRes.axd" verb="GET" preCondition="integratedMode" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" xmlns=""/>

    </handlers>

    <modules>

      <remove name="ScriptModule" />

      <add name="WebFileUploaderHttpModule_GET" preCondition="managedHandler" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpModule, ISNet.WebUI.WebTextEditor"/>

    </modules>

    <security>

      <requestFiltering>

        <requestLimits maxAllowedContentLength="104857600"/>

      </requestFiltering>

    </security>

  </system.webServer>

Posted: January 21, 2014 3:27 AM

Bernard Hi, 

I'm getting these errors when using IE 11: (what can cause this?)


'ValidatorCommonOnSubmit' is undefined

'ValidatorOnLoad' is undefined

'ValidatorOnSubmit' is undefined

'Page_IsValid' is undefined

'ContentPadding' is undefined

'SplitterStyle' is undefined

'ButtonStyle' is undefined


Futhermore, my application seems to work fine with:

Chrome 32.0.1700.76, FF 26, IE 9, 10 but not IE 11 or IE 8.

Which IE versions intersoft 2013 formally support?

I'm using the following:

Html:

<!DOCTYPE HTML>

<html>

(RenderingMode="HTML5" for each intersoft control)

--------------------------

Web.config:

<add key="ISNet.WebUI.WebDesktop.V4_0_7200.RenderingMode" value="HTML5" />

<add key="ISNet.WebUI.WebCombo.v6_0_7200.RenderingMode" value="HTML5" />

<add key="ISNet.WebUI.WebGrid.v8_0_7200.RenderingMode" value="HTML5" />

with XmlCompressionEnabled set to true for all components.

And: .Net 4 Integrated application pool

Posted: January 12, 2014 5:10 AM

Handy/Hans Hello, 


I have watched the video, though the sample shows input of positive numbers, while the missing stoke issue occures and demonstrated by using negative numbers, using - sign first: -123,345

Missing key stoke occures after the input of "-" sign.




Handy Hi, 


What do you mean by Cache? I am disabling chache on my end, by using 'no-chache' meta and so on.

Is it an issue? Has it been resolved in future versions, regardless of the cache?


Thanks.

Posted: January 9, 2014 3:10 AM
Hans Hi, Yes, I was referring to the "Missing key stroke" issue. I was not able to open the video zip file.
All times are GMT -5. The time now is 3:20 PM.
Previous Next