And I need to win the lottery. Neither are likely to happen anytime soon.
The way this works is you first try to work it out for yourself and then, when you get really, really stuck you ask for help based on what you've already attempted. Or you trawl through Google - there is bound to be someone who has already done this and posted some info about it. Posting this here either means you are too lazy to figure it out for yourself or it is homework.
Am new to this topic & after trying a lot in google, since i couldn't get any proper solutions for my requirement i have asked to provide the URL or what u know about this if & only if u have found that could be helpful for novice users.
When do you want to update the content page ? Is it automatically or with some event ?
As you have already used UpdatePanel for content page, you need to do one more thing, Make the UpdateMode of that UpdatePanel as "Conditional". And when ever you want to update the Content Place holder, call UpdatePanel1.Update().
I assumed, Updatepanel1 is the name of Updatepanel for your content placeholder.
.whn i m going a particular aspx page and thn click the enter button of keyboard the page is redirecting to another
I guess, on that page there are some default control has been set, and which used to redirect you page to another page. As this is the default control and also Focused, so when some one Press Enter Enter key, it is redirecting to another page.
Hope you got my point. Please let me know if you need any help.
key = window.event.keyCode; //IE
key = e.which; //firefox
return (key != 13);
wrote this in ur masterpage
Looks like your page is having a default button specified. Thus on click of it, that defualt button event is called.
Either remove the default button of the page. If you are not setting it or unable to find one the try this:
Use a dummy button in your page and set that button as Default button. Don't attach any handler to it(write reutrn false; in button's OnClientClick) and set the display style or visibility to false.
Last Visit: 31-Dec-99 19:00 Last Update: 28-Feb-21 6:37