Here are some steps to create a popup box in Telerik Controls.
CSS
Design:
At the Button Click
- protected void BtnAddJobLine_Click(object sender, EventArgs e)
- {
- string script = "function f(){$find(\"" + RadWindow1.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
- ScriptManager.RegisterStartupScript(this, this.GetType(), "key", script, true);
- }
-
- protected void BtnCancel_Click(object sender, EventArgs e)
- {
- string script = "function f(){$find(\"" + RadWindow1.ClientID + "\").close(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
- ScriptManager.RegisterStartupScript(this, this.GetType(), "key", script, true);
- }