Fix my issue and I will give you 15 dollars.
I have a webbrowser control in winform application.? This is being
called from a timer event every 3 minutes.? The event has this code
? [login to view URL]("[login to view URL]" + [login to view URL]);
Here is the code in my [login to view URL]'s page load event
? ? ? string eBay = @"
? ? ? <html>
? ? ? ? ? <body margin-top:2"">
? ? ? ? ? ? ? <center>
? ? ? ? ? ? ? <script src='[login to view URL]
[login to view URL]'></script>
<script src='[login to view URL]
programId=1&campId=5335809704&toolId=10026&keyword={0}&sortBy=2&
showItems=1&width=728&height=57&font=1&textColor=333366&linkColor=333333&arrowColor=8BBC01&
color1=B5B5B5&color2=FFFFFF'></script>
? ? ? ? ? ? </center>
? ? ? ? ? </body>
? ? ? </html>
? ? ? ";
? ? ? ? ? ? ? string query = [login to view URL]["query"];
? ? ? ? ? ? ? if ((query == null) || ([login to view URL]() == [login to view URL]))
? ? ? ? ? ? ? ? ? ? ? query = "cars";
? ? ? ? ? ? ? text = [login to view URL](eBay2, query);
? ? ? ? ? ? ? [login to view URL]();
? ? ? ? ? ? ? [login to view URL]();
? ? ? ? ? ? ? [login to view URL]();
? ? ? ? ? ? ? [login to view URL] = "text/html";
? ? ? ? ? ? ? [login to view URL](text);
? ? ? ? ? ? ? [login to view URL]();
? ? ? ? ? ? ? [login to view URL]();
The idea of this aspx page is that show ads from ebay based on the
search term from user.? It works fine the first time the event is
fired.? Shows the right ad depending on the text.? But after that when
event is fired the whole page just goes blank and no ad is being
shown.? If I look at the source then it looks fine, but wbPage shows
nothing.? Interesting thing is that if I run the same code in IE
browser then it shows the ad properly and everytime I refresh the page
then it shows different ad based on the query.
What am I missing with [login to view URL] event.? I even tried to
change the URL by putting random tag in the query but still the same
behaviour.
Works fine in browser, but doesn't work in this control...what am I
doing wrong?