SQL Reporting :: Disable History And Properties Tabs?
May 17, 2010I am trying to disable history and properties tabs from my report manager for some users.
I've been looking for advice on the internet but did not find anything about this.
I am trying to disable history and properties tabs from my report manager for some users.
I've been looking for advice on the internet but did not find anything about this.
I have a requirement to keep a history of values of some fields in an EF4 ASP.NET MVC3 application. This just needs to be a log file of sorts, log the user, datetime, tablename, fieldname, oldvalue, newvalue.
Although it would be pretty easy to code this in various save routines, I'm wondering if I can get global coverage by wiring it into some sort of dataannotation, so that I can perhaps declare
[KeepHistory()]
public string Surname { get; set; }
in my partial class (I'm using POCO but generated from a T4 template).
I'm using 2 masterpages in my project.One master page is for login page and another one for the HomePage where user will go thro the options to reach other pages from home page..The thing is,i have "Logout" button in my home page.When i click on the logout button,the page will be redirected to "LoginPage.aspx". After redirecting to login page,when i click on browser back button,the previous page is displaying but it should not display to user since i'm doing sensitive transactions in all pages...
I tried using following code
Code:
Response.Expires = 0;
Response.Cache.SetNoStore();
Response.AppendHeader("Pragma", "no-cache");
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);
but it's not working...
we have a web form with check boxes on.
When we click our back button the page only returns to the previous state (un checking the check boxes one by one after each click). We would like it to go back to the previous page and remember the history of the page.
I've tried :
[Code]....
but this just crashes the page.
our javascript button looks like this:
<input type="button" value="Back" onclick="history.go(-1)" />
(the browser back button does the same thing)
I'm using 2 masterpages in my project.One master page is for login page and another one for the HomePage where user will go thro the options to reach other pages from home page..The thing is,i have "Logout" button in my home page.When i click on the logout button,the page will be redirected to "LoginPage.aspx". After redirecting to login page,when i click on browser back button,the previous page is displaying but it should not display to user since i'm doing sensitive transactions in all pages...
or is there any way to do with authentication and roles?
I have created a registration form where a User can fil up basic details and submit it.When user submit form a system generated username & password sent to user's mailid. Then user can login using that username & password.Once the user logged out from his account, get redirected to sign in page, but if he clicks on browser's Back Button then again it's profile page get opened.How should this can be stopped, Even if user clicks on Browser back button once he logged out he must have to sign in to view his profile page.
View 1 RepliesI have a tab container in aspx page and i want to enable disable the last tab in aspx page my tab container is like below
[Code]....
Now for disabling the last tab i used the following in code behind page load:
//tabAdvanceSettings.Enabled = false;
I also want to enable this tab panel on client side when a user uses a shotrcut like Ctrl + Shif + A as shown below but this shortcut only enables the tab not the two user controls ptresent in the last tab. The code for enabling the last tab is :
if (e.keyCode == 65 && isCtrl == true && isShift == true) // Ctrl + Shift + A
{
$find('<%=tabContainer.ClientID%>').get_tabs()[2].set_enabled(true);
}
How can i enable the last tab and also the controls present in the last tab?
How can I change Left and Top properties of Table control in a .rdlc file from code behind at Run-Time?
View 2 RepliesI have been adding different JQuery Carousels to AJAX Tabbed Panels - the first one displayed on the page always works. But any other tabs dont work when I select the tab. I have about a dozen different carousels.
Can anyone recommend one that works in AJAX Tabs or how I can go about rectifying this?
I have created an asp.net applications in which i am using jquery tabs to show say profile modifications information. I want user to see his profile info as well as he will be able to edit his details and save the information. for this purpose i have created an aspx page "MyProfile.aspx" and 3 ascx pages
say "page1", "page2" and "page3".
When i run "MyProfile.aspx" i can see all 3 tabs showing correct information. But problem is when i edit contents and try to save them back to the database. Contents on page1 are stored correctly. But page2 and page3 doest not fire any event. In all 3 pages I am using ajax n jquery to save data to database. and when i try to save contents of page2 and page3 nothing occurs.I am showing 3 tabs there of which first tab edits save the details but second and third tabs do not fire any event on button click.
I am in VS2008 Report rdlc Design tab and my report has drill down function. One item being drilled down on is Country. However, when user drilled down, the cell become 2 rows like this:-
United States
Of American
I do not want it to be 2 rows but want to expand its length to make it one line on expand.
In Gridview etc there is a property Wrap but when I click the cell I do not find this property in this cell property in the report designer. What can I do ?
I have created RDLC Report in which there are some images. I have provided facility of export to pdf from RDLC.
Now the issue is that i want to disable copying images from exported pdf files.
disable copying images from exported pdf.
We are trying to protect reportviewer data created in LocalReport Mode.
I can't seem to access the embedded report (excel?) at all.
Javascript code to stop right clicking, selecting etc... has no effect within the reportviewer control.
Anybody ever try this or get it to work?
I am trying to display a report .rdl by using microsoft report viewer on a web form. i got 2 vertical scrollbar appear in report when i run the report. Does any one knows how to disable it?
View 1 RepliesIs it possible to disable export options on a server report in the ReportViewer control without changing the reportserver.config file?
I have the code to change a Local Report but not a Server Report. We have a group of reports we only want to be able to export to PDF and TIFF while the other server reports should be exportable in all formats.
Is it possible to programmatically disable/enable say column field drill through capability of the matrix table report depending on the textbox.text of dropdownlist value but retaining drill through capability of row fields ?
View 1 RepliesDoes Ajax Tab support using sub tabs (or children tabs)?I have a project where I need to show several tabs like "Sales" "Production" "Revenue" and when I click on for example "Sales" I would like to see a new tab tab with "Currentales", "History", "Comparison" etc etc. and be able to click each one of these for further processing.
View 3 RepliesI would like to create two tabs called Info and place. However when the mouse is over the info tab, all the sub-tabs associated with it will show-up and in this case, the sub-tab will be report_1 and report_2 and also when the mouse is over the place tab, all the sub-tabs associated with place will show up and in this case, the sub-tab will be place_report_1 and place_report_2. how do I go about doing this?
View 5 RepliesI have a new VS2010 .NET 4.0 Web project and the Properties Folder has gone wierd on me. It has lost teh "Open" under the right click. There is no way to get a Settings file created now.
I am unable to get to the Settings grid and no Settings file is created. I tried the help and it has the normal trip of select Properties, Open (right click), Settings Tab, etc. etc.
I am relatively new to ASP.NET. I am just wondering if there is way to read values from properties file (similar to rading a properties file from JSP or java).
For example if a property file has something similar to this:
[Code]....
I would like to read all the values for username_list (comma seperated) and also the value of is_valid.
I am wanting to develop an application where there is a business requirement to keep a track of all changes made, so every time a record is edited, it is saved as a new record. So far, I have a Search form to list my Entities in a GridView. When I have identified the Entity I want to edit, I click on that record, and it takes me to a DetailsView form, with all fields of the record. Every record is identified as having an Entity key (ent_key), Sequence (seq_key) and Current key (cur_key). When I edit and save the Entity with say, ent_key =1000, seq_key =3, cur_key =1 and make any changes, then two things should happen:
1. the existing record (without edits) should be amended to be: ent_key =1000, seq_key =3, cur_key =0 (this 0 indicates that it is no longer current)
2. a new record including edits should be inserted to the database as having: ent_key =1000, seq_key =4, cur_key =1
The problems: In my DetailsView form, in Update mode I cannot update the seq_key, and when I use Insert mode, all the fields are blank so this is not helpful to the end user. (FYI - The data is stored in a SQL Server database, and I have set up a table adapter to retrieve the records. Am developing in C#)I would like to utilize stored procs where possible to resolve this issue. Would you experts please help me with some ideas (incl coding and examples if poss) to resolve this issue? Am reasonably new to this development, and I don't know what I don't know.
I have couple of DDL's, namely DDL1 and DDL2. The latter is dependent on the DDL1, which is creating some problem for me. When I choose a value in DDL1 it populates DDL2 accordingly but when I choose a different value in DDL1 it still shows the result from my previous selection in DDL2.
How do I remove historical values from DDL2 and only shows values matching to what is selected in DDL1.
How to delete the history pages in ASP.net?In my application when the user logs out, i delete the session variables and expire the cookie(aspxauth and asp_net_sessionId) but however when user clicks on the back button of the browser, user could still see the pages with all the user information on it. However the page cannot interact the server as sessions are not available but expired pages contain demographic information which is an harmful scenario for Security issues.
View 3 RepliesI am working on image manipulation application.Everything is working fine, image is manipulated and saved in a folder in my application and when I want to display manipulated image the browser diaplays the previous image which does not exists in the folder.When I clear the browser history and refreshed the page modified image is displayed.The previous image and new manipulated image have same name.The image name is saved in database so i cant modify it.
View 3 Repliesmy project is visitortracking system in this we are tracking all of the visitors now i want to track the visitor history(second time)
View 1 Replies