"Close"
).<telerik:RadWindow ID=
"RadWindowProgramCategory"
EnableShadow=
"true"
Behaviors=
"Close"
runat=
"server"
>
......
<asp:Button ID=
"ButtonCloseWindow"
runat=
"server"
Text=
"Close"
OnClick=
"OnCloseWindow"
/>
.....
</telerik:RadWindow>
<asp:Button ID=
"ButtonOpenRadWindow"
Text=
"Hinzufügen"
ToolTip=
"Hinzufügen"
runat=
"server"
OnClick=
"OnOpenRadWindow"
></asp:Button>
protected
void
OnOpenRadWindow(
object
sender, EventArgs args)
{
AllVirtualCategories.SelectedIndex = -1;
UpdateCatagoryFields();
RadWindowProgramCategory.Title = App_LocalResources.CategoryDataControl_ascx.RadWindow_TitleAddCategory;
RadWindowProgramCategory.VisibleOnPageLoad =
true
;
RadWindowProgramCategory.Enabled =
true
;
RadWindowProgramCategory.Modal =
true
;
RadWindowProgramCategory.AutoSize =
true
;
String radWindowScript = JavaScript.GetJsOpenWindowIncCloseWindow(RadWindowProgramCategory,
""
);
ScriptManager.RegisterStartupScript(RadWindowProgramCategory,
this
.GetType(),
"RadWindowProgramCategory"
, radWindowScript,
true
);
}
RadWindowProgramCategory.VisibleOnPageLoad =
false
;
protected
void
OnCloseWindow(
object
sender, EventArgs args)
{
RadWindowProgramCategory.VisibleOnPageLoad =
false
;
RadWindowProgramCategory.Enabled =
false
;
}
When we close the RadWindow about icon on RadWindow Behaviors="Close"
an we again a postback then opens the window again.
how can we change this?
Best regards
Daniela Fischer
<telerik:RadWindow VisibleTitlebar="false"
ID="AccountLoadProgressWnd" runat="server" Modal="true" ReloadOnShow="true" VisibleStatusbar="false" Behaviors="None" >
<ContentTemplate >
Loading account <span id='percentageComplete' ></span>
</ContentTemplate>
</telerik:RadWindow>
2) main page performs x number of ajax requests to load info on underlying page
Question:
i want to reference the <span id='percentageComplete' ></span>
element in the modal window.
How do i do it?
protected void Button2_Click(object sender, EventArgs e)
{
RadTabStrip1.Tabs[2].Visible = true;
RadTabStrip1.SelectedIndex = 2;
RadTabStrip1.FindTabByText("Summary").Visible = true;
}
but this is not happening. the 3rd tab doesnt appears at all.
Appreciate your help
Pankaj