|
Hey Ben,
You got to understand that Web Services are specialiazed Web Application than needs to be hosted ans should have an address to be called by the client in order to get access of the Web Methods.
|
|
|
|
|
I am trying to add an accordion control to one of my pages.
Following is the code:
<asp:scriptmanager id="ScriptManager1" runat="server">
<cc1:accordion id="Accordion1" runat="server">
<panes>
<cc1:accordionpane id="AccordionPane1" runat="server">
but I am getting this error:
An unhandled exeception has occurred.
Collection was modified; enumeration operation may not execute
Searched on this error but no results seemed to pertain to my problem. Can someone tell me what I have done wrong?
Thanks
Lonnie
Lonnie R Thomas
|
|
|
|
|
|
thank you very much for your answer
Lonnie R Thomas
|
|
|
|
|
<iframe>
This in an HTML Code.How to write this code in php ?
|
|
|
|
|
you use php to write html. so it's no different. you can however enclose it in quotes. so:
<iframe frameborder=0 src="http://www.gmodules.com/ig/ifr?url=http://raja.com/ig/ab.xml&up_k1=&&up_k2=&up_k3=&up_k4=&up_k5=&up_k6=&up_k7=&up_k8=&up_k9=&up_k10=&up_interval=60&synd=open&w=400&h=50&title=&border=%23ffffff%7C3px%2C1px+solid+%23999999&" width=412 height=60;><iframe>
is the same as:
<?php
echo "<iframe frameborder=0 src=\"http://www.gmodules.com/ig/ifr?url=http://raja.com/ig/ab.xml&up_k1=&&up_k2=&up_k3=&up_k4=&up_k5=&up_k6=&up_k7=&up_k8=&up_k9=&up_k10=&up_interval=60&synd=open&w=400&h=50&title=&border=%23ffffff%7C3px%2C1px+solid+%23999999&\" width=412 height=60;><iframe>";
?>
note the escape character "\" before quotes within the statement.
|
|
|
|
|
oh and there is a php forum on this site
|
|
|
|
|
In a developer thread on SVG the topic of high lighting text came up. I offered the YUV luminosity transform method. What is the best approach?
JavaScript Hight Light Test[^]
|
|
|
|
|
How to create .txt file in web server. I want to read text file form other website and write it in my web server which can also update data after some time.In which programing language i can make this i don't want to use php.Please help me you all can.
Thank You
|
|
|
|
|
udch wrote: I want to read text file form other website and write it in my web server which can also update data after some time.
You want to read content from some other site and want to save it in your web server as text file. Am I correcct?
|
|
|
|
|
php asp with c# or vb. perl. lots of possiblities - depends what you like best.
|
|
|
|
|
I have 3 pages
1.personal.html
2.work.html
3.others.html
In this 3 pages i want to collect all informations(like the data in the textboxes, etc ) and want to display all the information @ 4th page which is called tota1.html
so can you help me with that?
|
|
|
|
|
yeah you can put the data in forms
Your 3 webpages will have something like:
<form1 method="post" action="tota1.php">
<input type="text" name="mytextbox" />
<inout type="submit" />
To retrieve the posted data you need to use a server side language (PHP or ASP).
To do this in PHP:
Tota1.php: <---------- (note php -you can make php interpret html, but for now this is easier)
<?php
$myvar = $_POST['mytextbox'];
echo $myvar;
?>
That should display posted data.
You may also want to research the following:
PHP and MySQL or ASP and MSSQL
or if you dont have a Database:
Writing to "Flat Files"
|
|
|
|
|
hey dude ... i will try that ...... but as you said if there are 2 text boxes which has the same name in different html pages .... how can you work with that??
any ways I will reply tomorrow ....
Thank you
|
|
|
|
|
you could use a hidden input
persona.php:
work.php:
others.php:
And then in
tota1.php:
Obviously each page needs a form (except the tota1.php) that has method="post" and action="tota1.php"
for more info on php see:
www.w3schools.com[^]
www.tizag.com[^]
|
|
|
|
|
I need the code of redirect page when session expired or user will be idle for some time.
Thanks in advance.
|
|
|
|
|
Well, that's obviously impossible to time directly, but you can put a timer to redirect in your page.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
what language are you using?
|
|
|
|
|
|
|
How to handle responses in the specified callbackurl that is sent in the SOAP request in asp.net?
|
|
|
|
|
how do you get to the templates in VWD 2008 express?
In 2005 it is layout>insert table...dialog box choose template.
In 2008 there is the table>insert table but no option for templates.
Does 2008 even have templates?
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
Below is a section of a web page I am in the midst of writing.
What I require is a simple "Click the Send Button" and the information entered into the textboxes and selected from the comboboxes is immediately sent to an email account.
What is happening is that it is going to outlook and requesting a second request to hit send.
IE the information is being picked up, but instead of being sent in the background as it were, it is then forming a "New Mail" page and requesting me to press send again.
How do I avoid this, and let it send automatically?
Thanks in advance for any pointers.
<form method="post" enctype="text/plain" action='mailto:SOMEBODY@SOMECOMPANY.co.uk'>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><input
style="background-color: #FFFFCC; text-align: left;" type="text" size="60"
name="Customer Name :" value="Name" /><input
style="background-color: #FFFFCC; text-align: left; width: 202px; margin-left: 42px;"
type="text" size="60" name="Customer Name :" value="Tel No." /></p>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; height: 12px; width: 655px;"> </p>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">Tell us what you are looking for, we
can search our records to match you with the house you want!</p>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"> </p>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
<select id="Select1" name="Location">
<option value="Bletchley">Bletchley</option>
<option value="Milton Keynes">Milton Keynes</option>
<option value="Watford">Watford</option>
<option value="Flitwick">Flitwick</option>
<option value="Harlington">Harlington</option>
<option value="Buckingham">Buckingham</option>
</select><select id="Select2" name="No of Beds">
<option value="1 Bed">1 Bed</option>
<option value="2 Bed">2 Bed</option>
<option value="3 Bed">3 Bed</option>
<option value="4 Bed">4 Bed</option>
<option value="5 Bed">5 Bed</option>
</select><select id="Select3" name="House Type">
<option value="Apartment">Apartment</option>
<option value="Maisonette">Maisonette</option>
<option value="Terraced">Terraced</option>
<option value="Semi-Detached">Semi-Detached</option>
<option value="Detached">Detached</option>
<option value="Executive">Executive</option>
</select></p>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; height: 9px;"> </p>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">Finally, Your Email Address...</p>
<p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
<input style="background-color: #FFFFCC" type="text" size="60" name="Customer Email Address :" />
<input id="Button1" type="submit" value="Submit" /></p>
<p align="center">Press the Submit Button and we will contact you shortly with
details, prices etc.</p>
</form>
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
I use code-behind to do my sending of email.
Check this out ...
Imports System.Net.Mail
Private Sub MailIt(ByVal toUser As String, ByVal fromUser As String, ByVal subj As String, ByVal sBody As String)
Try
Dim mm As New MailMessage(fromUser, toUser)
mm.Subject = subj
mm.Body = sBody
mm.IsBodyHtml = True
' Create the SmtpClient object
Dim smtp As New SmtpClient
' Send the MailMessage (will use the Web.config settings)
smtp.Send(mm)
Catch ex As Exception
'logMessage("dave", ex.Message.ToString)
End Try
End Sub
|
|
|
|
|
How do I call this?
Write it as a piece of vb.net and save to webspace, then on Input Button1 command I do something?
(Sorry to be so ignorant of this)
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|