|
Like I said, if you fix your site, then you will solve your problem. Write good code, don't try to hack your way through bad code.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
thanks for ur answer,but i dont understand ur idea.
how to fix the design.
What exactly i have to do.
I think u got my question and please try to explain me correctly.
please it is my request.
kissy
|
|
|
|
|
Try this out;
protected void Page_load
{
StringBuilder javaScript = new StringBuilder();
javaScript.Append("\n<script language=JavaScript>\n");
javaScript.Append("window.history.forward(1);\n");
javaScript.Append("</script>\n");
Page.RegisterClientScriptBlock("HistoryScript", javaScript.ToString());
}
Its a bit of a trick, but works for me. The real problem is that newer browsers purposefully remove the ability for code to effect the menus of the browser now as some nasty hackers keep finding ways to hijack the browser using these methods. Probably the code above will become useless after a time too when someone starts to use it in-appropriately and we will have to creatively come up with a new method. Just be cautious in how you apply it.
|
|
|
|
|
For GOD'S sake abandon the way you're doing it. Many MANY people post similar questions, and the answer's always the same. If you NEED to disable standard controls in the browser for your site to work, you've designed it WRONGLY.
Not sure I understand what you're asking, but I suspect that it's that you don't want users to redirect to a login page they've already completed - if that's the case, look at Forms authentication in MSDN...but please PLEASE don't start hacking the browser just to make things work - it's not only really silly, but it also gives others the idea that it's OK!
C# has already designed away most of the tedium of C++.
|
|
|
|
|
Hi all,
I just Plan to do MCP in ASP.NET 2.0, pls where do i find the free dumps and also mention the exam number for this.
Thanks
|
|
|
|
|
KKK MCA wrote: I just Plan to do MCP in ASP.NET 2.0, pls where do i find the free dumps and also mention the exam number for this.
If you are already planned for doing certification from Dumps, then its better to don't do the certification.
If you want to learn details on certification Check here
|
|
|
|
|
hi abhijit
thanks for your reply, could you provide the Syllabus details for MCP and mention the exam number for MCP like 70-350...
|
|
|
|
|
I have already provided you a link with all the Exam list. Click on this url you will get the details!
|
|
|
|
|
You really think that an employer won't work out that you have no idea about ASP.NET and just used 'dumps' to cheat on the exams ? This is why exams are useless.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Hello,
I am working with ASP.net 2008.
I am using Users, Membership, roles through Website->ASP.NET configuration menu. I would like to use it while is pointing to an external database not the local one. How do I tell him to use external SQL server database. I have already add the database through aspnet_regsql.exe.
Thank you
Eric H.
|
|
|
|
|
By Default ASP.NET stored membership information in local database. If you want to store it in remote database you have to add the database using aspnet_regsql.exe command.As You have already add the database, you are now one step ahead. Just do the following entry in web.config.
In the ConnectionStrings section of the web.config add the new ConnectionString for the new Database
<add
name="MemberShipConnectionString"
connectionString="Data Source=ServerName;Initial Catalog=myDB;Integrated Security=True"
providerName="System.Data.SqlClient"/>
In the Membership section of the web.config, give the same connection string the you have added for new database
<membership>
<providers>
<add
connectionStringName="MemberShipConnectionString"
applicationName="/"
name="MembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
.......
/>
</providers>
</membership>
Hope this will help you.
|
|
|
|
|
Thank you for your precious help, it works
Eric H.
|
|
|
|
|
Hi all, i am trying to open an access application found on a server using System.Diagnostics.Process.Start(path). it works fine when i run the project from VS2008 but when i deploy it doesnt work. Any ideas
|
|
|
|
|
samerh wrote: i am trying to open an access application found on a server using System.Diagnostics.Process.Start(path).
So you want to open access application on you Server. Process will start process only on your server, not in the client system.
samerh wrote: it works fine when i run the project from VS2008 but when i deploy it doesnt work. Any ideas
What does not work? What error are you getting ? Is there is access permission error ?
|
|
|
|
|
Hi and thanks for your reply,
Abhijit Jana wrote: Process will start process only on your server, not in the client system.
OK fine but i want to open the access application found on the path iam giving. Do u mean i need to use something else that process.start
Abhijit Jana wrote: What does not work? What error are you getting ? Is there is access permission error ?
It gives no error it only shows me busy cursor i waited it for more than 2 minutes then stopped it. i gave the folder containing the access file full control for everyone, aspnet user and networkservices.
The above happened when i put the path as follows: \\192.168.1.167\Bank\App.mdb i have changed it to c:\Bank\App.mdb since the web and access applications are on the same server. When i did that it gave me an error "No application is associated with the specified file for this operation" when i checked the server i found that there is no access installed on it. will installing access solve the issue?
|
|
|
|
|
samerh wrote: Abhijit Jana wrote:
Process will start process only on your server, not in the client system.
OK fine but i want to open the access application found on the path iam giving. Do u mean i need to use something else that process.start
As I already told you Process Will Execute file on server side, so you have to give the file path of Server Only.
samerh wrote: Do u mean i need to use something else that process.start
Can you please put the code block ?
samerh wrote: It gives no error it only shows me busy cursor i waited it for more than 2 minutes then stopped it.
Did you tried to debug it? Where its taking the time ?
|
|
|
|
|
Abhijit Jana wrote: Process Will Execute file on server side, so you have to give the file path of Server Only
This is what i want and what i did. iam using
System.Diagnostics.Process.Start(path)
<blockquote class="FQ"><div class="FQA">Abhijit Jana wrote:</div>Did you tried to debug it? Where its taking the time ? </blockquote>
while debugging it works fine, dont know where it is taking this time. issue only appears when i deploy.
|
|
|
|
|
I have missed out the last part of your previous post. Please check my last reply.
|
|
|
|
|
samerh wrote: When i did that it gave me an error "No application is associated with the specified file for this operation" when i checked the server i found that there is no access installed on it. will installing access solve the issue?
Ohh Sorry, I was missed this section. If you don't have the access in the deployed system you should have to install it. Please install Access on that system.
BTW : Can you please explain me what will you do by opening a access file in server ?
|
|
|
|
|
After installation still giving access denied error.
I have a customer who have an access application and need to open it by clicking a button from the web application.
|
|
|
|
|
So the user is copying the Access application to the server ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
samerh wrote: I have a customer who have an access application and need to open it by clicking a button from the web application.
Its means customer will open Application by clicking on the web application, but You are opening the Access Application on Server, not on the client system, then how will your customer are going to access the application.
|
|
|
|
|
*grin* I was trying to get him to confirm that. If he could confirm it was on the server, and still didn't work out what was going wrong, then he really doesn't deserve to be allowed to use a computer, let alone a compiler.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
The basic problem is that you are clueless. What possible reason could you have for wanting to run an Access database, on the server ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
thank you guys.
This is what iam trying to tell you, i dont want to open the access application on the server, i want to open it on the client machine and the user can view some reports from this access application.
Using Process.Start do the job locally but when publishing the application it dont work.
Hope i was clear this time and thanks again
|
|
|
|