This is a migrated thread and some comments may be shown as answers.

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

1 Answer 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ranjan
Top achievements
Rank 1
Ranjan asked on 28 Nov 2012, 12:25 PM
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

1 Answer, 1 is accepted

Sort by
0
Ranjan
Top achievements
Rank 1
answered on 29 Nov 2012, 12:55 PM
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.
Tags
General Discussions
Asked by
Ranjan
Top achievements
Rank 1
Answers by
Ranjan
Top achievements
Rank 1
Share this question
or