|
In my ASP.NET application I have an asp:image and I want OnMouseOver() handle for it but I can't find it.Is that possible for this control?
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
OnMouseover and the like are client side. You can always add the attribute and provide the JavaScript to handle it.
|
|
|
|
|
Thank ou for your reply.
Mark Nischalke wrote:
You can always add the attribute and provide the JavaScript to handle it.
Could you please give me more details about it?
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
<asp:image runat=server onmouseover='YourFunctionHere()'>
Provide the JavaScript function in a script block, or inline it, and your set. Just because the attribute doesn't show up doesn't stop you from adding it.
|
|
|
|
|
Thank you.
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
I´m trying to run ASP.NET pages on my server but it´s not working. Even if I created a new project with VS.NET when I execute a page I receive this message:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the system event log of the web server. Please review this log entry to discover what caused this error to occur.
I checked the Event View and found this two entrys:
Entry 1:aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.
Entry 2:aspnet_wp.exe could not be started. HRESULT for the failure: 80004005
Anyone know what is causing this and how can I solve it !?
Thanks
Mauricio Ritter - Brazil
Sonorking now: 100.13560 Trank
I've gone sending to outer space, to find another race
|
|
|
|
|
Solved. Hadto do some changes on my machine.config.
Mauricio Ritter - Brazil
Sonorking now: 100.13560 Trank
I've gone sending to outer space, to find another race
|
|
|
|
|
I use html and javascript.
I have three image.I want when the mouse go over the first image third image load on the second one and when mouse go out of it again second image became visible. Clear?
How can I acheive it?
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
onmouseover{ img2.src = "image3"; }
onmouseout{ img2.src = "image2"; }
Assuming the images are next to each other this will give the appearance that image2 is replaced by image3 on the mouseover and is replaced on the mouse out
onmouseover{ img2.style.display = none; }
onmouseout{ img2.style.display = block; }
|
|
|
|
|
Hi all,
I have been working with a webcontrol that will render a IFRAME,
so I can copy/paste html code into it. So far I can do exactly that but
I can't read the contents from the IFRAME. Can anybody help?! Here is my
render code:
protected override void Render(HtmlTextWriter output)
{
output.Write( "" );
output.Write( "function document.onreadystatechange()" );
output.Write( "{" );
output.Write( "idContent.document.designMode='On'" );
output.Write( "}" );
output.Write( "" );
output.Write( "" );
}
how do I read the contents of the IFRAME?!
Peter Marino
PS: I have used almost a whole month on this problem!! all my hair is gray now!
Peter Marino
IO Interactive
|
|
|
|
|
come on somebody help me!
Peter Marino
IO Interactive
|
|
|
|
|
Has anyone come across this before. I have a page that has a simple button on it that when clicked sends the user to another page.
Response.Redirect("nextpage.aspx");
On a PC everything is fine. On a Mac only Netscape works properly. In IE the page goes blank and when I view source the header says it is the page I want but the body is completely empty. If I navigate to the page directly from the navbar everything is fine.
|
|
|
|
|
FYI for anyone interested.
The problem was the SmartNavigation directive on the destination page. Documentation says it is for IE 5 and above but I guess that doesn't mean Mac IE 5 and above. Curious that it worked on Netscape 4.7. Even more curious that the page could be navigated to directly but not redirected.
|
|
|
|
|
Hi,
I have an ActiveX Control which fetches a file
from a remote machine (basically a JPG file)
Now is there any way i can show that JPG file on
the webpage w/o storing it on local disk.. or
can anybody give me some hints on how to
show a file which is returned by my ActiveX
Control Function
Sameer
|
|
|
|
|
The first idea that comes to mind is to create a user control that reads the file into memory and outputs it to the buffer. There are a couple of examples around here.
|
|
|
|
|
How do you associate an icon with a web page? They do it on this website. In my Internet Explorer the little Code Project guy show in the address bar next the the page address. And the icon is associated with the link in my favorites menu. How do they do that?
Jonathan Craig
www.mcw-tech.com
|
|
|
|
|
It's easy, there is an article on how to do this by our fearless leader.
Here You Go.
Jason Jystad
|
|
|
|
|
That's easy enough... Thanks for the redirect.
Jonathan Craig
www.mcw-tech.com
|
|
|
|
|
No sweat. Happy to help, that's one of the reasons I lurk around here.
Jason Jystad
|
|
|
|
|
Does anyone know how to set a charts dimmensions to -10 to 10 in both X and Y directions? I have only been able to set the Y direction to -10 to 10. Thanks in advance. I hate OWC for this, it is so damn annoying.
Nick Parker
Actually, real programmers don't need the enter key- they just type in 00001101."
|
|
|
|
|
Hi there,
I have a problem of using LEFT function in my one of my ASP pages. I have a situation of searching the database using 5 fields and got to page the results. i am fine with paging when all fields are null. But to page results when one field is selected i used LEFT function in my database searching query. I am putting the code down here for better understanding.
if (res_name1="") and (bmdcode1="") and (asmcode1="") and (product_type1="") and (part_model1)="" then
search_query="select * from redcrs_mail"
Response.Write (search_query & " ")
else
search_query = "select * from redcrs_mail where"
if res_name1<>"" then
search_query = search_query & " res_name = '" & res_name1 & "' & and "
end if
if bmdcode1<>"" then
search_query = search_query & " bmdcode = '" & bmdcode1 & "'& and "
end if
if asmcode1<>"" then
search_query = search_query & " asmcode = '" & asmcode1 & "'& and "
end if
if product_type1<>"" then
search_query = search_query & " product_type = '" & product_type1 & "'& and "
end if
if part_model1<>"" then
search_query = search_query & " part_model = '" & part_model1 & "'& and "
end if
search_query = left(search_query,len(search_query)-6)
end if
search_query = left(search_query,len(search_query)-6)
I am trying to use the above line to suppress the 'and' word that appears at the end of the search_query string. But it says SQL statement not properly ended when i execute the page.
Any help would be appreciated.
thanks in advance.
dev movva
|
|
|
|
|
Well, it was better if you provide the final SQL statement that fails. But here is my thought.
What you mean by using "&" in your SQL statement? See, you are adding such thing:
part_model1 & "'<font color=red>&</font> and '"
I highlighted it in red. This shouldn't be in your SQL statment. "AND" enough
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
Need Web-based database administrator? You already have it!
|
|
|
|
|
Thanks
|
|
|
|
|
There is some version of ASP for Apache servers, but can't remember the link
Try to search on net (google.com for example)
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
Need Web-based database administrator? You already have it!
|
|
|
|
|
You will have to get a third party product, check out ChiliSoft ASP.
HTH
Nick Parker
Actually, real programmers don't need the enter key- they just type in 00001101."
|
|
|
|