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

Rad window alert problem

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Deepak Nathani
Top achievements
Rank 1
Deepak Nathani asked on 11 Jul 2008, 07:48 AM


hi,
i have  added
btnSave.Attributes.Add("OnClick", "javascript:showAlert();");  in the load event of my page and checking on the button click if the session is empty then showing the alert.

but on the button click it is not showing the the alert window.
can i do it  alert on server side.
i have used  asp .net button server control (<asp:button/>)
is that the problem
what might be wrong?

function

showAlert()

{

var Ses = '<%=(string)Session["objOrganizationHierarchyAccessList"]%>';
      if(Ses == null)
     {
                radalert(
'Please Add Role to the user!', 330, 100);
     }
}

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 11 Jul 2008, 09:15 AM
Hello,

The issue does not seem related to RadWindow radalert. Our suggestion is to make your scenario work with a  regular browser alert first. Once you have it OK, simply replace the alert with radalert and it should work OK.

In case you have done that and there is still some problem with the radalert, please open a support ticket and send us your page for us to examine - we will find the reason and get back to you.


Greetings,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Deepak Nathani
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or