Urgent : Silverlight gridview crash on pressing Ctrl+C, Clipboard access

2 posts, 0 answers
  1. Ranjan
    Ranjan avatar
    6 posts
    Member since:
    Jan 2012

    Posted 28 Nov 2012 Link to this post

    I have a silverlight gridview, When I press Ctrl+C on gridview row selected silverlight get crashed. This is only happening in Mozilla. In IE thing are fine.
    Also, when I am setting winodwless='false' everything is working fine, this problem start when windowless is true. I need window less true as RadWindowManager does not render properly when windowless=false.
    <object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
                            width="100%" height="90%" style="width: 100%; height: 90%">
                              <%
                                  string strSourceFile = @"ClientBin/DashboardSL.xap";
                                  string param;
                                  param = "<param name=\"source\" value=\"" + strSourceFile + "?ignoreme=1.0.0.24\" />";
                                  Response.Write(param);
                             %>
                            <param name="source" value="../ClientBin/DashboardSL.xap" />
                            <param name="onError" value="onSilverlightError" />
                            <param name="background" value="white" />
                            <param name="minRuntimeVersion" value="5.0.61118.0" />
                            <param name="autoUpgrade" value="true" />
                            <param name="windowless" value="true" />
                  <param name="initparams" id="initParams" runat="server" value=""/>
                  <param name="autoUpgrade" value="true" />
                            style="text-decoration:none">
                       <img src="http://go.microsoft.com/fwlink/?LinkId=161376"
                          alt="Get Microsoft Silverlight" style="border-style:none"/>
                  </a>
                </object>

    This is real urgent as my application is already live.

    Please suggest ASAP.

    Thanks
    Ranjan
  2. Ranjan
    Ranjan avatar
    6 posts
    Member since:
    Jan 2012

    Posted 29 Nov 2012 Link to this post

    This fixed my problem
    <UserControl x:Class="TicketID_250942_HeaderCellStyle.MainPage"
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
        xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
        <Grid>
            <telerik:RadGridView Name="clubsGrid"
                                 Controls:Clipboard.IsEnabled="False">
            </telerik:RadGridView>
        </Grid>
    </UserControl>

    There is no crash now but its not copying anything.. Please fix this ASAP.
  3. DevCraft banner
Back to Top