|
Hi,
Put an IFRAME in your page and set its src property to the desired URL.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Hi Alok
WE can use hyperlink (type the nameof the web site in ur form then drag the mouse right click select the option make hyperlink) to open any web site from your page, But exactly what u want i didnt got (Is it like in the same window u want to open ??)
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
yes i want it to open it inside same window
alok tripathi
|
|
|
|
|
Go with IFrame and set the Src Property to the Desired URl which you want to Open in the Site.
Regards,
Satips.
|
|
|
|
|
Hi all
In a asp.net form i have many controls. So i want user to fill all fields with proper data so i want to validate those controls. I tried writing a code like this but it didn't work
If TxtFname.Text = "" Then
MsgBox("Enter The First Name")
End If
Server Error in '/WebApplication2' Application.
--------------------------------------------------------------------------------
It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application
Can any tell me the code that i need to implement here. like fields should not be empty, and in text boxes user should not be able to enter numeric value and vice versa.
Regards
Prakash Mishra(Banglore,India)
|
|
|
|
|
Hi,
Get it Get It
You can not use windows messagebox in web application.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
hi frnd,
The best to validate the textbox in web application is use
JAVAScript
just try out following code in soure
type in
after <title>
function ClickMe()
{
if document.getElementById("txtFName").value==""
{
alert("Please Enter FName");
return false;
}
}
Call this method on click
regards,
koolprasad2003
-- modified at 3:25 Wednesday 13th June, 2007
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
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
|
|
|
|