.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.
But in my whole application i used default button in log in page...but where in other page its redirecting to other.while clicking enter button of keyboard.but i did not sued ant default button to ant other pages accept login page
while i m running my app...the flow is okay...but whn i clicked the enter button of keyboard i want to stop that action...becoz of that its redirect to anthor page...i need to stay the same page...even i m using masterpage
I am using 'Report Viewer Control ' in my project. I am using sub-reports in many cases. Whenever I export such reports containing sub-reports to 'Excel' format which is the major client requirement in our project, the exported excel file shows 'Subreports within table/matrix cells are ignored.'
Can anybody tell me the solution for this? If not possible in reporting service then is there any other way to get data in excel format?
Last Visit: 14-Aug-20 10:42 Last Update: 14-Aug-20 10:42