Dear All,
i have a simple form which is used to login the user to the web application i develop,
i want to show messages to users in case their username and password are incorrect.
i want to use the radWindow control.
i put the following code on my login button click event
.....
......
after user name and paswword validating
if(false){
Telerik.Web.UI.
RadWindow newWindow = new Telerik.Web.UI.RadWindow
();
newWindow.NavigateUrl =
"My Message Form name"
;
newWindow.OpenerElementID = btnLogin.ClientID;
newWindow.VisibleOnPageLoad =
true
;
newWindow.DestroyOnClose =
true
;
RadWindowManager1.Windows.Add(newWindow);
}
this works fine when click the button by the user...
but if the page is reloaded/refreshed the window is opened again and again...
i don't wont this to happen..
how to prevent the rad window to show if the page is refreshed?
Hope you can help me....
Thanks
Best Regards