|
raed wrote:
is this possible with div.
AFIK, no; DIV is a formatting element, not a user input. Use a TextBox control with the TextBoxMode property set to MultiLine and Wrap set to True. Set the Rows property to the number of lines you want displayed at one time, MaxLength to the maximum character count.
"If it's Snowbird season, why can't we shoot them?" - Overheard in a bar in Bullhead City
|
|
|
|
|
Hi,
I'm trying to respond to events fired from an ActiveX control embedded in an ASP.NET webform using client side script. I can successfully do this on a standard html page served from the same web site but when I transfer my script into my webform html it does not respond to the event. This is what my my test html page looks like...
<HTML>
<HEAD>
<TITLE>ATL 3.0 test page for object GWUPload</TITLE>
</HEAD>
<BODY>
<script Language="VBScript">
<!--
Sub GWUPload_PropertyChange()
MsgBox(GWUPload.FilePath)
end sub
-->
</script>
<OBJECT ID="GWUPload" width=100% CLASSID="CLSID:2CB1B6F7-A2FB-4D97-96EF-2FD3CF6CC4D9"></OBJECT>
</BODY>
</HTML>
I've also read "HOW TO: Host ActiveX Controls in a Web Form" on MSDN and tried the Javascript version without success. I've checked all my local security settings and made sure IE will allow ActiveX to interact with scripts (my tests are all on localhost).
The ActiveX control is one of mine but the fact that I can trap the event on a standard HTML page makes me think the problem is in my ASP.NET code.
Any ideas will be appreciated.
Thanks,
Meninga
|
|
|
|
|
I have hex value of unicode character. How to add character to string? I mean like "'\x65'123". How to use hex value to access character i VC++?
|
|
|
|
|
([0-9]|[0-9]{2}), (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) - (\d{2})
I'm using this regex to match trivial dates.
However
A12, Jan, 05 is matching...
Why is this happening...shouldn't the A12 fart and stop...
I thought the above would only match 12 and choke with the presence of an alpha character...???
What am I doing wrong...?
|
|
|
|
|
Don't you need the start of line anchor?
"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Neils Bohr
|
|
|
|
|
I updated to serve pack 2 on windows and now I cannot create a new web project of any kind. I get a server 500 error. I have tried searching msdn for this with no luck. I suspect it is security settings on IIs but anything I try doesn't help. I have also reinstalled all programs. Can anyone help.
|
|
|
|
|
Uninstall the sp2 it does all of this and more and also Norton security can do and some of the antivirus programs
ByMindOnlyYouCanDoIt
|
|
|
|
|
Hi,
This link http://juicystudio.com/tutorial/php shows that how XML file can be read using PHP.
My questions is :
What is use of this technique as I think that XML file can not be generated dyanamically and if it can be generated that way then what about MYSQL?
I am not saying that this technique is useless, what I am asking is the use of this technique which I do not know?
Also,
Can you put me on the track for understanding and creating web services? I have gone through w3schools tutorials about SOAP but with that I could not write any web services.
When I google for web services there are lot of tutorials.
There are SOAP,REST etc don't know what they are.
I want to use PHP for web services.
Please help
Ranjan
|
|
|
|
|
i prefer using PHP/MySQL for my Web Service
|
|
|
|
|
How can i format datagrid.
i wants to display 5 records per page but if there is only 1 record for display than datagrid consumes same space as previously for 5 records. it looks very bed. how can i eliminate the same.
1
2
3
4
5
page 1.2.3
if there is 1 record than it looks like:
1
page1.2.3
how can i display it in proper format
|
|
|
|
|
What I would do is count the number of records I received, subtract from the number of lines I want, and make that the number of blank lines the page needs to create after the last response.
5 total lines - 1 response = 4 blank lines
5 total lines - 5 responses = 0 blank lines
etc.
Just statically set the number of total lines to the ammount of space you want to take up.
|
|
|
|
|
I've tried the following:
window.event.preventDefault();
Directly inside the onkeydown handler and no beans...???
I've tried event.preventDefault() and everything else...
Does firefox not support event cancelling in onkeydown or what the heck am I doing wrong???
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
i'm no javascripty, but what about onkeydown="return false;" ? i thought that was the way to cancel an event...
--
Raoul Snyman
Saturn Laboratories
e-mail: raoul.snyman@saturnlaboratories.co.za
web: http://www.saturnlaboratories.co.za/
blog: http://blog.saturnlaboratories.co.za/
linux user: #333298
|
|
|
|
|
no
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Hello to all the web dev masters here.
Am looking for web interface for a proxy server and firewall. Any great off the shelf components/softwares or open source solutions to recommend which offer most of the UI and functions that I need to kick start?
thank you.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
is your server running windows or linux? i know that there is a really nice admin interface for linux machines called webmin. it works like a charm... otherwise, go and have a look at SourceForge.net[^] or Freshmeat (not sure of the url...)
--
Raoul Snyman
Saturn Laboratories
e-mail: raoul.snyman@saturnlaboratories.co.za
web: http://www.saturnlaboratories.co.za/
blog: http://blog.saturnlaboratories.co.za/
linux user: #333298
|
|
|
|
|
raouls wrote:
is your server running windows or linux? i know that there is a really nice admin interface for linux machines called webmin. it works like a charm... otherwise, go and have a look at SourceForge.net[^] or Freshmeat (not sure of the url...)
Windows based. Any good recommendations?
Possibly something that can be extended. Not really necessary to be free, I don't mind paying for a good one.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
Anthony_Yio wrote:
Windows based. Any good recommendations?
unfortunately not, i run linux servers...
have you tried sourceforge.net? that has a large number of projects. go to the software map, and filter on windows. also just try punching some keywords into google i guess.
the other question is: what proxy server are you running?
one other problem i can think of is that most windows apps store their settings in the registry, and most web scripting languages don't have access to the registry. you'd probably have to look for an ASP.NET solution...
--
Raoul Snyman
Saturn Laboratories
e-mail: raoul.snyman@saturnlaboratories.co.za
web: http://www.saturnlaboratories.co.za/
blog: http://blog.saturnlaboratories.co.za/
linux user: #333298
|
|
|
|
|
Hi All!
My company has a requirement, wherein we need to develop a web server which could server data to its clients in "real-time". For example, I need to create a web page for real time stock quotes, which is automatically updated as and when the quotes change. Can the server be designed such that it sends automatic updates to the client as and when the data changes, or does the client have to make an explicit "refresh"?
Since I am new to web development, could you please guide me about which tools/technologies can I best use for this purpose.
Thanks,
Krishnan
|
|
|
|
|
The server does not keep track of the user that makes the request. Since HTTP is stateless (make the request, get data back), it's nearly imposible to do it. The client will have to 'refresh' itself on an interval basis to pull back the latest data.
If the client is a web browser, you could implement some JavaScript that posts back to the server every couple seconds.
~Javier Lozano
(blog)
|
|
|
|
|
Your other option could be to implement the attritbute in your HTML page. THis will however cause the page to automatically refresh on the server every 5 seconds.
Vivek Sharma
|
|
|
|
|
The problem with doing it throught a web page, as the other responses have mentioned, is that a web server does not constantly talk back and forth with the client. It only offers the info once.
A better way to do what you want to do is via a java app. You could have a client app embedded in a web page so that your customers could still use their browser, but then you would have another server app on your side which stays connected to the client java app, constantly offering the latest data.
|
|
|
|
|
Thanks for the suggestions.
But, having an embedded Java app or an ActiveX requires that my customers have them pre-installed or that they are automatically downloaded and installed on his computer. Even though I would not prefer such a method, I am still open to it, as I feel it is better than the client doing a periodic refresh.
However, will this solution work for browsers running on embedded platforms like, mobile phones, PDAs, etc.?
Thanks,
Krishnan
|
|
|
|
|
Why don't you use iframes.
when user complete the action on that event pass the parameter to iframe which call the another page and on that page you can write the code of save. it will refresh only iframe not the whole page. with the help of iframe you can do easly update and client page cannot be refresh only iframe will refresh for that particular task of saving
first make a page and onload of this page write the code for saving perticular data to database and the saving code will be the parameter that u pass to tha iframe which call the page of saving.
and in iframe just give source of that page with passing parameter.
that time only iframe will refresh and your saving page do the task of saving and client can do his work without whole page loading.
If u understand this then ok or mail me i will send u whole code of iframe how they work and how they usefull when u dont want to load or refresh whole page.
(Hemant U. Mane)
|
|
|
|
|
hello,can someone show me how to develop the slide menu using html in vb.net?
besah
|
|
|
|