message box
-
hai iam using ASP.NET C# to develop my project "LEAVE TRACKING SYSTEM" my question is **In leave apply page after selecting number of days throough text box and sanctioning authority, i press submit button. here i want to display one message box with the message box like " you are applying leave for 2 days to xxxauthority" **please dont suggest alert or confirm box because they r showing values in other page that means the background is becoming white. **i want to display message box on the page where i can able to see controls on UI page in disable mode. i hope u will reply soon regards jyothi
-
hai iam using ASP.NET C# to develop my project "LEAVE TRACKING SYSTEM" my question is **In leave apply page after selecting number of days throough text box and sanctioning authority, i press submit button. here i want to display one message box with the message box like " you are applying leave for 2 days to xxxauthority" **please dont suggest alert or confirm box because they r showing values in other page that means the background is becoming white. **i want to display message box on the page where i can able to see controls on UI page in disable mode. i hope u will reply soon regards jyothi
use javascript modal dialog or use ModalpopupExtender from AjaxControlToolkit.
Arun Jacob http://codepronet.blogspot.com/
-
hai iam using ASP.NET C# to develop my project "LEAVE TRACKING SYSTEM" my question is **In leave apply page after selecting number of days throough text box and sanctioning authority, i press submit button. here i want to display one message box with the message box like " you are applying leave for 2 days to xxxauthority" **please dont suggest alert or confirm box because they r showing values in other page that means the background is becoming white. **i want to display message box on the page where i can able to see controls on UI page in disable mode. i hope u will reply soon regards jyothi
luckydear wrote:
**please dont suggest alert or confirm box because they r showing values in other page that means the background is becoming white.
This shouldnt be. You are not injecting the javascripts properly. One can see those alerts/confirm on the same page without white space. Further, if you need to have a disabled look, then place a div on the page before showing the alert/confirm.
-
hai iam using ASP.NET C# to develop my project "LEAVE TRACKING SYSTEM" my question is **In leave apply page after selecting number of days throough text box and sanctioning authority, i press submit button. here i want to display one message box with the message box like " you are applying leave for 2 days to xxxauthority" **please dont suggest alert or confirm box because they r showing values in other page that means the background is becoming white. **i want to display message box on the page where i can able to see controls on UI page in disable mode. i hope u will reply soon regards jyothi
jyothi,
luckydear wrote:
**please dont suggest alert or confirm box because they r showing values in other page that means the background is becoming white.
There is nothing like javascript(alert/Confirm) will not help here. Try to get it like this.on submit button on client click,You should.. btnSubmit.OnClientClick = " return confirm('you are applying leave for 2 days to xxxauthority');" This will neither allow to access the present page controls,nor navigate to other page. Regards, S G
Sundeep Ganiga
**When the only tool you have is a hammer, everything looks like a nail.
Come Forth Yourself to Click "Good Answer" for any expected solution.
Let us Support our C Project Programmers who provide solutions here.**
-
jyothi,
luckydear wrote:
**please dont suggest alert or confirm box because they r showing values in other page that means the background is becoming white.
There is nothing like javascript(alert/Confirm) will not help here. Try to get it like this.on submit button on client click,You should.. btnSubmit.OnClientClick = " return confirm('you are applying leave for 2 days to xxxauthority');" This will neither allow to access the present page controls,nor navigate to other page. Regards, S G
Sundeep Ganiga
**When the only tool you have is a hammer, everything looks like a nail.
Come Forth Yourself to Click "Good Answer" for any expected solution.
Let us Support our C Project Programmers who provide solutions here.**
-
btnapply.OnClientClick = "return confirm(''you r applying leave for" + totaldays + " days to " + selectauthority + "')"; i have placed this code in btnapply_click. but it is not working.please reply regards jyothi
jyothi,
luckydear wrote:
btnapply.OnClientClick = "return confirm(''you r applying leave for" + totaldays + " days to " + selectauthority + "')";
This code has placed before the click event of that button which is being raised(btnapply).Even,You can place this in aspx page also or page load event. SG
Sundeep Ganiga
**When the only tool you have is a hammer, everything looks like a nail.
Come Forth Yourself to Click "Good Answer" for any expected solution.
Let us Support our C Project Programmers who provide solutions here.**
-
jyothi,
luckydear wrote:
btnapply.OnClientClick = "return confirm(''you r applying leave for" + totaldays + " days to " + selectauthority + "')";
This code has placed before the click event of that button which is being raised(btnapply).Even,You can place this in aspx page also or page load event. SG
Sundeep Ganiga
**When the only tool you have is a hammer, everything looks like a nail.
Come Forth Yourself to Click "Good Answer" for any expected solution.
Let us Support our C Project Programmers who provide solutions here.**
what u have suggested is not woking. its ok i have another problem as ----response.write("confirm('some message')");---- this is my code, from this what i want is * If i press ok button it should do some action and navigate to other page * If i press cancel no action should be performed and navigate to other page. please reply me bcoz my project is stopped because of this problem.
-
what u have suggested is not woking. its ok i have another problem as ----response.write("confirm('some message')");---- this is my code, from this what i want is * If i press ok button it should do some action and navigate to other page * If i press cancel no action should be performed and navigate to other page. please reply me bcoz my project is stopped because of this problem.
luckydear wrote:
----response.write("confirm('some message')");----
I don't Think so,That Response.write will allow you to execute javascript here.Instead You can go for Page.reg..clientscript(if there is no master page.can You just paste the button onclientclick code here and also aspx button properties mentioned of aspx page here,so that i can tell wat is mistake being done.or mail me the page code to sundeepganiga@gmail.com.I will try to find solu if possible. Regards, S G
Sundeep Ganiga
**When the only tool you have is a hammer, everything looks like a nail.
Come Forth Yourself to Click "Good Answer" for any expected solution.
Let us Support our C Project Programmers who provide solutions here.**