|
OK, but what HTML is being served ?
> I cant understand what do u mean by html. anyway, heres the view source of page.(rightclick > view source)
<%@ page language="C#" autoeventwireup="true" inherits="Baijin, App_Web_2u7oo9vb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ばいじん排出基準検索システム</title>
<script type="text/javascript" language="JavaScript">
function ShowPopup(){
window.showModalDialog("Shinai.aspx", "Dialog",
"dialogWidth:600px;dialogHeight:280px;");
}
</script>
</head>
<body bgcolor="activeborder"> <center>
<form id="frmBaijin" runat="server">
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
C#Coudou wrote: I cant understand what do u mean by html
Do you not know what HTML is ?
OK, if that's all that's being served, it's like the page is incomplete, which makes me think you should look at the error log on the Win2K machine. If the form and body were closed, then I'd think there was a reason that your script generated an empty page, but this looks like it is dying half way through.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
yes, of course i know html.
<page is incomplete> no, i just cut and paste it here, but not the entire view source.
you said earlier, its a deployment issue. what do u think an issue here. thanks for helping me. i need to run this app. today.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
C#Coudou wrote: <page is="" incomplete=""> no, i just cut and paste it here, but not the entire view source.
OK - then I don't know why it's not running, I assume it's something in the source code, for example, a datagrid is there and the code is swallowing an exception when it fails to load data.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I still don't know how to configure this out. I thought its only in win2k server but when i try to install it in winxp. still the page cannot be shown. i thought its ie thing but when i open to firefox.
it will download the aspx file.
could somebody me... thnx.
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
I have applied CSS in Crystal Report10, it is working when i export the report in HTML Format, but it is not working when i export in PDF Format. If any have the solution plz send me........Thx.....
|
|
|
|
|
HTML is displayed in browsers and it knows how to render CSS. PDF will be displayed by PDF readers like Acrobat reader which don't know how to render CSS.
|
|
|
|
|
Thanks Navaneeth, for your kind reply.........You mean there is no way to apply CSS in reports when export to PDF?...... There is no alternative right?....
|
|
|
|
|
I am not a Crystal report expert, but it looks like not possible. PDF reader can't render CSS as browsers do. I think you should use formatting inside the crystal report without using CSS.
|
|
|
|
|
C# Code for sending the mail automatically if the given time period is about to expire.Is there any option to send like that in asp.net,if there is an option,send it with explanation.
Thanks In advance
|
|
|
|
|
susmithansgi wrote: C# Code for sending the mail automatically if the given time period is about to expire.
What time period?
susmithansgi wrote: ,if there is an option,send it with explanation.
WOW! that's rude. Can't you be polite?
Now rephrase your question, so that we can understand it.
|
|
|
|
|
I am really very very sorry.I hurt u people very much.I was in such a hurry that,i did not notify that my question is missing the politeness.It was not at all my intention to hurt you people
I am sorry,Please don't mind.
|
|
|
|
|
Well, from what I understood from your question, you are looking some kind of scheduled tasks, right? ASP.NET can't do that. You can use any of the following option
1 - Create a windows service, install it on the server. This service should check for the period and send mail if required
2 - Create a console application which does this and exits automatically. Now schedule it using windows scheduler.
I'd prefer the second one and I think it will be efficient than the earlier one.
|
|
|
|
|
This is not even a question, it's a command. So, get stuffed. Now, do some reading, and if you still can't work it out, ask nicely. Remember, we're doing the work, but you're getting paid for it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: Remember, we're doing the work, but you're getting paid for it.
Nice one. Probably suitable for a sig
|
|
|
|
|
*grin* I thought it would be well received.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am really very very sorry.I hurt u people very much.I was in such a hurry that,i did not notify that my question is missing the politeness.It was not at all my intention to hurt you
I am sorry,Please don't mind.
|
|
|
|
|
provide detail information
Cheers!!
Brij
|
|
|
|
|
Why do you have a habit of posting after other people have helped, and saying the exact same thing that's already been said ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Modal dialog - can tite bar and status bar be removed? This is not doing the job.
<br />
var WinSettings = "center:yes;resizable:no;dialogWidth:750px;dialogHeight:250px;titlebar:No;status:no;help:no;"<br />
var MyArgs = window.showModalDialog("conventionalPopup.html?dest=Page1", MyArgs, WinSettings);<br />
dev
|
|
|
|
|
As for as ,I know the Title bar can not be removed.there are some security reasons invovlved.If you don't want title and status bar you can use normal popups using window.open.
Check this link too
[^]">
Cheers!!
Brij
|
|
|
|
|
hello - I've launched a modal dialog but opacity setting dont seems to work...
<br />
function showConventionalModalDialog()<br />
{<br />
var ParmA = retvalA.value;<br />
var ParmB = retvalB.value;<br />
var ParmC = retvalC.value;<br />
var MyArgs = new Array(ParmA, ParmB, ParmC);<br />
var WinSettings = "center:yes;resizable:no;dialogWidth:750px;dialogHeight:200px;filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;"<br />
var MyArgs = window.showModalDialog("conventionalPopup.html?dest=Page1", MyArgs, WinSettings);<br />
<br />
return;<br />
}<br />
Now in modal dialog body tag, I've added:
<br />
style="float:left;filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;"<br />
This seems to have made dialog "transparent" that content on the dialog is greyed out - but the modal dialog itself is 100% opaque.
Thanks!
dev
|
|
|
|
|
Hi All,
Im using C# , Visual Studio 2008, to learn a bit more about HTTP Modules and HTTP Handlers.
I understand why it is used for, however in trying to absorb the basics of the code it is a bit difficult.
Im trying to make a http module which recognizes session state management. Ie A user that must login with a password and if they login correctly then they have access to certain pages.
Another thing that springs to my curiousity is how you are able to establish the connection between the user interface(ie textbox values etc to what is specified in the http module), ie how do you make it work.
Can someone give me a rundown of how the above might work.
Regards
|
|
|
|
|
CrimeanTurtle2008 wrote: A user that must login with a password and if they login correctly then they have access to certain pages.
I don't think that HTTPModule is really needed for this. You can do this in the page level and I think that would be the appropriate choice than a HttpModule . This can be done by checking for the session in each page load which needs to be secured. More neat approach would be to create separate classes for secured and normal pages and derive your pages from it. You create two classes say NormalPage and SecuredPage both derived from System.Web.UI.Page
SecuredPage will have the session checking code. All the pages which needs to be secured, derive from SecuredPage . It's very easy to implement.
CrimeanTurtle2008 wrote: Another thing that springs to my curiousity is how you are able to establish the connection between the user interface
You don't access user interface elements from a HttpModule.
HttpModule sits in the request pipeline and allows programmers to examine the requests and take necessary actions if required. It is executed for every request. Most wide used example of HttpModules are URL-rewriting.
HttpHandler is responsible for handling the requests and supplying data. Assume you have to prevent access to all jpg files in your website, you can write a handler and hook the jpg extensions to this handler.
Hope this helps
|
|
|
|
|
Thanks very much for your help guys.
I understand the concepts but understanding the specific code in the event handlers is tricky.
Thanks
|
|
|
|