Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
K

K Safvi

@K Safvi
About
Posts
30
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • compiler executable file csc.exe cannot be found error
    K K Safvi

    Hi, I have vs2008/dotnet3.5 installed on my system(Winxp sp2). If i run a web application with dotnet framework 3.5, it gives the error 'compiler executable file csc.exe cannot be found'. If i change the dotnet frmwork from proj properties, the build is successful. But i need to run the app under framework 3.5. Any soulution of the above error. Thanks in advance. Saf

    ASP.NET csharp help

  • Can ICallbackEventhandler be implemented and invoked with Asp.net button's click event
    K K Safvi

    Hi, I have implemented the ICallbackEventhander interface and successfully updating the page asynchroniously on keydown on a textbox. I tried to implement the same with the click event of the asp.net button or imagebutton's click event but RaiseCallback is invoked and then the GetCallbackResult() is called but the last client side javascript function is not called that infact updates the page, hence the page not updates. Also once the page is partially updated on keydown of textbox, after that no server side event is triggers. What could be the issue. Any code or reference url for the solution of this problem will be much appreciated. Thanks, Safvi

    ASP.NET help csharp javascript asp-net sysadmin

  • ICallbackEventhandler's GetCallbackResult() function not calling the client side javascript function in case of clik event of an ASP.net button control
    K K Safvi

    Hi, I have implemented ICallbackEventHandler interface on a page and calling it in different context with different controls. Its working okay on keydown of a text box, click of an html button control and mouseover of a button control. But i need to use it with imagebutton or button control at click event. On click event the RaiseCallbackEvent function is called, then the GetCallbackResult(), but after that the GetCallbackResult() does not call the java script function that updates the page with the results retreived from GetCallbackResult(). This is only happning with click event of the ASP.net button or image button control and here also every thing is being invoking except the last javascript funciton that updates the page. Apparently there seem no problem in my code. it seems some thing special is required to be done for click event of the asp.net because same is done with the html button control. Second issue is that once the after the icallback, no server side event is fired e.g row_command of a gridview control. simply gv is cleared. Please help me. Most of the work is done, only minor issue is frustating me. Thanks, Safvi

    ASP.NET help csharp java javascript html

  • ICallbackEventhandler's GetCallbackResult() function not calling the client side javascript function in case of clik event of an ASP.net button control
    K K Safvi

    Hi, I have implemented ICallbackEventHandler interface on a page and calling it in different context with different controls. Its working okay on keydown of a text box, click of an html button control and mouseover of a button control. But i need to use it with imagebutton or button control at click event. On click event the RaiseCallbackEvent function is called, then the GetCallbackResult(), but after that the GetCallbackResult() does not call the java script function that updates the page with the results retreived from GetCallbackResult(). This is only happning with click event of the ASP.net button or image button control and here also every thing is being invoking except the last javascript funciton that updates the page. Apparently there seem no problem in my code. it seems some thing special is required to be done for click event of the asp.net because same is done with the html button control. Second issue is that once the after the icallback, no server side event is fired e.g row_command of a gridview control. simply gv is cleared. Please help me. Most of the work is done, only minor issue is frustating me. Thanks, Safvi

    ASP.NET help csharp java javascript html

  • Can a DotNet2.0 webservice be called by ASP.net1.1 project???
    K K Safvi

    Thanks alot. My issue is solved. :)

    ASP.NET csharp help asp-net wcf

  • Can a DotNet2.0 webservice be called by ASP.net1.1 project???
    K K Safvi

    Hello, My application is in Asp.net1.1 hence the third party ABCpdf can be used in this project. Hence i created a webservice in Asp.net2.0. Upon test run, its working okay and creating the PDF document from a url and saving in one of the directory of my orignal application written in ASP.net1.1. I created the proxy class using Wsdl.exe of vs2005 and added the class in the ASp.net1.1 application.Build is okay. no error. But this class in not refereced in the project. Hence i cannot invoke the method to save the webpage as PDF. How to reference the proxy class. Its object is not being created and the project is not recognizing. The rest of the ASp.net1.1 project is in VB.net but this proxy class in in C#. What should i do.Every thing is working okay i just need to invoke the webservice from ASP.net1.1 project. Plz help. Thanks, Ali

    ASP.NET csharp help asp-net wcf

  • Which version of AbacPDF.net is compatible with ASP.Net1.1
    K K Safvi

    Hello, I have to convert an .aspx page to PDF. I tried to use the AbcPDF.net 7.1 but its dll were failed to be referenced in a Visual studio 2003 with .Net1.1, project. May be because it does not support dotnet1.1. Can anybody tell me which version is compatible with ASP.Net 1.1. Or there any other alternate 3rd party to convert an asp.net 1.1 page to PDF. Will be very thankful for a propmt reply. Thanks, Safvi

    ASP.NET csharp asp-net visual-studio announcement

  • How can i get the html of the page multiple times and save as html file and send as attachment
    K K Safvi

    hello, On page load event i am generating a report in an aspx file and then capturing the html and saving it as html file to be sent as emil attachemt. This has to be done multiple times for different users. I am overriding the render method of the page to get the html. It works okay for the first time but i need to create the report multiple time. When the below code is called for second time on page load event to capture the newly created report, it gives the error '"A page can have only one server-side Form tag"'. Following the code. Dim sb As New System.Text.StringBuilder Dim sw As New System.IO.StringWriter(sb) Dim hWriter As New HtmlTextWriter(sw) MyBase.Render(hWriter) ' *** store to a string Dim PageResult As String = sb.ToString() ' *** Write it back to the server writer.Write(PageResult) str = PageResult i get error on MyBase.Render(hWriter). Remember its working okay for the first. So how can i get the html of the page multiple times???? Thanks, Safvi

    ASP.NET question html sysadmin help

  • Overriding Render method to get the html of the page
    K K Safvi

    hello, I am overriding the render method of the page to get the html of a page this is infact a report. It works okay for the first time but i need to create the report multiple time. When the below code is called for second time to capture the newly created report, it gives the error '"A page can have only one server-side Form tag"'. Following the code. Dim sb As New System.Text.StringBuilder Dim sw As New System.IO.StringWriter(sb) Dim hWriter As New HtmlTextWriter(sw) MyBase.Render(hWriter) ' *** store to a string Dim PageResult As String = sb.ToString() ' *** Write it back to the server writer.Write(PageResult) str = PageResult Thanks, Safvi

    ASP.NET html sysadmin help

  • How to Save a webpage in to PDF in dotnet1.1
    K K Safvi

    Hello, I am generating a report from a web application written in .Net 1.1. The report is designed using html and no third party is involed for reporting. Now i wana save this page in pdf and want to send as an attachment. How to convert the report in to pdf format????? Thanks, Safvi

    ASP.NET csharp html tutorial question

  • How to Save the webpage in pdf format using dotnet1.1
    K K Safvi

    i am not converting word document to pdf. rather it is the html page that i want to convert in to PDF.

    ASP.NET csharp html tutorial question

  • How to Save the webpage in pdf format using dotnet1.1
    K K Safvi

    Hello, I am generating a report from a web application written in .Net 1.1. The report is designed using html and no third party is involed for reporting. Now i wana save this page in pdf and want to send as an attachment. How to convert the report in to pdf format????? Thanks, Safvi

    ASP.NET csharp html tutorial question

  • Access Error to the folder where uploaded file is saved
    K K Safvi

    The follwing piece of code is working accuratly some time while inaccuratly on other system. Working ok on local system and even on one system after deplyment. Dim intFileNameLength As Integer = InStr(1, StrReverse(strPath), "\") FileName = Mid(strPath, (Len(strPath) - intFileNameLength) + 2) If Right(FileName, 4).ToLower <> ".txt" And Right(FileName, 4).ToLower <> ".csv" Then ErrorControlStep1.ErrorMessage = "Invalid File" ErrorControlStep1.Visible = True Exit Sub Else .... ... End if What could be the reason. May be this <> operator. while the file was csv not any other. Thanks for ur reply. Safvi

    ASP.NET sysadmin database windows-admin testing beta-testing

  • Access Error to the folder where uploaded file is saved
    K K Safvi

    The follwing piece of code is working accuratly some time while inaccuratly on other system. Working ok on local system and even on one system after deplyment. Dim intFileNameLength As Integer = InStr(1, StrReverse(strPath), "\") FileName = Mid(strPath, (Len(strPath) - intFileNameLength) + 2) If Right(FileName, 4).ToLower <> ".txt" And Right(FileName, 4).ToLower <> ".csv" Then ErrorControlStep1.ErrorMessage = "Invalid File" ErrorControlStep1.Visible = True Exit Sub Else .... ... End if What could be the reason. May be this <> operator. while the file was csv not any other. Thanks for ur reply. Safvi

    ASP.NET sysadmin database windows-admin testing beta-testing

  • Access Error to the folder where uploaded file is saved
    K K Safvi

    Hi, I am importing data to sqlserver2005 from a csv file. But the folder where i upload the file before import is unaccessible even though i have given full rights to everyone accessing this folder or even the root folder of the application for testing purposes. I am getting error 'invalid File' (though the file is valid csv) on my system where Norton and Kaspersky are installed but when i tryed to import data from same file using other system it did not give error and file was uploaded successfully and then imported to database. I have restarted the deployment server. Should i restart iis admin servies or what should i do. I have given full rights on the folder where i m uploading the file before importing it to database. Thanks, Safvi

    ASP.NET sysadmin database windows-admin testing beta-testing

  • System.OutOfMemoryException when writing a csv file
    K K Safvi

    public static string WriteCSVFilebyDataReader(SqlDataReader SqlDataReaderObject) { StringBuilder strResult = new StringBuilder(); try { for (int i = 0; i < SqlDataReaderObject.FieldCount; i++) { strResult.Append("\" " + SqlDataReaderObject.GetName(i) + " \","); } strResult.Append("\n"); if (SqlDataReaderObject.HasRows) { while (SqlDataReaderObject.Read()) { for (int j = 0; j < SqlDataReaderObject.FieldCount; j++) { strResult.Append("\"" +SqlDataReaderObject.GetValue(j).ToString() + "\","); } strResult.Append("\n"); //SqlDataReaderObject.NextResult(); } } } catch (Exception ex) { throw ex; } return strResult.ToString(); }

    ASP.NET help csharp css asp-net debugging

  • System.OutOfMemoryException when writing a csv file
    K K Safvi

    Dear All, In download data module of my application(with asp.net2.0/sqlserver2005)one of the function is returning a datareader object having 7 hundererd thousands plus record. It returns the datareader without an exception but when i am iterating through the datareader to take its values to a string bulider type varible to write a csv file, it throws an 'System.OutOfMemoryException' due to huge records. I can not filter the record as it is required to write a csv file of the whole data. how can i avoide this error and improve the efficency of the system so that it takes less resources. The compilation debug is set to false. Also when there a few hundered thousand records the download is working ok. Thanks in advance for the help form any esteemed member. Thanks, Safvi

    ASP.NET help csharp css asp-net debugging

  • 'System.OutOfMemoryException' Error because of huge datatable
    K K Safvi

    Thanks for your suggestion David, It really impreoved the efficiency of my download module by using datareader inspite of datatable and now i was able to write more then 2 million records to a csv file. But still this exception is thron when the no of records exceeds like in my case 7 Millios. What else should i do.? Thanks again for your valuable suggestion that solved my 50% problem. Safvi

    ASP.NET help csharp performance

  • Logout issue
    K K Safvi

    Parwej, thanks for the reply. No,I am not using either Webgarden or Webfarm. My application is asp.net2.0 application on iis. Safvi

    ASP.NET help csharp sysadmin windows-admin announcement

  • Logout issue
    K K Safvi

    Please reply and help me solve the issue. Its really urgent. Thanks Safvi

    ASP.NET help csharp sysadmin windows-admin announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups