|
Another one of those kind who like to cross post crap, not say thanks when given a good answer, down votes folks who call them on the spot for their actions
Just mark them as Abuse, if you haven't already.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi everyone!
I am experimenting with a rich text editor by using the contentEditable feature of HTML. I have the basic editor working, but I have run into a serious issue in FireFox. When you hit the return key, a second element of the same type is created...which is good. BUT If the element which was being typed in had an ID attribute, that ID gets duplicated into the new element. In fact, all attributes get duplicated into the new element.
Does anybody know how I can disable this default behavior? Or at least with regards to custom attributes?
If only there were some way to manually determine how elements are created...
Many thanks,
Lea Hayes
|
|
|
|
|
Hi
Developing a online web application ,In this i develop a registration module for consultant.the consultant are able to see this page
The site has to check what consultant is seeing the page
IT displays the consultant seeing (information)the page
(Using active directory information )
Please suggest me what is Active Directory Information & How to do it?
|
|
|
|
|
I have a working C# program. It's a gui that lets me access my parallel port. I would like to be able to convert it into a web page now. I've tried the copy past and start debugging approach. I think it's over my head.
I would like to know where to go or who to contact to have a pro work on it. I am willing to pay a programmer for a few hours of thier time. I will provide my working program and I can pay with paypal. Can someone please advise.
|
|
|
|
|
Please don't cross post.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
I think www.rentacoder.com is the right site for this problem.
Regards
Sebastian
|
|
|
|
|
This forum is for technical troubleshooting in 'Web Development' area. You possibly knocked the wrong door.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Hi All,
I have an ActiveX control hosted in a web page (<object> used). The problem is that when I scroll the page down or up the page is distorted by the control; seems a redraw issue in IE. Note that control is written in C++/ATL and uses double buffered OpenGL rendering. However, when I turn off double buffer feature from the control, the page is not getting distorted when it is being scrolled.
But I have to keep double buffering. So I think there should be some javascript magic to force the screen redraw (but not reload). So far I can handle window.scroll event, but I don't know which function will force the window to redraw itself.
If you could help I'd be very grateful.
Thanks!
--
Arman
|
|
|
|
|
Hi everyone,
I have some web services set up in IIS on Windows 2003 server. I am able to get to the test page by putting the servername in the URL but not if I use localhost. I have had the same problem with websites. Why would localhost not work? The ip address is listed correctly in the hosts file. The servers are always virtual machines (Virtual Server R2 or HyperV). Is there something different I have to do because it's a virtual machine?
Thanks for any ideas!
|
|
|
|
|
I have a gridview that row's cells contain textboxes. Currently, I highlite the row, in yellow using javascript, by changing the backgroundColor of each of the rows cell's textboxes. To set the backgroundColor I use the .childNode[0].style.backgroundColor = 'Yellow', see code below:
gridViewCtl.rows[index].cells[i].childNodes[0].style.backgroundColor = 'Yellow';
Now, I have a set of css files defined and would like to use a color defined in my css. Does anyone know how this can be done?
Thanks,
Steve
|
|
|
|
|
Don't cross-post - it's bad forum etiquette
|
|
|
|
|
Sorry, I thought I placed it in the wrong forum but will not do it again.
|
|
|
|
|
Specify a class in the css, and use the className attribute in Javascript to set the class of the rows or the class of an element containing the rows.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi you can make use of this piece of code
gridViewCtl.rows[index].cells[i].childNodes[0].className = 'your_class_name';
Hope this helps.
Regards,
Vengat P
|
|
|
|
|
I have been trying to add a javascript function to display information when there is a moveover a grid, and i want the message to disapear on its own after a (reasonably)short time, say a message that just say "use ctr + shift to select multi rows", but i cant seem to find this info, does anyone know how to do it or where to find info on how to do it.
|
|
|
|
|
i observe gmail,yahoomail.. these are same in any resolution
how to is possible using table tags.....
Best Regards
Rajesh Kumar Chekuri
www.rajeshchekuri.co.cc
|
|
|
|
|
Instead of specifying fixed widths in pixels, use percentages or ems.
|
|
|
|
|
But problem is with images...
Best Regards
Rajesh Kumar Chekuri
www.rajeshchekuri.co.cc
|
|
|
|
|
Gmail and yahoo don't resize images.
|
|
|
|
|
Hi all
Can you please tell me what is the default timeout period for session and db connection.
siri
|
|
|
|
|
Depends on your webserver/DB...
|
|
|
|
|
default timeout period for session 20 mint
if u want change
Session.Timeout = 60
Best Regards
Rajesh Kumar Chekuri
www.rajeshchekuri.co.cc
|
|
|
|
|
I am using VB.NET.
I am new to web services, and have been given the instruction that I am to send an XML document via HTTPS POST and receive a response XML document. The web service address I have been given has no ASMX file, WSDL file or DISCO, so from what I can gather I cannot use dot.NET's built in web service controls. The address I have been given to post these calls to, is in is the following format:
https://www.server.com/WebService
(I have replaced the real server name)
I swear I have read the entire internet on the topic.
I have a couple of questions
1) can it be done with a web service address formatted such as the above (no ASMX WSDL)?? (I presume it must)
2) Are any of the approaches I have attempted below valid / should work?
3) I keep receiving an error "unable to connect to the remote server", are my issues all their fault? (I doubt it) and if not, what am I doing wrong? How can I do this?
Approaches I have tried include:
(don't get too caught up with the fact some are incomplete or some of the data or calls look silly, I'm really trying to illustrate the techniques that have failed)
Dim oRequest As HttpWebRequest = WebRequest.Create("https://www.server.com/WebService")
Dim oStream As Stream = oRequest.GetRequestStream
Dim oXML As Xml.XmlTextWriter = New Xml.XmlTextWriter(oStream, Encoding.GetEncoding("UTF-8"))
address = New Uri("https://www.server.com/WebService")
request = DirectCast(WebRequest.Create(address), HttpWebRequest)
request.Method = "POST"
request.ContentType = "application/x-www-form-urlencoded"
<WebServiceBinding("SomeBindingName", "SomeBindingNS")> _
Public Class CustomProxy
Inherits SoapHttpClientProtocol
<SoapRpcMethod(Action:="urn:AstroIntf-IAstro#GetSunriseInfo", RequestNamespace:="run:AstroIntf-IAstro")> _
Public Function GetSunriseInfo(ByVal Latitude As Double, ByVal Longitude As Double, _
ByVal Year As Integer, ByVal Month As Integer, ByVal Day As Integer, _
ByVal TimeBiasMinutes As Integer) As String
Me.Url = "https://www.server.com/WebService"
Dim ret() As Object
ret = Me.Invoke("GetSunriseInfo", _
New Object() _
{Latitude, Longitude, Year, Month, Day, TimeBiasMinutes})
Return CType(ret(0), String)
End Function
End Class
Dim oClient As New WebClient
Dim oStream As Stream = oClient.OpenWrite("https://www.server.com/WebService", "POST")
Dim oWriter As StreamWriter = New StreamWriter(oStream)
oWriter.WriteLine("Hello world")
oWriter.Close()
and good old fashioned html:
<form target="_blank" action='http://www.server.com/WebService' method="POST">
<table>
<tr>
<td>Enter something:</td>
<td><input type="text" size="30" name="test1" /></td>
</tr>
<tr>
<td></td>
<td align="right"> <input type="submit" value="Submit" /></td>
</tr>
</table>
</form>
|
|
|
|
|
I have a gridview that rows cell's contain a textbox each. In javascript I am trying to set the backgroundColor of one of the textboxes. In the javascript I am able to access the cell itself, see below:
gridViewCtl.rows[1].cells[1]
However, I don't know how to access the textbox that cells[1] contains to set its backgroundColor. Can anyone help?
Thanks,
Steve
|
|
|
|
|
This may not be the best way of doing it; however, it is working for me. See below:
gridViewCtl.rows[1].cells[i].childNodes[0].style.backgroundColor = '#ff0022';
If anyone has a better technique or knows how to do it using css, please let me know.
Thanks,
Steve
|
|
|
|