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

[Solved] New popup window is not opeing

0 Answers 32 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
neelam
Top achievements
Rank 1
neelam asked on 20 Oct 2010, 04:16 AM

In grid column hyperlink click event I m calling following method to open popup window. but it is not showing any error.

 

function

 

 

test(e) {

 

 

 

//the DOM element (<tr>) representing the row which is being databound

 

 

 

 

 

alert(

 

"test->" + e);

 

$.ajax({

url:

 

'/Test/TestDetail',

 

type:

 

'POST',

 

dataType:

 

'html',

 

data:

 

"{ }",

 

success:

 

function (resultData) {

 

 

 

//alert("succ-->" + resultData)

 

 

 

 

 

 

 

var windowElement = $.telerik.window.create({

 

title:

 

"Insert image",

 

html:

 

"Are you sure you wish to continue?",

 

modal:

 

true,

 

resizable:

 

false,

 

Visible:

 

false,

 

draggable:

 

true

 

 

 

 

 

}).data(

 

'tWindow');

 

dialog.center().open();

 

},

error:

 

function (xhr, ajaxOptions, thrownError) {

 

alert(xhr.status +

 

'ajaxOptions-->' + ajaxOptions + 'thrownError->' + thrownError);

 

 

 

//alert(xhr.status);

 

 

 

 

 

 

 

//alert(thrownError);

 

 

 

 

 

}

});

Please help me for this issue.

Tags
Window
Asked by
neelam
Top achievements
Rank 1
Share this question
or