|
Is there any way to track the changes done on another website. Like if there any price change of a perticular product on a product site then it should be reflected on my website.
Mahendra Bisht.
|
|
|
|
|
MB_1981 wrote: Is there any way to track the changes done on another website. Like if there any price change of a perticular product on a product site then it should be reflected on my website.
How did you read the content from other site? using RSS or What ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
right now i have not apporached any way to read the contents from another site.
Mahendra Bisht.
|
|
|
|
|
If you're talking about a simple web site where they ain't providing any sort of web service, or functionality then the only way to do it would be to store a copy and periodically compare the current version with your stored version.
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
there may be more then one website and they are not providing any webservice.
Mahendra Bisht.
|
|
|
|
|
MB_1981 wrote: there may be more then one website and they are not providing any webservice.
then how you are going to read the data. I think first of all you should know how to read the data from that sites, then only you can think of update.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
yes, u r absolutely right.
Mahendra Bisht.
|
|
|
|
|
|
you have to put script manager in master page and another resaon that may be when you use master page the control id changed at client end that may be also reson
i think if you try to use the client id that is created at client your problem would be solved
thank you
|
|
|
|
|
I already have the script manager in my master page, so I am not sure what you mean about the control id that I use. I don't have anything that calls the id. The accordion has an id but I never call it. I assumed any calls were generated automatically. Can you better explain what you mean, Thanks for your response.
|
|
|
|
|
Hi ppl This is my first question......i think i will get my answer sonn.......
Right now im working in a web application.....In which most of the pages are popups..Im opening a popup window from a Main parent popup using JavaScript windows.open(),which is actually a search page,used to search for a particular user of the system.on selecting a particular user the control returns to the main popupwindow.......
The problem is when the user logs off....i need to close all the popups opened by the user..for that i used.....
window.top.close()...to close main popup window ,which has the logout button.
winsearch.close()..... to close the search popup...but this child window is not getting closed....
Im using Asp+C# for my application........Help needed ASAP.....
i think description is elborate to understand the problem.......
one of my friend told me thet after several postbacks by asp.....the reference "winsearch" used by java script got disappeared from cache memory....thats y it is not getting closed.. is that true??!!!.....
|
|
|
|
|
Welcome to CodeProject.
rajmahen wrote: for that i used.....
window.top.close()...to close main popup window ,which has the logout button.
AFAIK, window.top is not part of any standard. It looks like it works only with Mozilla.
Declare a local variable and assign the return value of window.open to it(assume variable name is searchWindow ). Hook a JS event handler in the logout button click. Inside this handler, check searchWindow and if it is assigned, call close on it.
|
|
|
|
|
Thank u navaneeth...............i implemented in tit is not working.....it closes the top window but not the child window....
This is my code snippet:
//Function to open the search user popup screen. Only one search window allowed to display
var winSearchUser;
function openSearchUser()
{
if(winSearchUser == null || winSearchUser.closed)
{
winSearchUser = window.open('SearchUser.aspx','SearchUser','height=600, width=850,status= no, resizable= no, scrollbars=no, toolbar=no,location=no,menubar=no ');
}
winSearchUser.moveTo(10,10);
winSearchUser.focus();
return false;
}
//Function to close all the child popup windows of this window
function closeAllPopups()
{
//Close the main window
window.top.close();
//Close search user popup
if ( winSearchUser != null )
{
winSearchUser.close() ;
winSearchUser = null ;
}
}
i attached the above close script in the client script manager of the main windows asp.
|
|
|
|
|
1. You can try to use window.showModalDialog instead of window.open. Though this is not a W3C standard, Firefox supports it now.
2. You can try Observer design pattern, each popup windows opens, add itself handle to the close event.
|
|
|
|
|
When compiling a resource file I am getting a series of warnings, for example:
The resource name 'NewsTech.Description' is not a valid identifier for all my resource files.
Sample from Web.Sitemap.fi.resx (resources file)
...
<data name="Funds.Title" xml:space="preserve">
<value>?</value>
...
Sample from Web.sitemap
...
<sitemapnode title="Funds" description="Mutual Funds">
url="Funds.aspx" resourceKey="Funds"/>
...
</sitemapnode></data>
Jon
|
|
|
|
|
Are you using VS2005? I heard this is a big with VS2005 and VS2008 don't have this problem.
|
|
|
|
|
|
and I am using 2012 and having same problem.
How to fix that...?
|
|
|
|
|
|
Hi all,
i am developing a 3-tier asp.net web application on C#, with an Access database on the Data Access Layer. I have developed some reports on my Access database.
On some aspx page i want to fire / open a certain Access report when the user clicks on some ImageButton, but i have no idea how to do this, and what are my chances on displaying it. I have searched on the web with no good results.
Anyone can give me a clue how to do that, or provide some link with basic info?
Thanks a lot.
|
|
|
|
|
I am not sure if it is possible to show Access Reports from asp.net.
Do you have an access to SQL reporting tools? if so look here[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hey guys
I'm busy developing a website and ive hit a bit of a snag... again!
I've decided to put the content of my site in a table(the borders will be invisible or "0" after i get this to work right). Ive mocked up the table in a plain HTML file, here is the code for that.
<html>
<head>
</head>
<body>
<center>
<table border="1" width="1000" align="center" cellpadding="0" cellspacing="0">
<thead>
<tr>
<td align="center" colspan="4">Tool Bar</td>
</tr>
<tr>
<td align="left" colspan="2">Rooms 4 Rent Logo</td>
<td align="right" colspan="2">Add Space</td>
</tr>
<tr>
<td align="center" colspan="4">Tabs</td>
</tr>
</thead>
<thead>
<tr>
<td align="left" colspan="1" width="150" valign="top">Search</td>
<td align="center" colspan="2" width="700">
<center>Content
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
</center>
</td>
<td align="right" colspan="1" width="150" valign="top">Add Space</td>
</tr>
</thead>
<tfoot>
<tr>
<td align="center" colspan="4"><center>Link Bar</center></td>
</tr>
</tfoot>
</table>
</center>
</body>
</html>
And heres a screen shot of the result
http://www.r4r.co.za/images/TableLayout.JPG
So i took this design and put it in my ASP.net solutions master page. And added the content in the correct cell's
Here is the code
<table border="1" width="1000" align="center" cellpadding="0" cellspacing="0">
<thead>
<tr>
<td align="center" colspan="4">Tool Bar</td>
</tr>
<tr>
<td align="left" colspan="2">
<asp:Image ID="ImgLogo" runat="server" Height="100px" ImageUrl="~/Images/Logo.jpg"
Width="400px" ImageAlign="Left" Style="text-align: Left" />
</td>
<td align="right" colspan="2">Add Space</td>
</tr>
<tr>
<td align="center" colspan="4">
<asp:ImageButton ID="BtnHome" runat="server" ImageUrl="~/Button Images/HomeButton.jpg"
OnClick="BtnHome_Click" />
<asp:ImageButton ID="BtnJohannesburg" runat="server" ImageUrl="~/Button Images/JohannesburgButton.jpg"
OnClick="BtnJohennesburg_Click" />
<asp:ImageButton ID="BtnPretoria" runat="server" ImageUrl="~/Button Images/PretoriaButton.jpg"
OnClick="BtnPretoria_Click" />
<asp:ImageButton ID="BtnRustenburg" runat="server" ImageUrl="~/Button Images/RustenburgButton.jpg"
OnClick="BtnRustenburg_Click" />
<asp:ImageButton ID="BtnPolokwane" runat="server" ImageUrl="~/Button Images/PolokwaneButton.jpg"
OnClick="BtnPolokwane_Click" />
<asp:ImageButton ID="BtnNelspruit" runat="server" ImageUrl="~/Button Images/NelspruitButton.jpg"
OnClick="BtnNelspruit_Click" />
<asp:ImageButton ID="BtnDurban" runat="server" ImageUrl="~/Button Images/DurbanButton.jpg"
OnClick="BtnDurban_Click" />
<asp:ImageButton ID="BtnPortElizabeth" runat="server" ImageUrl="~/Button Images/PortElizabethButton.jpg"
OnClick="BtnPortElizabeth_Click" />
<asp:ImageButton ID="BtnCapeTown" runat="server" ImageUrl="~/Button Images/CapeTownButton.jpg"
OnClick="BtnCapeTown_Click" />
<asp:ImageButton ID="BtnBloemfontein" runat="server" ImageUrl="~/Button Images/BloemfonteinButton.jpg"
OnClick="BtnBloemfontein_Click" />
<asp:ImageButton ID="BtnFAQ" runat="server" ImageUrl="~/Button Images/FaqButton.jpg"
OnClick="BtnFaq_Click" />
<asp:ImageButton ID="BtnContactUs" runat="server" ImageUrl="~/Button Images/ContactUsButton.jpg"
OnClick="BtnContactUs_Click" />
</td>
</tr>
</thead>
<thead>
<tr>
<td align="left" colspan="1" width="150" valign="top">Search</td>
<td align="center" colspan="2" width="700">
<center><asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
</asp:ContentPlaceHolder>
</center>
</td>
<td align="right" colspan="1" width="150" valign="top">Add Space</td>
</tr>
</thead>
<tfoot>
<tr>
<td align="center" colspan="4"><center><a href="Default.aspx">[Home]</a> <a href="mailTo:Info@r4r.co.za">[E-mail Info]</a>
<a href="mailTo:WebMaster@r4r.co.za">[E-mail Web Master]
</a> <a href="AdminLogin.aspx">[Admin]</a></center></td>
</tr>
</tfoot>
</table>
And here is the result
http://www.r4r.co.za/images/Problem.JPG
Now what seems to be happening is that when i put the logo in the cell it belongs, the corresponding columns width increases.
How can i get the columns width to stay the the way it is irrespective of its content?
Note: I need the cell heights to dynamically increase as content is added, and it is doing this correctly
<div class="ForumSig"><center><b><font color="red">Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL</font></b>
<code>you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)</code>
<font color="lime"><b>1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111 </b></font></center></div>
|
|
|
|
|
hi,
following will help you out, in order of its importance.
1.) quickest -- Tablecell has a "wrap" property. Set it to true. This will wrap the contents inside it and the width will not increase.
2.) right from the first TableRow's Table cell apply the width is "%" only rather than "pixels". This makes sure you have very dynamic layout rather than a stringent one.
Also, please make a note that, HTML will surely have some limitations when it comes to displaying a particularly very large picture with any of the properties set.
3.) toughest -- alternative of all will be to check in your code whats the approximate size of your pic and if that size is considerably large, you will have to convert that pic in some other format with little loss of color and sharpness and include it accordingly in your TableCell for your application.
PLEASE DO NOT FORGET TO MARK AS ANSWER IF FOUND USEFUL/RELEVANT, SO THAT OTHERS CAN FIND IT EASILY.
Software Developer,
Pune,
India
|
|
|
|
|
Add the CSS style to your table.
style="table-layout:fixed; width:XXXpx"
|
|
|
|
|
Hi All,
I really need a asp.net code to read the emails in my gmail account.
Can any one help me? I am very much great full to you...
Thanks in advance
Senthil.S
A Software Engineer
|
|
|
|