RadWindow message size issue

2 posts, 0 answers
  1. Ignatiuz
    Ignatiuz avatar
    9 posts
    Member since:
    May 2010

    Posted 14 Sep 2011 Link to this post

     

     

    Hi,
    I am using telerik grid. On delete an item i want to confirm delete from user. If i increase the Confirm Text more than below then the grid deletes the item without confirmation.Is there any fixed size for RadWindow message?

    My code:-
    <
    telerik:GridButtonColumn ConfirmText="Instesd of using 'Delete', you can use the 'Sell' option and have 

    the records stored in your 'Transaction History'. Do you still want to proceed with 'Delete'?Yes(OK) or No(Cancel)"

    ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" 

     

    CommandName="Delete" Text="Delete" ImageUrl="/images/ImgDelete.gif" UniqueName="DeleteColumn"

     

    HeaderText="Delete">

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4569 posts

    Posted 15 Sep 2011 Link to this post

    Hi Deepesh,

    Please make sure that the text does not break into multiple lines, as this would result in a JavaScript error and this is very likely to break the RadWindow functionality. You can find an example of this in the second page I am attaching, even without a long text: http://screencast.com/t/R447cAPSQ. Please note that if you have disabled JavaScript error notifications this error may go unnoticed and the postback from the button will simply continue, instead of popping up the confirmation.

    I tested this behavior with an extremely large body of text on the same line so that we have a properly terminated string and it seems to be working correctly: http://screencast.com/t/xwNGt9vAoy.


    Best wishes,
    Marin
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Back to Top