Hello My Dear Friends all telerik developer;
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(IsPostBack)
return
;
SessionClear();
if
(Request.QueryString[
"portCekKartID"
] !=
null
)
{
string
masterId = Request.QueryString[
"portCekKartID"
].ToString();
int
id = Convert.ToInt32(masterId);
UpdateFormControl(id);
}
//CekDurumTips = Enum
if
(CekDurumGetir(masterId) != CekDurumTips.EldenTahsil)
{
Show(
"Error !"
);
//Radwindow not opened
return
;
}
else
{
//radwindow oppen
}
}
Radwindow
<
telerik:RadWindow
ID
=
"radwindowPortCekGeriAl"
AutoSize
=
"false"
OnClientBeforeClose
=
"pageReflesh"
Title
=
"Cirolanmış Çekleri Geri Al"
runat
=
"server"
Animation
=
"FlyIn"
Behaviors
=
"Default"
>
</
telerik:RadWindow
>
JavaScript Radwindow open commend
function
rightClickHandler(sender, args) {
var
menuItemValue = args.get_item().get_value();
if
(menuItemValue ==
"portCekGeriAl"
) {
var
rowID = $(
"#radGridClickedRowIndex2"
).val();
openPopupPortfoyeGeriAl(sender, rowID);
}
}
Javascript open Method
function
openPopupPortfoyeGeriAl(sender, selectID) {
var
width = parent.innerWidth - ((parent.innerWidth / 6) * 2);
var
height = parent.innerHeight - (parent.innerHeight / 4);
var
left = innerWidth / 9;
var
top = 0;
radopen(
"/PortfoyeGeriAl.aspx/?portCekKartID="
+ selectID,
"radwindowPortCekGeriAl"
, width, height, left, top);
}
After clicking the button you want to check on the server side radwindow opening popup
is server side error = popup not open
is server side succes = popup open
staffed with JavaScript, but I need to check on the server side.
Not: I'm sorry my bad english :(