|
Hi All
Im using 2 external JavaScript file for autocomplete in the textbox,In my normal web page im using seperate method for Asynchronously fill the data to textbox,and also im calling to usercontrol using DIV tag eg-:
Using this DIV id im passing ConentTag to userControl.
My Problem is when im calling 2 external javascript file from my normal web page its not working, but when im remove the Div tag its working fine,
Help me to solve this problem im using VS 2003. this is urgent.
Thanks
|
|
|
|
|
You should not have script elements between the head and body tags. Put the script elements inside the head element.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
yes i have put my 2 script files inside head (Thats inside my normal web page, not the UserControl).
Still its not wroking
|
|
|
|
|
(ASP.net)I have datalist control with tamplet button i want on click event insert record But when i click button it give folling error,
//Error------------
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
----------
Unless i use ItemDatabound Command event.
please anyone help me.(ASP.net)
|
|
|
|
|
sanjay30 wrote: Invalid postback or callback argument. Event validation is enabled using <pages enableeventvalidation="true"> in configuration or <%@ Page EnableEventValidation="true" %> in a page.
Please change it to <%@ Page EnableEventValidation="false" %> in the page
Regards
|
|
|
|
|
Hi guys i have a issue,
I save some html file in my server side document folder...,
and same time i am saving that file name in my database table also...,
Now my question is when ever i click a particular image the finally uploaded html have to display in enduser side...,
How to do that, guide me
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
Open the file using a StreamReader and output the content to for example, a Literal, a Label of the Response object.
|
|
|
|
|
Hi,
Try this.
<a href="path of html file" runat="server" target="_blank">
<img src="path of image" /></a>
Regards
|
|
|
|
|
I have converted an asp.net 1.1 application to asp.net 2.0.now am getting the following error while trying to build the web site...
The type 'OASYSeHCM.Global' is ambiguous: it could come from assembly
'C:\Documents and Settings\Administrator\Desktop\BDhofar1\bin\OASYSeHCM.DLL'
or from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bdhofar1\a48119a1\a96f7f92\App_Code.1ohx0gex.DLL'.
Please specify the assembly explicitly in the type name.
whant could be the reason?...
|
|
|
|
|
Hmmm... this is because of two assemblies that the ASP.net framework thinks to be different but are the same (probably because of different metadata). So just go ahead to the location 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bdhofar1\a48119a1\a96f7f92\ and delete the file App_Code.1ohx0gex.DLL and try to build it again
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
sorry....i have deleted the file which u have mention above...but now am getting this error
The type 'OASYSeHCM.Global' is ambiguous: it could come from assembly
'C:\Documents and Settings\Administrator\Desktop\BDhofar1\bin\OASYSeHCM.DLL'
or from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bdhofar1\a48119a1\a96f7f92\App_Code.djgtlsv_.DLL'.
Please specify the assembly explicitly in the type name.
|
|
|
|
|
Delete all the files under C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bdhofar1\a48119a1\a96f7f92 folder and try again!
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
still same.....(i hav edleted the files under tht folde...but not the folder)...still am gettting this error
The type 'OASYSeHCM.Global' is ambiguous: it could come from assembly
C:\Documents and Settings\Administrator\Desktop\BDhofar1\bin\OASYSeHCM.DLL' or
from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\bdhofar1\a48119a1\a96f7f92\App_Code.ot0am-hj.DLL'.
Please specify the assembly explicitly in the type name.
|
|
|
|
|
Problem is in your Global.asax file. It has an inherits attribute which is pointing to incorrect location or old assembly. If you are not using Global.asax , remove it or fix the inherits attribute.
|
|
|
|
|
After conversion Global.asax.vb came inside App_Code folder and Global.asax is outside....
and my Global.asax file is like ths....
]]>
|
|
|
|
|
Hi Guys,
When i tried to compile my ASP.net application i got the followig error.
"ASP.NET runtime error: Error HRESULT E_FAIL has been returned from a call to a COM component."
Any idea what is it trying to tell me ?
Thank you
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
|
Hi,
I am using .net 2.0 and sql server 2005. I have added the assemblies like
Microsoft.SqlServer;
Microsoft.SqlServer.Management.Common;
Microsoft.SqlServer.Management.Smo;
in my project. But that project is not running in sql server 2000. It needs those dlls. In my project there is no dll files in the bin folder. Please help me to rectify this error.
Thanks.
|
|
|
|
|
What is the error message that u r getting?
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
I think that the assemblies you probably need are System.Data & System.Data.SqlClient. What are the items you have referenced for?
|
|
|
|
|
The assemblies OP mentioned comes with SMO (SQL server management objects) class library.
|
|
|
|
|
Hi,
I am getting the following error :
Could not load file or assembly 'Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
If sqlserver 2000 is installed in a system instead of sqlserver2005, I can' locate the SMO reference. The references I added are
Microsoft.sqlserver.connectioninfo
Microsoft.sqlserver.smo
Microsoft.sqlserver.smoenum
Microsoft.sqlserver.sqlenum
If we add these references, is any dll files will be created in the bin folder or we have to explicitly copy this dll to the bin folder?
|
|
|
|
|
Do you have SMO[^] libraries available?
|
|
|
|
|
Hi,
I have SMO libraries in SQL SERVER 2005.
|
|
|
|
|
Problem while porting vb 6.0 webclass to Asp.net 2005.
API Call to kernel32.dll function in vb 6.0 webclass
creates problem while importing to Asp.net 2005 with VB.net
Sam
|
|
|
|