In my application, i need to generate a pdf which takes around 10 minutes. The pdf generation code i have written in a page which i have made as an asynchronous page. for this i have added a httphandler in the web.config file too. I have a global error catch httpmodule in my app. It traps the errors throughout the application. But the problem is the error module doesn't trap any error generated by asynchronous page. Is there anyway I can trap the errors generated by asynchronous page? I am badly need of this
I have a page viz. printform.aspx. This doesn't have any controls. It just has the code for generating the pdf. In the web.config file, i have added an httphandler for this page. So when I tried to load this page, it execute as an asynchronous page and the pdf generation will be a back ground process. This is the implementation.
hey its simple, open ur project in vs2005. right click the solution in solution explorer and select publish Web site option. then define the location and thts it. ur web site has been published n as a result u'll only have design view of the pages and no code or ur logic is shown.
hope it works for u.
I need to enter decimal value in a textbox but only one decimal.
For eg: 55.3 (Valid)
It should not accept second decimal.
Also, I need to validate for dash(-) ie it should not accept minus sign.
hi i am trying to make an gridview which lets user change the user infomation(from login provider table)
however whenever the update button is click this error appear:
Implicit conversion from data type sql_variant to uniqueidentifier is not allowed. Use the CONVERT function to run this query.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Implicit conversion from data type sql_variant to uniqueidentifier is not allowed. Use the CONVERT function to run this query.
This is the situation...Now i have 2 requiredfield validators for 2 texboxes, one save button and one cancel button. When i click save button the 2 validators must be raised. When i click the cancel only one validator for one textbox should be raised. Plz help me, how is this possible....
For this u have to create 3 validators. Apply 2 validators for save button and 1 validator for cancel button.
Check the Validation Group property in Save button and its validators, Apply the same name for both.
Apply the different Validation Group name for cancel button.
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" Runat="server" ErrorMessage=" TextBox3 should not be blank"
I am in a situation like.....i need transformation from aspx page to asp page. Means i have a dropdownlist i n my aspx page. when i select one option i need to transfer from aspx page to asp page. Is it possible to transfer? i kept both asp and aspx pages in same page.Bt after execution i am getting an error like
* Error while accessing data.
Error executing child request for Excess_Premium_Refund.asp.
Plz give some idea how to manage the thing if anyone have idea