|
Rahul Babu wrote: there is something called View in Browser .... did u mean that
No. I can see "Browse With" option just down to what you said. It will display a list of available browsers. Do you see that ? Note : you have to right click from solution explorer
|
|
|
|
|
thank you Navaneeth ..... I got it
|
|
|
|
|
|
Page.ClientScript.RegisterStartupScript(this.GetType(), "pop-up", "javascript: return window.alert('Agree Terms & Conditions to proceed');");
this code just writes whatever in the last parameter like:
javascript: return window.alert('Agree Terms & Conditions to proceed');
i need to pop-up
Thanks in advance,
Priya.
|
|
|
|
|
What you want please can you clarify ?
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
i want pop-up to be displayed, if user not checking the checkbox
Thanks in advance,
Priya.
|
|
|
|
|
on button click event which was already suggest you
if (document.getElementById('checkboxid').checked=false )
alert("message");
else
return false;
-- modified at 23:29 Thursday 4th October, 2007
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Priya Cool wrote: want pop-up to be displayed, if user not checking the checkbox
Your question is not explaining any thing related to popup. Do you mean a confirmation message or a popup window ? If it is a confirmation message, Parvej's method is the best
|
|
|
|
|
i want pop-up message
that too with
Page.ClientScript.RegisterStartupScript(this.GetType(), "pop-up", "javascript: return window.alert('Agree Terms & Conditions to proceed');");
Thanks in advance,
Priya.
|
|
|
|
|
USe it Once
response.write("window.alert('Agree Terms & Conditions to proceed');")
|
|
|
|
|
this is not working , i tried
Thanks in advance,
Priya.
|
|
|
|
|
It's working ,Now I'm checked it in My prgm
|
|
|
|
|
where shud i give tat, inside code-behind or inline html
Thanks in advance,
Priya.
|
|
|
|
|
Response.write() is working in Code behind Only.So Place that coe in CodeBehind
|
|
|
|
|
nothing happens
Thanks in advance,
Priya.
|
|
|
|
|
Page.ClientScript.RegisterStartupScript(this.GetType(), "pop-up", "alert('Agree Terms & Conditions to proceed');");
Try this u got popup messge.
if your prob solved the let me know
thanks
Bhavesh
|
|
|
|
|
For something like this you should use a confirm dialog rather than an alert. Confirm gives you the chance to handle yes and no responses differently. I.E No to agreeing with terms, exits site, yes continues.
only two letters away from being an asset
|
|
|
|
|
Priya Cool wrote: Page.ClientScript.RegisterStartupScript(this.GetType(), "pop-up", "javascript: return window.alert('Agree Terms & Conditions to proceed');");
I think this will run when page will be loaded i.e. alert will be displayed as soon as the page will be loaded to the browser
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
i tried this, not pop-up ing,
just like that it writes, that too as:
javascript: return window.alert('Agree Terms & Conditions to proceed');
Thanks in advance,
Priya.
|
|
|
|
|
why want return value of this alert?
if u need return value then use confirm dialogue
try this if your prob not solved then please explain me your exact prob please
Page.ClientScript.RegisterStartupScript(this.GetType(), "pop-up", "doit();");
function doit()
{
if(window.confirm('Agree Terms & Conditions to proceed'))
{
//alert('OK');
return true;
}
else
{
// alert('Cancel');
return false;
}
}
THANKS
|
|
|
|
|
i tried, it says 'function' not found.
Thanks in advance,
Priya.
|
|
|
|
|
can please send me page in which you have written code and what u required
my email id is = bhavesh3184@gmail.com
thanks
|
|
|
|
|
This is how it should look:
Page.ClientScript.RegisterStartupScript(this.GetType(), "pop-up", "window.alert('Agree Terms & Conditions to proceed');", true);
The last parameter determines that a script tag is added around the code.
The javascript: protocol is only used when you put Javascript code in an URL. If you use it anywhere else, it's treated as a label instead.
You only use return when returning from a function.
---
single minded; short sighted; long gone;
|
|
|
|
|
I'm Getting Different XML files.So I want to Create a single XSL file For all those XML Files..How Can I do?
|
|
|
|
|
Best thing you can do is not cross post. You have already asked this question in the appropriate forum.
only two letters away from being an asset
|
|
|
|