hi all, I am developing a web application using asp.net 2.0 with VB. I need to do Page output Caching for my page. I am using both client and server controls in my page. I need to cache the whole page for particular time period . I have a HTML table in my page.I need to Cache the data in the HTML table also. could anyone give me solution for this?? How can i Cache my whole page data including HTML table using the Page Output Caching Concept. Thanks all in Advance. Regards, Senthilraj K
krishsenthilraj
Posts
-
Caching in asp.net 2.0 -
Help me in Query stringhi all, I am developing a web application using asp.net 2.0 (VB). my current page's URL some times comes with query string some times doesn't comes with query string. It is based on some status. I need to check My URL, whether its contain any query string or not. If so i have to do some action based on the value. else different kind of action will take place. Now how can i find out My URL contains the query string... help me out to solve this problem. Thanks in advance Senthilraj K
-
Problem in accessing Application variablehi navaneeth, i tried with your option.but, when i try to type the Context.Application i am getting the error as 'Context' is not accessible. I have imported the 'System.Web.HttpContext' in my class.but still getting the error.... do you have any sample code to do this???? thanks, Senthilraj K
-
Problem in accessing Application variablei am getting the connection string in my code behind file when i use the appliaction variable (webform1.aspx.vb) When i try this with my class i am getting the error. Do i need to import any namespace in my class file to access this application variable in my class?? thanks, Senthilraj K
-
Problem in accessing Application variablehi all, I have created an Application level connection string variable in my Global.asax Like: Application("glbConnection") = con.getDBConnection() I accessed that variable in My Business class like, con As IDbConnection = Application("glbConnection") But i Got the Error as , System.NullReferenceException {"Object reference not set to an instance of an object."} Message : "Object reference not set to an instance of an object." I need to access my application variable in my Class file. can anyone help me out to solve this problem Thanks in advance. Regards senthilraj K
-
Custom exception handling in asp.nethi all, I am developing a web application using asp.net(vb). I need to handle the custom exceptions. i have created a custom exception class which inherits the properties of Application Exception. i need to display a custom error to the end user using that class by catching the exception. For Example: i have a function which checks for the input value if that value is less than the expected value i have to catch it as an exception and displays a user friendly message through my custom exception class . how to do it??? give me some sample code if Possible......... thank u all...... Regards Krishsenthilraj
-
Urgent ....... handling close button event of the browserhi all, i implemented the concept. we raised the issue to client and we changed the way of implementing it thanks
-
Urgent ....... handling close button event of the browserhi Sandeep , i tried your code.its working finw for the if loop. i.e if(bool) { // do the things that you want to do if user want to close the window return true; } but its not working fine for else part. what i need to do is when they click cancel button in the confirm message box, i need to be in the same page.but the code closes the window for cancel option also. give me the solution. thanks Regards Senthilraj
-
Urgent ....... handling close button event of the browserhi all, i am doing a web application project using asp.net 2.0(vb). i need to handle a scenario, when the user clicks on the browser's X button i need to prompt them with a popup message . to handle this i have used the following code --------------------------------------------------------------------------- function HandleOnClose() { if (event.clientY < 0) { event.returnValue = 'Are you sure you want to leave the page?'; } } ----------------------------------------------------------------------------------- it prompts the user with Ok and CANCEL button Message box. when the user click the CANCEL button the page is not closed. But if the user clicks on the OK button the window automatically closed. Instead what i need to do is I have to open a popup window asking the user to fillup a feedback form when the user clicks on the OK button. When the user submits the feedback the page should be closed. can any one tell me how to handle the OK button click event on the above code to achieve my task. Or if u know some other way help me..... thank you all in advance Regards Senthilraj K
-
Urgent How to create or Access Web service Globally using asp.nethi all, I need to access the web service which is been deployed global web service. OR How can i deploy my web service as globa resource so that anybody in this world ca access it if anyone knows give the steps or examples to achieve it. thank you all in advance With regards Senthilraj K :rose:
-
Problem in Deploying Web Apllication using ASP.net 2.0hi all, I have created a web application project in asp.net 2.0 and i have created the .msi installable file using the web deployment method of VS 2005. I installed the project and tried to run it using the virtual directory name i gave during the installation process. I got the parser error as Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'SampleDemo._Default'. Source Error: Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="SampleDemo._Default" %> Line 2: Line 3: Source File: /deploydemo/default.aspx Line: 1 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 then I came to know that the .DLL file in not extracted into the bin folder instead its been extracted to the main folder where other aspx files been extracted. I need to solve this problem. When we follow the steps in VS 2003 its working good.but in 2005 the .DDL file has been extracted to main folder.I don't know its there any problem in the steps i have executed OR its the default procedure of VS 2005 . can any one solve this problem PS:. i need .DLL must be extracted to bin folder.because we ll give that .msi file to our client.it should be in working condition if we execute the .msi file. thanks in advance Senthilraj K
-
Urgent... Regarding implementing infragistics webgrid with hierarhcyhi all, i am using a infragistics web grid control in my asp.net 2003 page(c#). i need to diaplay the data in the hierarchical structure. i.e ( parent - child- grandchild). but i am able to display a single hierarchy ( paren - child). i am not able to implement a grand child hierarchy. can anyone suggest me the solution for this. And also i need to implement a hyperlink in my web grid cell to navigate another page when the user click on a particular hyperlink . Note: The grid structure is : --------------------------------- name id Edit -------------------------- - jhon 1 edit - michale 2 edit adam 3 edit when the user clicks on the edit button(hyperlink) i need to navigate to another page.
-
using custom tables for personalization in asp .net 2.0hi all, i am using web parts in my project. in order to use web parts ,i need to provide personalization for the logged in users. by default the newly created user details are getting stored in default tables aspnet_membership. but i want to store the user values in the my own tablw which i have created in my database and i need to provide the personalization for those users. for example: i have a table for my company employees details. i need to design a local web site which has a customization property. my web site must allow my company employees to customize their page . i need to get the user details from my employee table and provide the customization facility for them whe they logged in to the sute. Main think is instead of using the default aspnet_users,aspnet_membership table i need to use my own table which i have it in my remote DB. can any one help me out to slove this problem... thank u...
-
how to retrive a set of photos stored in a single folder and display it in the webpage using C#.netcan you explain with an example for using the repeater control for my problem
-
how to retrive a set of photos stored in a single folder and display it in the webpage using C#.netya..thanks for reply.. but i have to get the url of each image dynamically and i have to diaplay all the images in that page the page must look like the image galleries in the movie websites.. for example when you go for the wallpaers of a movie the corresponding images are loaded into the page.. that kind of output i want.. can u tell me how can i do it.. possible give me an example code...
-
how to retrive a set of photos stored in a single folder and display it in the webpage using C#.nethi friends, in my project i have to display a set of photos stored in a folder dynamically to the web page, wat we did is that we have stored the path of a destination folder into a single column in SQL server and then we have to retrive all the photos stored in that specifeid folder to the web page.... i'm able to get the photos stored in it, so can anyone help me out thank you,
-
how to retrive a set of photos stored in a single folder and display it in the webpage using C#.nethi friends, in my project i have to display a set of photos stored in a folder dynamically to the web page, wat we did is that we have stored the path of a destination folder into a single column in SQL server and then we have to retrive all the photos stored in that specifeid folder to the web page.... i'm able to get the photos stored in it, so can anyone help me out thank you,