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

RadWindow message size issue

1 Answer 90 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ignatiuz
Top achievements
Rank 1
Ignatiuz asked on 14 Sep 2011, 03:14 PM

 

 

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">

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 15 Sep 2011, 11:52 AM
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
Tags
Window
Asked by
Ignatiuz
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or