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
M

m rastgar

@m rastgar
About
Posts
78
Topics
53
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • less than 100 query
    M m rastgar

    Hi every body. i want to have a query in sql server 2000 which loads the sets of number less than 100. what should i do? SELECT ? [WHERE]? Thanks Rastgar

    Database database css sql-server sysadmin question

  • what should i do with this ole behavior?
    M m rastgar

    i use crystalreport10 in my site. i want to show a html file content with ole component in my rpt file. but it does not show that. or i make a word document from the html file. and then insert it to my crystal report as ole component. but just the first page of the word file will be shown. i want the whole of the file to be shown. what should i do. please describe me step by step if its possible. Thanks Rastgar

    ASP.NET html com tutorial question

  • how to force file download?
    M m rastgar

    how about with javascript? Thanks Rastgar

    Web Development html tutorial question

  • how to force file download?
    M m rastgar

    i have a static html page. i have a link in it to download a pdf file. i want to force download the file, not to open it, when user click on it. but if user had installed acrobotreader in his/her pc, my link open the file directly. but i dont want to act so. i want file to be downloaded. thanks rastgar

    Web Development html tutorial question

  • Scrollbar position on a panel web server control
    M m rastgar

    yourpanleid.scrollTop, yourpanelid.scrollLeft. for your panel id, refer your page html which is rendered. note, these two methods are client side methods. you can save them in a hidden field. i save them in a hidden textbox by scrollchange() method. and set them by changescroll() method: function scrollchange() { document.getElementById("txtScroll").value=document.body.scrollTop; document.getElementById("txtScroll").value+=";"+document.body.scrollLeft; } function changescroll() { if(document.getElementById("txtScroll").value != "") { parts = document.getElementById("txtScroll").value.split(";"); document.body.scrollTop = parseInt(parts[0]); document.body.scrollLeft = parseInt(parts[1]); } } Thanks Rastgar

    ASP.NET sysadmin tutorial question

  • nobody knows my question: How can I show my error page in new page and old page should steel shows old data?
    M m rastgar

    I want to show my error page in new page. Old page should still shows old data. I write in applicationerror event in global, this: response.write("window.open('errorpage.aspx')"); But there is a problem with it. The old page shows aspx error message displaying my code and exception. If I set custom error in config, my old page will be redirected to errorpage which is set in custom error tag. If I use Server.ClearError() method, the old page will be cleared entirely and shows blank page. I WANT MY OLD PAGE TO SHOW THE OLD DATA WITH USER CHANGES WHICH CAUSING ERROR AND THE NEW PAGE, SHOWS MY ERRORPAGE LIKE ERROR MESSAGE IN WINDOWS APPLICATION. I don't want to handle my all errors by try catch. I want to handle all of them in allication error. Because I can find my latest exception by Server.GetLastError() method. Please instruct me what to do. Thanks Rastgar

    ASP.NET question help sysadmin

  • nobody knows my question: How can I show my error page in new page and old page should steel shows old data?
    M m rastgar

    i'm sure. nobody knows. Thanks Rastgar

    ASP.NET question help sysadmin

  • Can anybody help me to use combobox from Javascript function [modified]
    M m rastgar

    var elSel = document.getElementById('selectX'); if (elSel.selectedIndex >= 0) { var elOptNew = document.createElement('option'); elOptNew.text = 'Insert' + num; elOptNew.value = 'insert' + num; var elOptOld = elSel.options[elSel.selectedIndex]; try { elSel.add(elOptNew, elOptOld); // standards compliant; doesn't work in IE } catch(ex) { elSel.add(elOptNew, elSel.selectedIndex); // IE only } Thanks Rastgar

    ASP.NET help javascript com

  • DownLoad Using JavaScript
    M m rastgar

    window.open(your site url and the file like:"http://www.mysite.com/file/music.mp3"); Thanks Rastgar

    ASP.NET javascript tutorial

  • nobody knows my question: How can I show my error page in new page and old page should steel shows old data?
    M m rastgar

    I want to show my error page in new page. Old page should still shows old data. I write in applicationerror event in global, this: response.write("window.open('errorpage.aspx')"); But there is a problem with it. The old page shows aspx error message displaying my code and exception. If I set custom error in config, my old page will be redirected to errorpage which is set in custom error tag. If I use Server.ClearError() method, the old page will be cleared entirely and shows blank page. I WANT MY OLD PAGE TO SHOW THE OLD DATA WITH USER CHANGES WHICH CAUSING ERROR AND THE NEW PAGE, SHOWS MY ERRORPAGE LIKE ERROR MESSAGE IN WINDOWS APPLICATION. I don't want to handle my all errors by try catch. I want to handle all of them in allication error. Because I can find my latest exception by Server.GetLastError() method. Please instruct me what to do. Thanks Rastgar

    ASP.NET question help sysadmin

  • Can I access any Server control in Javascript function in .Net
    M m rastgar

    1-.net id generator usually change your components id when it is rendering your component to client. it concats some prefix to the component original id. it is usually "ctl00_ContentPlaceHolder1_". so your component id in client mode will be converted to "ctl00_ContentPlaceHolder1_tbCmpName". so your code should be this: alter(document.getElementById('ctl00_ContentPlaceHolder1_tbCmpName').id); 2-string variable and its length: var b = 'Hello World'; window.alert(b.length); Thanks Rastgar

    ASP.NET question csharp javascript com sysadmin

  • How can I show my error page in new page and old page should steel shows old data?
    M m rastgar

    As I mentioned in subject, I want to show my error page in new page. Old page should steel shows old data. I write in applicationerror event in global, this: response.write("window.open('errorpage.aspx')"); But there is a problem with it. The old page shows aspx error message displaying my code and exception. If I set custom error in config, my old page will be redirected to errorpage which is set in custom error tag. If I use Server.ClearError() method, the old page will be clear entirely and shows blank page. I WANT MY OLD PAGE TO SHOW MY OLD PAGE WITH USER CHANGES WHICH CAUSING ERROR AND THE NEW PAGE, SHOWS MY ERRORPAGE LIKE ERROR MESSAGE IN WINDOWS APPLICATION. I don't want to handle my all errors by try catch. I want to handle all of them in allication error. Because I can find my latest exception by Server.GetLastError() method. Please instruct me what to do. Thanks Rastgar

    ASP.NET help question sysadmin

  • How can I handle my error class whenever any exception is raised.
    M m rastgar

    As I mentioned, if I set this tag off, the asp.net shows the error in old page. But I want the old page still be shown. If you get confused, plz read my first and second message again to find out my question correctly. I should clear asp default error and show my old page. But how? Server.clearerro() method just clear the asp error but my old page never be recovered. thanks rastgar

    ASP.NET csharp question asp-net help

  • How can I handle my error class whenever any exception is raised.
    M m rastgar

    I know application error event. But there is a problem with it. I should just redirect to another page in this event else, the page which error is raised, will be redirected to error page. But I’d like my old page is still shown. And I show the error in another page. I know that I should write in this event: Response.Write("window.open('errorpage.aspx')"); But the page that error raises from that will be still redirected to error page or ASP.Net default errorpage. What should I do to prevent from this redirection? Thanks Rastgar

    ASP.NET csharp question asp-net help

  • How can I handle my error class whenever any exception is raised.
    M m rastgar

    I have an error class in my asp.net with c# project. It is responsible for handling errors. Could I handle it, when any exception raises, my class method raise? If yes, tell me how? Thanks Rastgar

    ASP.NET csharp question asp-net help

  • How can i make my page, not to show error?
    M m rastgar

    could i have a class when any exception raises, my class method raise> if yes, tell me how? Thanks Rastgar

    ASP.NET help question csharp

  • How can i make my page, not to show error?
    M m rastgar

    Hi. In my webapplication, i never handle errors by try catch (my code language is c#). But I handle all errors in PageError and Applicationerror events. But after handling them, I want to show my message in another page. I do that on this way: Response.Write("window.open('errorpage.aspx')"); But I have a problem. On this way, the first page shows the exception and the code which error was raised. But I want to show the original page, because I show my message in another page. Please offer my method to do the way which I want to handle my errors. Thanks Rastgar

    ASP.NET help question csharp

  • what should i do with crystal report export error?
    M m rastgar

    How can I set full access for this folder? Please explain it step by step if it is possible:-D. Thanks Rastgar

    ASP.NET csharp help asp-net visual-studio data-structures

  • what should i do with crystal report export error?
    M m rastgar

    I use crystal report to export pdf file in my web application. My crystal report file name is testreport. I user these commands to export: testreport report = new testreport(); report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, "aaa.pdf"); But when I run it I have error: "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: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Error in File C:\DOCUME~1\EHSAN-~1\ASPNET\LOCALS~1\Temp\temp_5a2db3c1-f7ea-455d-a5c1-c37a91b5f8a9.rpt: Access to report file denied. Another program may be using it." I never use this file:"C:\DOCUME~1\EHSAN-~1\ASPNET\LOCALS~1\Temp\temp_5a2db3c1-f7ea-455d-a5c1-c37a91b5f8a9.rpt" But the error is that file is in use. Please help me. I develop with visual studio 2003, my language C#.net. Thanks Rastgar

    ASP.NET csharp help asp-net visual-studio data-structures

  • In which event i can force user to save its data
    M m rastgar

    Thanks for your help. Your code works very well. But when i use it, after alert 'pls save', I have another alert: "Are you sure you want to navigate away from this page? false Press ok to continue, or cancel to stay on the current page." it happens after code: "window.event.returnValue = false;" I don't want this alert to be shown. What should I do? Thanks Rastgar

    ASP.NET javascript
  • Login

  • Don't have an account? Register

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