|
Hello
i make an web site and make on it search engine local to my web site
and it work god in the localhost
but wen i do it over the internet
an error happen
i think the erro in this code
<br />
public Search(string URL)<br />
{<br />
<br />
string[] SplitWebSitePath = System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase.ToString().Split('/');<br />
for (int i = 3; i < SplitWebSitePath.Length-2; i++)<br />
{<br />
if (this._WebSitePath == string.Empty)<br />
{<br />
this._WebSitePath = SplitWebSitePath[i];<br />
}<br />
else<br />
{<br />
this._WebSitePath = this._WebSitePath + "\\" + SplitWebSitePath[i];<br />
}<br />
}<br />
int ha= URL.IndexOf(SplitWebSitePath[SplitWebSitePath.Length-3]);<br />
this._URL = URL.Substring(0, ha ) + SplitWebSitePath[SplitWebSitePath.Length - 3] + "/";<br />
WebSiteFiles.Columns.Add("HeadLine");<br />
WebSiteFiles.Columns.Add("Content");<br />
WebSiteFiles.Columns.Add("URL");<br />
}
another problem
in the same project
when i open it on firefox explorer
the menu hiden behind the fash
how can i fix it
it work god in microsoft internet explorer
and thanks
|
|
|
|
|
|
If Vas response doesnt work can you post the error message for the code
|
|
|
|
|
You ought to have posted this reply to him.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
|
please Enter www.gkc-jo.com
Home page
there are an error in the firefox
in tab control and in the news
thank you for the help in the menu problem
|
|
|
|
|
can you post the error message and example code it is pointing at
|
|
|
|
|
Something that's been bugging me for just over a day now....
For some mystically strange reason, I am UNABLE to get 2 panels on a single page to sit side by side...
I'm not NEW to ASP.NET (In the sense I've been coding in it for 2 years... Which MIGHT seem like "new" to the people who've been coding for the past 700 years, starting when Binary was new, but you get the idea )
Either my Visual Studio 2008 Pro is broken, or my resolution is too high, or my mouse isn't dragging properly, or something....
These 2 panels REFUSE to sit next to each other!!!
Text Illustration:
Panel 1 Panel 2
+-----+ +-----+
| | | |
| | | |
| | | |
+-----+ +-----+
Hope those (Rather crudely "drawn") illustrations got my query across
- Reelix
-= Reelix =-
|
|
|
|
|
is there any problem to doing in this way ?
<table style="height: 40px"><br />
<tr><br />
<td style="width: 100px; height: 45px"><br />
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px"><br />
</asp:Panel><br />
</td><br />
<td style="width: 100px; height: 45px"><br />
<asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px"><br />
</asp:Panel><br />
</td><br />
</tr><br />
</table>
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
Rows in a Table?
*Congrats*
Impressive
Thanks alot!!!
(5 Rating for that one!)
-= Reelix =-
|
|
|
|
|
Thanks !!!
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
I want to create the web setup of my asp.net project , contains the asp.net platform , language - c# and crystal reports.I DON'T WANT TO INCLUDE THE CODE FILES
can somebody refer me a path to do it.
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
|
halo..
I want to send email to my account but this program run twice. So,after click on submit button, 2 same mails send to my account.How this could happen?
Thanks.
<code><small>Imports System.Net.Mail
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
Try
Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(message)
litStatus.Text = "Message Sent"
Catch ex As Exception
litStatus.Text = ex.ToString()
End Try
End Sub
|
|
|
|
|
There seems to be nothing wrong with the code above.
Can you check it with another e-mail address, plus possible post anymore code you have for that page
cheers
|
|
|
|
|
hi,
put your code within the
If Not IsPostBack Then
Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(message)
litStatus.Text = "Message Sent"
END IF
hope this helps...
|
|
|
|
|
There are two pages , one is login page(aspx) and another is html page . i want to get login page desing into html page at runtime using Ajax is there any option to do that.
|
|
|
|
|
There's no built in option to do anything, you need to write code. Not sure what you want exactly, you want to download HTML using AJAX and inject it into your login page ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
download aspx content and inject into html page
|
|
|
|
|
That is what is being classified as 'Wierd'. You might run into Scripting Errors when the XmlHttp fails due to any errors on the server.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
OK - so you want to make a basic AJAX call, and inject the result into your page ? Not using theh ASP.NET AJAX library, as you call an ASPX but run it in a straight HTML page ?
I guess you'll get your HTML as the string coming back from the AJAX call, and then you can just use document.getElementById to get a div or something in your page and set it's content to be the HTML.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
prabumjkaran wrote: get login page desing into html page at runtime using Ajax
Weird. I would suggest you can have a simple login link and when you click popup a small DIV to get the username and password. Submit these through AJAX and based on the response either redirect the user or halt on the same page till further retries are exhausted by the user.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hello frnds,
i have a web cam connected to machine. i want to develope a web site which shows the picture from web cam and on click of grab frame it will save a still from web cam.
any idea ???? code sample ????
pls. help....thankx in advance
Koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
CAn't do it. ASP.NET generates javascript and HTML and neither can do that. A .NET or ActiveX control may be able to, and a website can host tat, but it won't really involve ASP.NET
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thankx a lot....
any example ?????
Koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|