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?
Till SSRS 2005: This is a known limitation in the excel rendering. The problem occurs when subreports and/or any data regions are nested in table/matrix. Microsoft I mean SSRS doesn’t support exporting these to Excel format.
Other way to get it done is:
Embed the sub report within a rectangle rather than within a table. It will export ok.
P.S.: SSRS 2008 (shipped as part of SQL Server 2008) provides a full solution to this, since it has a new engine and rendering extensions. Excel rendering will now always render subreports contents.
Currently i am using CR chart for my report however i need to set the color of the stacked bar, I can only set the color when using color by group. However i need to use color by series as i am using stacked bar.....
CP isWe are building this repository of asking Q&A in CodeProject. Asking questions here[^] would help you in tracking you and other people who face something similar. Try it. You can also mark answers as accepted if it resolves your issue.