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

Problem VisibleOnPageLoad in Radwindow

2 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Miguel Angel
Top achievements
Rank 1
Miguel Angel asked on 02 Oct 2012, 03:34 PM
Good afternoon from a project created with Delphi ASP. At the time of executing the Page_Load function I can show through VisibleOnPageLoad Radwindow, however when you click on another event, such as a button or the progreama Selected_IndexChanged shows no Radwindow I want. I think this may be present because several radwindow management, since according to the type of product you need to load a specific form: but not what the problem is, I appreciate any cooperation

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Oct 2012, 04:52 AM
Hi Miguel,

Try the following code to achieve your scenario.

C#:
string script = "function f(){$find(\"" + RadWindow1.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "RadWindow", script, true);

Hope this helps.

Thanks,
Princy.
0
Miguel Angel
Top achievements
Rank 1
answered on 06 Oct 2012, 06:53 PM
Hello Princy
I thank you for your input, however I was unable to use the function of Radwindow VisibleOnPageLoad. I think it has to do is the life cycle of the product. When do the validation in the Page_Load, the function served, but to use it in another method, although not shown that recognizes the debug
You send me the script that apparently is C#, but I I'am working to with asp, telerik and Delphi.
Tags
General Discussions
Asked by
Miguel Angel
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Miguel Angel
Top achievements
Rank 1
Share this question
or