|
You could use a javascript popup box and then have a yes or no condition in it. Depending on which the user chooses you can redirect them to a certain page.
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|
|
Use Javscript for that
Rigister a javscript function that will first show alert message then
redirect user to next page
Use javascript code to redirect
javascript:window.location.href='NextPageName.aspx'
Why you want to use Ajax for this ?
Is there any business logic for it ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hi all,
I have a requirement of exporting webpage as image into MS Word, PDF and Power Point.
I succeeded converting the Web Page into Image by using the WebBrowser control.
But i have to export these image to MS Word, PDF and Power Point.
Please suggest me, how to do that.
Thanks in advance,
Cheers'
sekhar
|
|
|
|
|
Check this project[^]
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hi again...
What i really need is to add a superscript trademark sign in title of one sitemapnode in a sitemap.
i tried to add "&_#_0174"(eliminate the underscore _ ) but it has an error, i think you can't add other html tag inside a <sitemapnode>?
I also tried to delete the tag but the trademark sign is not in superscript form.
can anyone help me?
Thank's a lot!
Ewin
|
|
|
|
|
DateTime dtToday = new DateTime();
dtToday = DateTime.Today; //in my system mm/dd/yyyy
DateTime dtSelectedDate = new DateTime();
dtSelectedDate = Convert.ToDateTime("09/18/2008"); //conver in date correctly
But in other system.....
DateTime dtToday = new DateTime();
dtToday = DateTime.Today; //in other system dd/mm/yyyy
DateTime dtSelectedDate = new DateTime();
dtSelectedDate = Convert.ToDateTime("09/18/2008"); //throwing exception
what to do? how i know that in system which formate is used so when i try to convert at that time i passed correct formate ?????
|
|
|
|
|
You can supply IFormatProvider instance to the method. Supply systems culture.
|
|
|
|
|
Hi , m working on a web application (Asp.net using c#) , in my master page there is some menus . by clicking them a pop up window open , but the problem is this when i minimize the first pop up window , and then open another pop up by clicking my menus nothing happend .
for open new pop up window first i have to close the previous window , then next one window open ,
Can is it possible that i open 2 - 3 pop up windows at the same time .
Thanx in adva nce
|
|
|
|
|
How you are opening the new window can you post your javascript code ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Check this
<a href="http://www.google.com" target="_blank" >Click to open</a>
If you want to open many window at one click write a javascript function for that onclick call that javascript function and open as many window you want
I never tried this don't know but still you can check it
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hi this code works fine , but can open two pop up window at the same time . I want to open many pop up window at the same time when i click on menus .
function NewWindow(mypage,myname,w,h,scroll,pos)
{
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):50;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-50)):50;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:50;TopPosition=(screen.height)?(screen.height-h)/2:50;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='-w-',height='-h-',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);
}
|
|
|
|
|
Hi all.
Anyone who knows how to make the register mark (®) superscript?
i tried to use
®
but it's not in superscript form.
i can't use the tag of html, so disregard that option.
Thanks a lot!
ewin
|
|
|
|
|
Hi all.
Anyone who knows how to make the register mark (®) superscript?
i tried to use
®
but it's not in superscript form.
i can't use the tag of html, so disregard that option.
Thanks a lot!
ewin
Clarification:
i tried to use
&_#_0174
but it's not in superscript form.
|
|
|
|
|
eliminate the underscore on my last post.
thanks!
|
|
|
|
|
Why can't you use html tag? Can you use any html tags?
<sup>®</sup>
Or
<span style="font-size: 6pt;vertical-align:top;">®</span>
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
i can't use any html tags.
I need that trademark in the title attribute of sitemapnode, and i think you can't put any html tags inside that?
|
|
|
|
|
I have an excel file and it is updating in every milliseconds.i want to read it using asp.net application and also want when there is a change occur in excel file that change reflect in asp.net application too without refreshing the page.
Please reply!
Thanks in advance.
|
|
|
|
|
Check this[^]
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
hi all,
how to get previous page url . i.e when user clicks back button in that page i ve to get where it redirects from.
Ashok
|
|
|
|
|
try this for Back Button
javascript:history.go(-1);
|
|
|
|
|
Check the Request Object it has UrlReferrer which provides the last requested url for this object
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hi,
The project is developed using ASP.NET. It looks fine with IE, but when I use Mozilla the source code (.aspx code) is displaying on the browser.
The problem occurs when it published and uploaded in production server. It is OK with development server.
Thanks in advance
|
|
|
|
|
Never seen such issue
Can you post your aspx code ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
was my fault ..sorry
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
I want to pass a instance of object1 from page1 to the page2.
And set the object properties from page 2 and again send that object from page 2 to page 1.
I tried with session. unable to access the object in page 2.
CAN ANYONE TELL ME...
How to pass an instance of object from one page to other?
modified on Thursday, September 18, 2008 1:57 AM
|
|
|
|