Hi..
I have an ajax panel with the following code - I want to show a radwindow - but it doesn't work any ideas?
when I remove the ajax panel it works.. thanks
this.RadAjaxManager.ResponseScripts.Add(@"Sys.Application.add_load(function(){radalert('Zipcode Not Found', 250, 100);})");
5 Answers, 1 is accepted
Here is an example:
RadAjaxManager.ResponseScripts.Add("radalert('Zipcode Not Found', 250, 100);");
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
if (string.IsNullOrEmpty(address.City))
{
// this.RadAjaxManager.ResponseScripts.Add(@"Sys.Application.add_load(function(){radalert('Zipcode Not Found in USPS Test Server', 300, 100);})");
RadAjaxManager.ResponseScripts.Add(
"radalert('Zipcode Not Found in USPS Test Server', 300, 100);");
// this.RadAjaxManager.ResponseScripts.Add(@"Sys.Application.add_load(function(){radalert('"+ this.txtZIPCODE.Text+"' Not Found', 250, 100);})");
this.txtZIPCODE.Focus();
}
else
{
this.txtCITY.Text = UtilityLibrary.TextUtils.ProperCase(address.City);
this.cmbSTATE.Text = address.State;
}
Could you please let me know what do you mean by "my screen doesn't refresh... when I set the other values"? Please elaborate a little bit more on the functionality you need to acheive so we could provide accurate solution for your scenario.
Thank you.
All the best,
Maria Ilieva
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
They do not appear until I refresh the screen/ or press f5
thanks
Will it be convenient for you to open a regular support ticket and send us sample runnable project which replicates the described behaviour? Exact steps for reproducing the issue will also be helpful to easily isolate the problem and provide accurate solution.
Kind regards,
Maria Ilieva
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.