|
You could pass it through URL like:
http://www.yourdomain.com/page.jsp?var1=VALUE1&var2=VALUE2 ...
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
Dear fellow
are you sure that in this way i can pass value from dot nst application to application
which is in oracle forms 10g which is java????
looking forward for your detailed support in this regard
|
|
|
|
|
kashif2007 wrote: are you sure that in this way i can pass value from dot nst application to application
which is in oracle forms 10g which is java????
looking forward for your detailed support in this regard
Yep, positive. Oracle forms uses ".jsp" pages to display content through web. You can pass any string in JSP (same in ASP.NET and even PHP) through the url.
So basically all you have to do is to redirect the user from the asp page to the jsp using URL parameters as I described in my earlier post.
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
Hello friends,I upload my site on server but got the following error. What it means? I publish the site to '/test'folder on server ..Can u help me plzzz..
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load the assembly 'App_Web_nu4dn8zr'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Webmaster_AdminLogin, App_Web_nu4dn8zr" debug="true" %>
Line 2:
Line 3:
Source File: /test/webmaster/adminlogin.aspx Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
|
|
|
|
|
The class that you have added in the inherits property, does it exist?
---
single minded; short sighted; long gone;
|
|
|
|
|
yes it exists..All class files are compiled into .dll files.This compilation is done when publish the project..
|
|
|
|
|
Hi,
I have a wizard control with 3 steps on each step i have some textboxes on the last step I have the submit button. In the first step I have entered some data into the textboxes and click next move to next step enter some data finally on the last step I want to submit. On the submit button click I can get all the data enntered in the previous steps with out saving them in the session/view state. Am I correct? Or I have to maintain the data in each step before going to the next step.
Thanks in advance
|
|
|
|
|
Hello everybody,
I'm facing a weird problem in my asp.net 2.0 website using the ftpwebrequest class. I want to donwdload the logfile from an ftpserver and I get the following error:
"the remote server returned an error:(530) Not Logged In"
this is my code:
<br />
protected void btnTestLF_Click(object sender, EventArgs e) {<br />
Uri ur = new Uri("ftp://ftp.mydomaine.com/");<br />
Downloadlf(ur, "myname", "mypwd");<br />
}<br />
<br />
<br />
<br />
private string Downloadlf(Uri serverUri, string name, string pwd) {<br />
<br />
if (serverUri.Scheme != Uri.UriSchemeFtp) {<br />
return string.Empty; <br />
}<br />
WebClient request = new WebClient();<br />
request.Credentials = new NetworkCredential(name, pwd, serverUri.AbsoluteUri); <br />
<br />
try {
<br />
byte[] newFileData = request.DownloadData(serverUri.ToString());<br />
<br />
<br />
string fileString = System.Text.Encoding.UTF8.GetString(newFileData);<br />
<br />
}<br />
catch (WebException e){<br />
<br />
}<br />
return string.Empty;<br />
}<br />
Could anyone give me some help! I'll appreciate it very much!
Just Relax And Keep It Simple.
|
|
|
|
|
|
Trying to disable a textbox using a Javascript function.
The application page does not have the element. Will not be able to use, document.form.element
None of these work!!
document.getElementById('<%=Textbox1.ClientID%>').enabled=false}
document.getElementById("physicalAddr1TextBox").enabled=false}
document.getclientElementID("physicalAddr1TextBox").enabled= false;
Please help
Thanks
|
|
|
|
|
No wonder. An html element doesn't have any enabled property.
document.getElementById('<%=Textbox1.ClientID%>').disabled = true;
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks ;P
Thanks
|
|
|
|
|
Can you help me with this one?
In code behind, there is the borderstyle property.
TextBox.BorderStyle = BorderStyle.NotSet;
How can I write this in javascript using document.getElementById?
Thanks
|
|
|
|
|
hello,
you could change the css class for the textbox:
document.getElementById(textboxid).className ='thecssclass';
and write the thecssclass with any styles you want.
Hope it helps!
Just Relax And Keep It Simple.
|
|
|
|
|
Hi everyone!
We are initializing a big project for my company's website. It's, basically, maps, routes and localizations tools.
Ok! But, first, we need to adopt a good organization for our solution (with multiple layers).
Could anybody, more experienced than me, indicate good references for this subject?
Thanks in advance.
|
|
|
|
|
Is there a best practice acceptance criteria for "code acceptance" to signup support contract? For example, I assume the following guidelines -
1) Managed code using VS.NET
2) Should use the latest framework, ez, .NET framework
3) ASP.NET/AJAX for web applications
4) XML standards such as OASIS
5) web protocols such as HTTP, SOAP, REST, etc
Does anyone has some guidelines?
Thanks in advance,
SP
|
|
|
|
|
Why would web applications have to use AJAX at all, or be tied to the Microsoft framework ?
If you're not using HTTP, you're not really on the web, are you?
What are you trying to achieve here ? A list of thngs you want someone to deliver to you ? A list of thngs you feel you'd be required to deliver ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I'm trying to test the deployment of a web applciation before getting too deep in its development. The app consists of a Login page, a master page and a few (stub) content pages plus a start page and one half-developed content page. I'm using VS 2005 (C#) and SQL Server 2005, and using Forms authentication. The web app works fine when running under VS's Development Web Server. However, I tried to deploy it by publishing the web site to a physical folder, used IIS (5.1) to create a virtual folder mapped to that physical folder, then tried accessing the published web site and got the following (security) exception:
Server Error in '/AMTS' Application.
--------------------------------------------------------------------------------
Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Requested registry access is not allowed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: Requested registry access is not allowed.]
System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) +48
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +2752377
System.Security.Cryptography.Utils.get_FipsAlgorithmPolicy() +134
System.Security.Cryptography.RijndaelManaged..ctor() +10
System.Web.Configuration.MachineKeySection.ConfigureEncryptionObject() +388
System.Web.Configuration.MachineKeySection.EnsureConfig() +363
System.Web.Handlers.AssemblyResourceLoader.FormatWebResourceUrl(String assemblyName, String resourceName, Int64 assemblyDate, Boolean htmlEncoded) +165
System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrlInternal(Assembly assembly, String resourceName, Boolean htmlEncoded) +743
System.Web.Handlers.AssemblyResourceLoader.GetWebResourceUrl(Type type, String resourceName, Boolean htmlEncoded) +919
System.Web.UI.ClientScriptManager.GetWebResourceUrl(Page owner, Type type, String resourceName, Boolean htmlEncoded) +154
System.Web.UI.WebControls.BaseValidator.RegisterValidatorCommonScript() +257
System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +70
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6978
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.login_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
I tried using the approach outlined in
http://support.microsoft.com/kb/329291
but it didn't help. Essentially, I'm not sure why just adding that key to the registry would solve the problem. Isn't the issue the fact that the account (ASPNET) that the application is running under does not have write access to the EventLog in order to create the Event Source? If so, how do I add that access right to the account?
Also, The following error occured while attempting to read the properties for the user ASPNET:
The Server service is not started.
Not sure which service that is. There is a manual service called ASP.NET State Service that is not normally started on boot up. Starting it does not make any difference to my error.
Is this error related? Is the exception above due to some service not running when ASPNET attempts to access the IIS web site?
Thanks
-- modified at 13:29 Thursday 27th September, 2007
|
|
|
|
|
I going to be building a asp .net website that will have static content, dynamic content coming from a sql server database, and pdf pages. They want a single search box visitors can enter in key words and then do a search on it in all three areas of the website mentioned above. How can this be done?
|
|
|
|
|
Hi, I want to insert form values into mssql 2000 server using VS2005. Could u help me please.Thanks in advance.
|
|
|
|
|
Please refer ADO.net articles. You can get many when you search Google.
Thanks
|
|
|
|
|
The textbox entry should fire the OnTextChanged event, MText_Textchanged.
Now, I dont want to fire this for all entry. When I change textbox entry to particular strings like 'georgia','atlanta','florida'(jus examples) the MText_Textchanged should be fired.
Actually, when the textbox entry is changed, I need to do some checkbox disable on the page. So, for textbox I have to keep the AutoPostback = "true".
So, every time I change the textbox entry, the page postsback. I want the page postback and the textbox change event to occur only for specific strings.
Please help.
Thanks
|
|
|
|
|
You should probably never use the OnTextChanged event. Very bad UI performance. It looks like what you really need is some javascript. There are lots of examples out there on how to write javascript. I think you want a keypress event on the textbox then in the javascript check to see when the textbox = your text and then the checkbox gets disabled.
Ben
|
|
|
|
|
Thanks for the reply. I have started on the javascript.
Thanks
|
|
|
|
|
Does anyone know how I can create a Silver scrollbar on
my javascript scrollbar. Should look like WindowsXP Silver scrollbars.
My scrollbar, which is a custom control, looks something like this (on "View Source"):
div id="idx_pch_trLr" style="overflow: scroll;; overflow-x: hidden;
overflow-y: auto;width:160px;white-space: nowrap"
My javascript(on "View Source"):
script language="javascript">
function idx_pch_trLr_ss()
{
var l = document.getElementById("idx_pch_trLr");l.scrollLeft=0;l.scrollTop=0;l.onscroll = idx_pch_trLr_rs;
}
function idx_pch_trLr_rs()
{
var l = document.getElementById("idx_pch_trLr");
var inpX = document.getElementById("idx_pch_trLr_x");
var inpY = document.getElementById("idx_pch_trLr_y");
inpX.value = l.scrollLeft;inpY.value = l.scrollTop;
}
function idx_pch_trLr_rz()
{
var l = document.getElementById("idx_pch_trLr");
l.style.height = document.body.offsetHeight - 191;
}
attachEvent("onload",idx_pch_trLr_ss);attachEvent("onresize",idx_pch_trLr_rz);idx_pch_trLr_rz()
|
|
|
|