|
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
|
|
|
|
|
hifiger2004 wrote: when deploying it in the server the ajax seems not working well.
is your server installed with AJAX server extensions ?
|
|
|
|
|
Was it different from Microsoft ASP.net AJAX Extensions 1.0?
Is it free and downloadable?
hifiger2004
|
|
|
|
|
This is the Ajax installer that I downloaded recently - ASPAJAXExtSetup.msi from this link -
http://www.microsoft.com/downloads/details.aspx?familyid=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en
I think it's the same AJAX you are refering to, right?
hifiger2004
|
|
|
|
|
I've been reinstalling the ajax at the server several times but it doesn't work fine.
We have to go back to the original problem.
When accessing it thru the IP address the ajax will work. But when using the domain name (same IP reference), the ajax won't work. Why?
hifiger2004
|
|
|
|
|
Actually this is the first time that I encountered this kind of problem that the Ajax will not work. Because I have tried installing some of my projects before at the server with the same web.config, ASP.Net framework 2.0, AJAX Ext 1.0 and AJAXcontrolToolkit and all are working fine.
It really confused me
hifiger2004
|
|
|
|
|
Hi Guys,
You know, I won't believe it, I solved it. And the solution is not difficult as what we think. I just renamed the folder and overwrite the web.config and then I renamed back the folder and it works fine now.
Sometimes things are happening really strange
Thank you for the time guys
hifiger2004
|
|
|
|
|
One thing you didn't seem to notice. You're saying AJAX when you mean the ASP.NET AJAX extensions. I guarentee to you that AJAX was working fine the entire time.
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 )
|
|
|
|