Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. oh sorry. As far as I know there is no way to detect or override this. The browser buttons are not part of the webpage. Unless the browser gives access through COM or ActiveX (which I don't think they do) there is no way to do this.Browser history is a known drawback for AJAX applications.
  2. It matters because that is the datatype you setup and that is what it uses. I string is nto the same as an integer. The column doesn't knwo what to do with it. Post your sql statement I'll see if I can get it to cast the column as a different type before sending to the DataTable because once it is in the DataTable it is stuck as that datatype.
  3. how does it not work? do you get any error messages?Post both your .aspx file and your .aspx.cs or .aspx.vb file
  4. HTML ...<form action="mailto:person1@email.be" method="post" id="verzendform" enctype="text/plain" onsubmit="return check_form(this);"><input type="check" id="myCheck" onclick="changeEmail(this)"/></form> JS function changeEmail(chk){ var frm = document.getElementById("verzendform"); if(chk.checked) frm.action = "mailto:person2@email.be"; else frm.action = "mailto:person1@email.be";}
  5. for(int i=0;i<ds.Tables[0].Rows.Count;i++){ if(ds.Tables[0].Rows[i]["type"] == "1") ds.Tables[0].Rows[i]["type"] = "YES"; else ds.Tables[0].Rows[i]["type"] = "NO";}
  6. you can use javascriptpage.aspx <html><head>...<script type="text/javascript"> function isNumeric(box) { if(isNaN(box.value)) { alert("The value must be numeric!"); box.focus(); } }</script>...</head><body>...<asp:TextBox id="txtNumeric" runat="server"/>...</body></html> page.aspx.cs //in Page_LoadtxtNumeric.Attributes.Add("onblur","isNumeric(this)");
  7. aspnetguy

    Not sure

    it should be<script type="text/javascript"></script>Please post you whole file and we will test it for you.
  8. we'll have to see the guestbook.php. the errors indicate you are trying to set various header details after html has already been written to the screen.
  9. http://local.google.com/ is a good example of a very useful JavaScript application.
  10. It should be closed. If someone wants to contribute they can PM you. Perhaps you could mention that at the top of the post. Take a look at how Skemcin is managing the Javascript Snippets. It is working well.Thanks for gettting involved. It is much appreciated.
  11. in this block <form runat="server"><asp:Repeater id="Table" runat="server"><HeaderTemplate><table cellpadding="0" cellspacing="0" border="0"></HeaderTemplate><ItemTemplate><tr><td class="td2"><p><a href="<%#Container.DataItem("url")%>"><%#Container.DataItem("url")%></a></p><p><%#Container.DataItem("desc").Replace(search,"<b>" & search & "</b>")%></p></td></tr></ItemTemplate><FooterTemplate></table></FooterTemplate></asp:Repeater></form> you only have 1 set of <td></td> (1 column).I only see a <td class="td2"></td> not a td1 like in the above and below blocks.
  12. the middle block, I assume is were your problem is, only has one column. It will take 100% of the width of the table.
  13. http://css-discuss.incutio.com/?page=ThreeColumnLayoutshere are a bunch of three column layouts with diffrent variations.
  14. can you be more specific. Are you talking about a 3 column layout?
  15. can you post the HTML aswell?
  16. you could try WAMP or XAMP for local servers.
  17. If you are tryign to remove ads from a free service it will most likely get your account deleted. However I like using AdBlock for firefox when browsing websites.
  18. according to this http://lists.evolt.org/archive/Week-of-Mon...001/058551.html it is not possible for security reasons.
  19. aspnetguy

    IE6 Bug

    sounds like the gillotene bug to me. Not sure what else it could be.
  20. It also depends on where the contract came from. If you get contracts from sites like Scriptlance.com you should expect that the pay will be lower. I get a lot of work from SitePoint and usually the pay is pretty good. Developing the skill to know which contracts to accept and which to turn down is a huge asset and will save you alot of time and money.Like it has been said before, experience is a big factor. You can't expect to get paid what a 20 year progtrammer would get if you have only been programming for 1 year. So as your experience increases you will be able to increase your rate but that doesn't mean you gooted ripped off for past projects.
  21. style="background: red" or style="border: 1px solid red"
  22. Yahoo and others offer developers API's to use their authentication for various things. For example ebuddy.net let's you log into MASN, Yahoo, and AIM messengers online with the accounts you already have for those IM's and you see all the same contacts, etc. They are using the API's provided by those companies.So it doesn't necessarily mean that Yahoo is associated in any way witht hat site. You still need to be careful when giving out that information.
  23. aspnetguy

    Page Address

    you have to set the email's Body Format to accept HTML then put this string in the bodystr = "<a href=\"" + Request.Url + "\">Check out this link</a>";
×
×
  • Create New...