|
|
I've had enough hell doing this for my websites. I hate CSS
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 )
|
|
|
|
|
You are typically running into a cross-browser compatible stylesheet issue.
ALT + F4 wrote: Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
I believe you are trying to support 'Smart Working' philosophy instead of 'Hard Working'.
ALT + F4 wrote: ALT + F4
If a little research to cross browser compatibility does not work, your nick name is also an alternative solution which can be applied to the browser window.
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
|
|
|
|
|
my nick name not only works for browsers ..it also works for humans.....joking
i am new to asp.net yaar ...try to understand and give smart answers ...
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
ALT + F4 wrote: i am new to asp.net yaar ...try to understand and give smart answers ...
Nothing to hurt. It was just to be a bit humourous.
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,
After achievement of my asp.net project in my localhost PC, i need to put it in the internet.Do someone help how to make that and what are the steps for doing that.
thanks regards
Best regards
dghdfghdfghdfghdgh
|
|
|
|
|
|
ellllllllie wrote: i need to put it in the internet
love the wording!
You need a web server to put your website on
A registered URL for so people can type in an address and find it.
Lots of companies provide website hosting and also good deals on buying a domain name
|
|
|
|
|
.netman wrote: You need a web server to put your website on
A registered URL for so people can type in an address and find it.
Lots of companies provide website hosting and also good deals on buying a domain name
Aren't these responsibilities of a system administration team? As a developer, the focus should be between BOX (LOCAL) to BOX (ON THE INTERNET). What do you say?
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
|
|
|
|
|
Vasudevan Deepak K wrote: Aren't these responsibilities of a system administration team?
Yeah that is a good point, although in a small company or even if this person is freelance then the responsibility falls on them to choose server, domain name etc.
The article you pointed them to was useful though.
Another point to add is that you will need a suitable FTP to upload the project to the server
|
|
|
|
|
.netman wrote: suitable FTP
That is correct. Alternate modes are FrontPage, WebDAV. I admit these are a little vulnerable and need to protected with additional permissions. I prefer Leech FTP. It is no more supported by the author but you can grab a download easily from many websites. It is multi-threaded, password protection on batch operations and many more.
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
|
|
|
|
|
I prefer Smart FTP client to use
Although if I had Dreamweaver I would use that
|
|
|
|
|
I tried it too. The menu theming and everything is excellent. The only difficulty I feel is that the screen real estate is too cluttered.
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
|
|
|
|
|
I'm busy coding a page to get assorted statistics from different places, and displaying them in an easy-to-read format...
My question is this:
Is it possible to get the Source of a website?
Not the Source-Code, as such, but just the raw data?
Maybe something like....
StreamReader sr = new StreamReader("http://www.codeproject.com/");
string theText = sr.ReadToEnd();
textBox1.Text += theText;
Result:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CodeProject. Free source code and programming help</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<meta name="Description" content="Free source code and tutorials for Software developers and Architects." >
<meta name="Keywords" content="Free source code, tutorials" >
.
.
.
</body>
</html>
Any suggestions?
- Reelix
|
|
|
|
|
You can get the source of any page by using a the HTTP methods in a winforms app. You can't do it using ASP.NET. This is different from the actual source that runs the site, obviously, it's the HTML that is generated on a particular day.
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 )
|
|
|
|
|
You can't do it using ASP.NET <---
And yes, I just want the generated HTML - The .cs / code-behind pages can remain hidden all they want
Oh, and a google search for:
"C#"+"ASP.NET"+Code
doesnt really help, as you might imagine
|
|
|
|
|
Perhaps because ASP.NET has nothing to do with your question ? You can't write a web site, a bunch of code that generates HTML, and expect that code, in that framework, to browse the web stealing HTML from other sites. This is a winforms question.
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 )
|
|
|
|
|
StreamReader takes physical paths, I believe. Did you try using WebRequest?
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
|
|
|
|
|
Success!
Thanks to WebRequest!
string result = "http://www.codeproject.com/";<br />
HttpWebRequest loHttp = (HttpWebRequest)WebRequest.Create(result);<br />
<br />
HttpWebResponse loWebResponse = (HttpWebResponse)loHttp.GetResponse();<br />
<br />
StreamReader loResponseStream = new StreamReader(loWebResponse.GetResponseStream());<br />
<br />
string tmp = loResponseStream.ReadLine();<br />
while (tmp != null)<br />
{<br />
ListBox1.Items.Add(tmp);<br />
tmp = loResponseStream.ReadLine();<br />
}<br />
<br />
loWebResponse.Close();<br />
loResponseStream.Close();
Thanks for the help
|
|
|
|
|
Hi,
In my project I have 3 forms. Home.aspx, CreateInfo.aspx and CreateInfoNext.aspx. CreateInfo and CreateInfoNext I have defined Back link button. when click on back link button it display previous page.
this working fine. but my problem is I have some validators in each page.
am validating on server side and displaying it under ValidationSummery field validator. If I gave some thing wrong in one field and click on Next button, it is validating and showing error and it is not forwarding to other page.Its OK. Now I entered right text and click on next button it is validating and going to other page. This is ok. the real problem is when I click back button it should go to previous page.it is going but showing error messages under ValidationSummery field validator.
pls see the follwing code:
<asp:LinkButton CausesValidation="false" ID="linkButtonBack" CssClass="linkbold" PostBackUrl="javascript:history.back();" runat="server">< <%=resourceManager.GetString("CMN_TOP_BACK")%></asp:LinkButton>
pls help me in this.
Thanks
|
|
|
|
|
Heh... I had the same problem...
I changed all my RequiredField validators to Red Label's, and manually checked them...
RangeValidators were more... Interesting...
if the RangeValidator is checking textBox1 for a value, just go:
textBox1.Text = "";<br />
Response.Redirect("www.google.co.za");
Since the textBox is empty, the RangeValidator is ignored...
Although, if you find some OTHER way to do this (Possibly keeping the RequiredField Validators), please give me a yell
- Reelix
|
|
|
|
|
Hi Everyone,
In my application i am using Label and DropdropList, on the selection of Dropdownlist,the label is disappear from the Form.
i am using like this
<div>
<asp:label id="L_Country" runat="server" />
</div>
<div>
<asp:ropDownList ID="DDL_LCD_Country" runat="server" OnSelectedIndexChanged="DDL_LCD_Country_SelectedIndexChanged"
AutoPostBack="true" >
<asp:ListItem Text="Select Country"></asp:ListItem>
</asp:DropDownList>
</div>
Please help me, where i am making mistake.
|
|
|
|
|
Well, first you've not shown any code that will hide the label. Second, do you NEED to do an autopostback, or is that only to hide the label ? If you need to postback anyhow, then in DDL_LCD_Country_SelectedIndexChanged, set L_Country.Visible = false. BTW, your naming standard is really nasty, does a company enforce that ?
If you don't need the postback, do it in javascript.
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 )
|
|
|
|
|
What you are doing in the "DDL_LCD_Country_SelectedIndexChanged"?
Apurva Kaushal
|
|
|
|
|
try
{
foreach (DataRow row in tableRows)
{
[some codings.......................]
label1:
foreach (DataColumn dc in tableColumns)
{
[some codings.......................]
}
}
[some codings.......................]
}
catch (SqlException ae)
{
[some codings.......................]
goto label1;
}
finally
{
CloseConnection();
}
while executing the above.. i m getting error like "No such label 'label1' within the scope of the goto statement"
how to achieve it? - KARAN
|
|
|
|