1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    10
    Vote Rating
    0
    nvt.meister is on a distinguished road

      0  

    Default Is it possible to include a 3rd party control without using iFrame?

    Is it possible to include a 3rd party control without using iFrame?


    It should be easy to include a 3rd party control (in my case, a DevExpress GridView) using iFrame in a ExtJS Component and point its source to the aspx page containing the control. But a problem arise later. To explain it simply: when there are many users using the same grid view at the same time, it doesn't work as multiple instances, but only 1 instance. So I want to include the DevExpress control on the same page as the ExtJS app page (specifically to include the DevExpress GridView in the ExtJS Panel), so that it would work as an independent instance.
    What I have tried: manually put DevExpress control in a div tag and add style attribute to it in order to position it at the same position as the ExtJS Panel.


    HTML Code:
    <!DOCTYPE html>
    <html>
    <head>    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    
    <title>OrderRequestList</title>    
    <script src="http://cdn.sencha.com/ext/gpl/4.2.1/ext-all.js"></script>    
    <link rel="stylesheet" href="http://cdn.sencha.com/ext/gpl/4.2.1/resources/ext-theme-classic/ext-theme-classic-all.css">    
    <script type="text/javascript" src="app.js"></script>    
    </head>
    <body>
    <form runat="server">
    <%--This position is the same as ExtJS Panel--%>
    <div id="grid-holder" style="top: 28px; left: 0px; height: 309px; width: 865px; position: absolute;">    
    <dx:ASPxGridView .....>    
    </dx:ASPxGridView>
    </div>
    </form>
    </body>
    </html>
    This worked partially on IE, but didn't work at all on Chrome. So I'm out of idea.
    Is it possible to do this?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,872
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Is the something that you are being forced to do? If you want to use DevEx grid .. (.NET)? .. why include Ext at all?
    Making things a bit hard on yourself.

  3. #3
    Sencha User Misiu's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    206
    Vote Rating
    33
    Misiu has a spectacular aura about Misiu has a spectacular aura about

      0  

    Default


    Why don't You try http://www.ext.net/ this is .NET wrapper around ExtJS.
    With this You can write server side code (even connect it to other controls like DevExpress) and You will get nice looking ExtJS output.

  4. #4
    Sencha User
    Join Date
    Oct 2013
    Posts
    10
    Vote Rating
    0
    nvt.meister is on a distinguished road

      0  

    Default


    Thanks for all the reply. We want to make use of the many features feature of the DevExpress Grid (such as report generating) that can't be done with Ext Grid, so we had to implement a way to make use of many component of different type. And yes, we have experienced the Ext.NET before, but soon it's became difficult to maintain and reuse the huge chunk of code it generated.This is just one of the many approach my team proposed, so I want to see if it's possible to do this. If not, we can always just use IFrame as usual.

Thread Participants: 2

Tags for this Thread