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

[Solved] Change Window with Jquery

4 Answers 183 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.
Henrique Potter
Top achievements
Rank 1
Henrique Potter asked on 20 Jul 2010, 02:45 PM
I want to change window width in client where i am getting it wrong?


//        $('#span1')

//        .bind('click', function openWindow(e) {
//            var window = $("#PopUpPesquisa").data("tWindow"); 
//              window.width("600px");
//        })


I am using this: but i keep getting object dont support this property.

var window = $("#PopUpPesquisa").data("tWindow"); 
//              window.width("600px");


Environment Espec:
ASP.NET MVC 2
Vista
IE 7.0
Telerik Q2 release
Language (C#)

4 Answers, 1 is accepted

Sort by
0
nachid
Top achievements
Rank 1
answered on 23 Jul 2010, 09:41 AM
it is pure JQuery and this should do it
$("#PopUpPesquisa")
.width("600px");
0
Mark
Top achievements
Rank 1
answered on 19 Aug 2010, 09:28 AM
I tried this
$('#DocumentUpload').height("229px");
and this
$('#DocumentUpload').data('tWindow').height("229px");

and neither worked... any help would rock!
0
nachid
Top achievements
Rank 1
answered on 24 Aug 2010, 11:16 AM

$('#DocumentUpload').height("229px") should definitly work
It doesn't do to do any anything with Telerik
It is just a DIV tag that you're modifying the style with JQuery

0
Pat
Top achievements
Rank 1
answered on 03 Mar 2011, 11:32 PM
I also would like to be able to change the width and height and I tried the above suggestions and they don't work for me either.
Tags
Window
Asked by
Henrique Potter
Top achievements
Rank 1
Answers by
nachid
Top achievements
Rank 1
Mark
Top achievements
Rank 1
Pat
Top achievements
Rank 1
Share this question
or