|
If so, convert properties of the object into a string and using window.open(...) method to show this string in a pop up window
<< >>
|
|
|
|
|
I m using file input control in asp.net 2.0.
when i type something in it from keyboard the page does not post back, any solution???
Do good and have good.
|
|
|
|
|
Give Valid file path in that file input control.(like C:\ and file name)
I think it searches for a single character and ":\" and parses it...
Regards,
Sandeep Kumar.V
|
|
|
|
|
yes u right,
thanks ,
i m disabling it so that user does not enter the data but i wanted to know the reason.
Do good and have good.
|
|
|
|
|
Hi All
I have one problem on my master page.I am using master page in my project and it is working fine when i run it in my localhost.But when i tried to run it in server it showing error that master page could not find.Can any one help me on this.Thanks in advance
|
|
|
|
|
Can you be little bit clear?
|
|
|
|
|
Let me clearly explain you my problem.I am using master page in my project and it is working fine when i run it in my localhost.But when i tried to run it in server it showing error that master page could not find.Means when i run my project with master page in my local host its working fine.But the same file i uploaded in server(remote mechine) their it is showing error that master page could not find.i think now u got my problem?
|
|
|
|
|
Try to hit it with the IP Address of the server "Eg:http://192.143.23.32/Example/Default.aspx"
Koushik
|
|
|
|
|
Firefox is setup on my PC as the default browser but VS 2005 always opens IE when i run a web project. Is there a way I can get firefox to launch instead?
The only other app i know that ignores your default browser is MSN Messenger, do i see a pattern?
Seriously though it would be great to have firebug working while i debug my web apps.
Thanks
Russell
|
|
|
|
|
In the Solution Explorer right click on your page and click on Browse With...
In the Window opened you can add the installed browsers and set them to default as well.
Koushik
|
|
|
|
|
Anna emi anna answer aaaa.....kekkaaaa
evani neeku ela thelusanna neeku.....
|
|
|
|
|
thank you, just what i needed.
you don't know how to get messenger to launch hotmail in Firefox do you?
firebug by default, life looks better already, if i only knew how to code Javascript i'd be done in no time.
Thanks again,
Russell
|
|
|
|
|
Hi All,
On some of the machines where XP SP2 is installed one page from my application is not responding, when we click on any of the button it just not perform any processing although the client side validators and code gets executed. The same code works perfectly fine on Win 2000 machins as well as on XP SP1 machines.
Please help.
Thanks in advance for the help.
Rohan
|
|
|
|
|
Hi all?
I need to view the file in html format which i uploaded.Can anyone help me on this?Or can anyone give me the code to view the file in html in asp.net.Thanks in advance.
|
|
|
|
|
Thank you verymuch for your response.I think surely you can help me.I am expecting some good solution from you soon.
I need to view txt,doc,xls files in html format
|
|
|
|
|
Is there any way to popup the OleDb connection dialog box using the ASP.NET?
this is the code for windows application,
MSDASC.DataLinks mydlg =new MSDASC.DataLinks();
ADODB.Connection ADOcon =new ADODB.Connection();
ADOcon =(ADODB.Connection ) mydlg.PromptNew();
but this is not work in asp.net. what should i do?.
|
|
|
|
|
I want to use asp.net ajax in one of my existing asp.net 2.0 web application (asp.net website). At first i`ve changed the existing web.config file and changed it to make compatible with ajax.
Changed web.config file is as follows:
=============================================================================
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
</pages>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
</compilation>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
</system.web>
<system.web.extensions>
<scripting>
<webServices>
<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
<!--
<jsonSerialization maxJsonLength="500">
<converters>
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
</converters>
</jsonSerialization>
-->
<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
<!--
<authenticationService enabled="true" requireSSL = "true|false"/>
-->
<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
writeAccessProperties attributes. -->
<!--
<profileService enabled="true"
readAccessProperties="propertyname1,propertyname2"
writeAccessProperties="propertyname1,propertyname2" />
-->
</webServices>
<!--
<scriptResourceHandler enableCompression="true" enableCaching="true" />
-->
</scripting>
</system.web.extensions>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
</system.webServer>
</configuration>
=============================================================================
After that i run the project and it works well but when i publish the website and installed it on a different computer it generates the following error when it try to open the page in browser:
=============================================================================
Server Error in '/WebSite1' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'type'.
Source Error:
Line 2: <configuration>
Line 3: <configSections>
Line 4: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
Line 5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
Line 6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
Source File: D:\WebSite\web.config Line: 4
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
=============================================================================
Please help. And also let me know if you need some more information
|
|
|
|
|
Did you develop the site using .NET 1.1 ? I thought ATLAS was 2.0 only ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
I`ve used asp.net 2.0 which is mentioned in my post as "existing asp.net 2.0 web application".
|
|
|
|
|
OK, then this is your problem:
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
=============================================================================
From the error info you posted. Install .NET 2.0 on the server.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
i've written the following code. it doesn't yet do what it needs to i'm just getting the events set up at the moment. what's meant to happen is that the controls are paired so we have xxxxCyyyy and xxxxDyyyy where xxxx and yyyy could be any alpha text. onblur from xxxxCyyyy some things have to be done to xxxxDyyyy. basically there's a reversible function that describes the relationship between the values contained in the two controls, if you enter data in one, the other should be calculated and the cell disabled.
function RegisterAmountValidation()<br />
{<br />
var form = document.forms[0];<br />
for(i = 0;i < form.elements.length;i++)<br />
{<br />
var controlId = form.elements[i].id;<br />
if (controlId.substring(0,7) == 'jed_amt')<br />
{<br />
var suffix = controlId.substring(9);<br />
var targetControl = '';<br />
<br />
if(controlId.substring(7,8)=="C")<br />
{<br />
targetControl = controlId.substring(0,7) + "D" + suffix;<br />
}<br />
else<br />
{<br />
targetControl = controlId.substring(0,7) + "C" + suffix;<br />
}<br />
alert (controlId + " | " +targetControl );<br />
form.elements[i].onblur = function() {Validate(targetControl);};<br />
}<br />
}<br />
}<br />
function Validate(cellToEffect)<br />
{<br />
alert(cellToEffect);<br />
}<br />
window.onload = RegisterAmountValidation;
this line of code shows what i would expect
alert (controlId + " | " +targetControl );
however when i exit a control on the form only the one that was registered last gets fired and it gets fired for every control. Have i misunderstood JS events?
Thanks
Russell
|
|
|
|