I am a new developer and working on a ASP.Net Site, I am using an Update panel which is updateing the data from SQL database after every few seconds, there is some records in the table for the login user. Now I want to generate a Popup, or Alret Message autometically, every time when update panel is updated, My Update panel has SQLDatasource and gridview its working correctly with timer after every 15 seconds.
But When I am Coding under the Timer Tick the Alret massege is not showing. While I need a notification alret also with every trip of update panel if there is something avilable in the data tabel. I am using Code in Timer Tick: ra is getting from function return value if the table has some records. if(ra>1) response.write("<Script> alert ('something')<Script>); but its not working
In my application I have to use such like on clicking back button of the browser the current page should be there. it should not navigate to the previous one...Also there should appear a alert box which will prompt message of fear of losing some data.........
I want to do this by disabling the Cacheability ..
I have also tried disabling the cacheability but it's not working ...
I think the popup message is a poor idea because OnClientUploadError has already provided developers a good option to handle the error easily in whichever way they prefer. The worst is that if a user clicks OK, he will see a window that should be seen only by software developers. Is there any trick to stop the error alert?
I have a web app using forms authentication and I have restricted a folder so that only those with an administrator role can access it. I am controlling all of this through the web.config file and adding the proper location tags to restrict access.Currently the application is working fine. If I am logged in as a user and click the link to the administration section, I'm redirected to the login page once again. If I look at the URL, the ReturnUrl parameter is set properly.What I'd like to do is to display a message to the user indicating insufficient security privileges, or something to that effect so the user doesn't think they are getting logged out of the application prematurely or that the application isn't working.
when i click save wherever msg get displayed in lblsave.text but positioning of the <asp:Label ID="lblsave" for displaying msg is not proper i have another label lblmsg in modal popup i need to display msg in lblmsg but i get blank.
I have one update panel inside updatepanel i have one dropdownlist .When i change dropdownlist value so as per value button1 which is out of updatepanel not visible =true or false as per dropdownlist value.