|
koolprasad2003 wrote: If the message is useful for U then please Rate This message...
people are there to catch you for this sentence
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
You can use validation controls provided by .Net or can also use javascript for that purpose. Normal validation should be done on client side.
Apurva Kaushal
|
|
|
|
|
Thanks for the suggestion. I am using the .net controls Required field Validator and all. Can i get ur id pl
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
If you want to send a mail to me then you can use email link below my post. The message will come to me.
Apurva Kaushal
|
|
|
|
|
OK thanks
Prakash Mishra(Banglore,India)
|
|
|
|
|
Always welcome..
Apurva Kaushal
|
|
|
|
|
Actually why i asked the id is tomorrow if i get any problem then i need to search this page to send u a email. and one more thing when i clicked on your details it was written u r gold certified member what it means? I an trainee and working on asp.net and sql server
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
In case you get any problem then directly you can post in the same forum. I am always available here.
Here (In code project) Gold certified member means that I have posted certain amount of messages.
Apurva Kaushal
|
|
|
|
|
Hi Guys and Gals.
When I try to run a report created in CrystalReport (.NET 2005) on a button_Click event I get the following error: Load Report Failed.
Here is my code:
ReportDocument myReportDocument;
myReportDocument = new ReportDocument();
myReportDocument.Load(Server.MapPath("Report.rpt"));
myReportDocument.SetDataSource(ds);
The report is in the same directory as my application. What else can possibly be the problem?
Thanx
Elizma
|
|
|
|
|
If you get a Load Report Failed when trying to run a Crystal Report, then this exception is thrown by the Crystal Reports engine when it cannot open the report file.
Please mention the path correctly in your code.
myReportDocument.Load(Server.MapPath(C:\MyApp\Report.rpt));
Hope this may be your Problem.
Regards,
Satips.
|
|
|
|
|
Hi,
Thanx for reply, but if I change the code:
myReportDocument.Load(Server.MapPath(@"C:\Inetpub\wwwroot\PlastPortal\Report.rpt"));
I get the following error:
'C:\Inetpub\wwwroot\PlastPortal\Report.rpt' is not a valid virtual path.
Regards,
Elizma
|
|
|
|
|
Tell me the structure of of directories.
I mean
In which directory the reports is?
and
From which directory you are calling the report?
Give the relative path of the report in your calling place.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
My Directory:
C:\Inetpub\wwwroot\PlastPortal\Report.rpt
myReportDocument.Load(Server.MapPath(@"C:\Inetpub\wwwroot\PlastPortal\Report.rpt"));
Generates the following error:
C:\Inetpub\wwwroot\PlastPortal\Report.rpt' is not a valid virtual path.
Call the Report straight
myReportDocument.Load(Server.MapPath("Report.rpt"));
Generates the following Error:
Load report failed.
Dont know what else to do.
Regards,
Elizma
|
|
|
|
|
have you set virual directory for PlastPortal ?
where is your aspx page ?
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Yes I have set virtual directory for plastportal.
My aspx page is also located within the same directory.
Regards,
Elizma
|
|
|
|
|
please send me ur project to my email..i will look into it...what is the error you are getting??
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Have you got the solution.If yes then please post that code here because I am facing Same error.Waiting for reply.
Thanks
Life Is Beautifull
|
|
|
|
|
Hi
We actually gone through quite a few problems with this. I will try to help you. I know one thing we had to do is to give write access to everyone to the C:\Temp folder. If you need more assistance, you can mail me at elizma_smith@hotmail.com
I know how I struggled with this and was very gratefull for Sylvester to assist me.
Kind Regards,
Elizma
|
|
|
|
|
Thanks For Reply Elizma,
I will mail you all detail on your mail id.
Thanks again.
Life Is Beautifull
|
|
|
|
|
Hi
In one of the article in Code Project,I found (!IsPostBack).
I want to know the difference between (!Page.IsPostBack) and (!IsPostBack).
If they are same then why we are using (!Page.IsPostBack)?
Thank u
Chandu
|
|
|
|
|
Ispostback means in the time of page load its property is false so in the time of button submission or clicking only its property is true and the page can display
!ispostback means its property default true so in the time of page load the fresh page display automatically..
Regards,
Satips.
|
|
|
|
|
Thank u.
.....but I asked for (!Page.IsPostBack) and (!IsPostBack) not (IsPostBack) and (!IsPostBack)
Thank u
Chandu
|
|
|
|
|
i have another opinion.
Both are same. No differences!
IsPostback is inherited from Page object(derived).
it is just a programers choice whther he used Page. infront of IsPostback.
eg:
it is same if we include
using System.Collections;
and then use System.Collections.HashTable
or directly use HashTable.
Biju S
|
|
|
|
|
Both are same,
I have use both the IsPostBack and Page.IsPostBack.
I dont find any difference between this You can use whatever you like.
|
|
|
|
|
Hi There.
There is no difference. It's just a short-hand. Same as if you want to refere to a form you can call the form name or this instead of the form name.
Calculations you can go x = x + 10;
or
x += 10;
Regards,
Elizma
|
|
|
|