|
You mean that seam-carving demo a few months back? Pulling out a minimum-entropy line from an image? AFAIK its within 3 months old. Probably patented up the wazoo too
|
|
|
|
|
Yep thats the one...
And patents for sure. Do you think its possible to seam carve a website to make it smaller but still active and usable??
|
|
|
|
|
Hrmmm. Typically websites are already quite structured. The information isnt usually that "spatial" compared to a photo.
I don't think that seam carving would be the technique to reduce a page's physical size.
If this is your website you could try messing around with an "importance" factor for each piece of content - and then use some kind of dynamic layout algorithm. Laying out content based on importance using a squarified treemap algorithm may have interesting results. Then you can set a minimum importance threshold to reduce the data needed.
|
|
|
|
|
Hi,
I have a demo site up and would like to be certain that if I have the following in my page that it will definately show not show up in a search engne:
What else do I need to add to be 110% sure?
Regards
|
|
|
|
|
I think you can specify the blocked page in robots.txt..
|
|
|
|
|
Create a robots.txt file in your root directory then just write these line in it:
User-agent: *
Disallow: /
This will prevent search engines like Google, Yahoo, Msn and all those who respect Robots.txt Protocol crawling your web site.
Hope it helps !
AliAmjad(MCP)
First make it Run THEN make it Run Fast!
|
|
|
|
|
So what about search engines that do not respect robots. Would it help him to put the website in a password protected area? Or is that too much?
|
|
|
|
|
It's just a protocol and it entirely depends on the Bot whether it supports it or not and those who doesn't support it called Bad Bots. But to really protect your files from Bad bots you can setup Spider traps etc.
AliAmjad(MCP)
First make it Run THEN make it Run Fast!
|
|
|
|
|
Hey,
I'm pretty new in programming ASP.NET and C# in general so my question might be pretty easy for some of you.
I created an ASP.NET Webform. On the server, that will host the page there's another Windowsapplication running. I need to use some data of the Windowsapplication in my ASP.NET page. How do I get access to the data of the Windowsapplication? Is there any possibility that my Webform can communicate with the Windowsapplication? The webform and the winform are both written in C#.
Thanks in advance
|
|
|
|
|
Ideally you would factor the business logic of the windows app into a dll which your web app could also call.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Hi all,
I have to change the grid row color dynamically by using java script. I am using Infragistics grid.
activeGridRow = igtbl_getActiveRow("UltraWebGrid1");
I got the active grid row by using the above code.
But I dont know how to change the color dyanamically.
I have tried in so many ways such as
activeGridRow.element.sytle.color="red";
activeGridRow.element.style.backgroudcolor="red";
activeGridRow.element.currentStyle.color="red"
activeGridRow.element.currentStyle.backgroudcolor="red";
activeGridRow.element.runtimeStyle.color="red"
activeGridRow.element.runtimeStyle.backgroundcolor="red"
The above code that not in the exact syntax.
None of the above are changing the color of the active selected row.
So can you please give me the solution.
Thanks in advance.
Good Is Not Good When Better Is Expected.
|
|
|
|
|
A AntonySP wrote: activeGridRow = igtbl_getActiveRow("UltraWebGrid1");
What is the return type of igtbl_getActiveRow() function? TR?
what about them??
activeGridRow.style.bgcolor="red";
OR
activeGridRow.style.backgroundColor="red";
Note: "C" should be capital letter.
OR
activeGridRow.element.style.bgcolor="red";
OR
activeGridRow.element.style.backgroundColor="red";
|
|
|
|
|
Hi,
The above four possibilities not working.
The return type of igtbl_getActiveRow() is gridRow.
Good Is Not Good When Better Is Expected.
|
|
|
|
|
A AntonySP wrote: The return type of igtbl_getActiveRow() is gridRow.
i thought it will be TR or DIV.. it seems like so much specific for infragistic product.... As I don't have that control, I'm not able to test it out.. i have checked the online demo in their sites but i found nothing.. so, as you are the customer of infragistics, you should probably contact with their tech support..
|
|
|
|
|
Thanks Michael,
As you told will contact the customer suppport of infragistics.
Good Is Not Good When Better Is Expected.
|
|
|
|
|
Hi Guys,
I have a problem regarding AJAX. when Im accessing the site using an IP something like this http://209.162.184.101/page.aspx the Ajax here works well, the page won't refresh. But when I use something with domain for example http://something.ph/page.aspx the Ajax here doesn't work, the page will refresh.
What should I need to do in order to work properly?
Thanks
hifiger2004
|
|
|
|
|
If you're accessing the site via multiple hosts (or just switching up name / number), make sure you haven't hard-coded the host name in the call to XmlHttpRequest .
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
How about unregistering and registering the ajax.
Do you know if how to unreg/reg the ajax in windows 2003?
hifiger2004
|
|
|
|
|
I have no idea what you're talking about.
The key portion of AJAX is the XmlHttpRequest object, which is built-in in modern browsers (Firefox, Opera, IE7) and implemented as part of the MSXML COM package for IE6 and previous. If you're using IE6 and the MSXML installation is screwed up, it'll never work or always work (unless you're doing something really bizarre with progIds).
Keep in mind, for security reasons XmlHttpRequest will be prevented from loading URLs that are on a different host from that which the page was loaded from - so if you're switching up hosts (you are) and have a hard-coded host in the URL passed to XmlHttpRequest (do you?), then it'll break when the hard-coded host doesn't match the host you're loading from. So check that first.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
but there's no hardcoded host when loading the form. I really don't know if what's causing it.
hifiger2004
|
|
|
|
|
hifiger2004 wrote: but there's no hardcoded host when loading the form.
So you're using XmlHttpRequest to load a form? What does the code that does this look like?
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Too many people think that AJAX was invented by Microsoft with the ASP.NET AJAX libary.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Yeah, i'm starting to suspect that's what's going on here.
---- ...the wind blows over it and it is gone, and its place remembers it no more...
|
|
|
|
|
Hi,
I actually created a very simple test.aspx for me to test if Ajax is working fine, but still no luck.
Please see my sample test.aspx that uses updatepanel
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<br />
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><br />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" /><br />
</ContentTemplate>
</asp:UpdatePanel>
<asp:Button ID="Button2" runat="server" Text="Button" />
<cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Button2"
PopupControlID="button2">
</cc1:ModalPopupExtender>
<cc1:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" TargetControlID="Panel1">
</cc1:RoundedCornersExtender>
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
</asp:Panel>
<asp:Button ID="Button3" runat="server" Text="Check server path" Width="296px" />
<br />
<asp:TextBox ID="TextBox4" runat="server" Width="669px"></asp:TextBox>
</form>
</body>
</html>
hifiger2004
|
|
|
|
|
I already reinstalled the AJAX extensions 1.0 but still no luck. It works fine when running in my local machine, but when deploying it in the server the ajax seems not working well.
What do you think should I do man?
hifiger2004
|
|
|
|