Url - How To Get The Client's Browser Displayed Address


I 'm implementing my version of "ShareThis" in my webpage.How can i get the client's browser displayed address with Asp.NET?I am little confused with this one since the url to share...1) is created with URL rewriting2) contains Greek characters.

View Answers
Very similar questions
Sony Ericsson Xperia X10 :: Getting Timescape To Use Facebook Application And Not The Browser androidforums.com

Is there any way to get timescape to open the facebook app instead of the web browser when a facebook "leaf" is touched. I have it set that Twidroid will open for twitter "leaves" but I can't figure out how to get it to use the Facebook app.

Getting Name, Address And Phone Number From Domain www.webhostingtalk.com

I am having a bit of trouble from a guy and he has managed to get my full details from my domain name even though I have them set private, how has he done this?

Web Forms :: Display Photo Using URL String? forums.asp.net

I have a member site that allows the members to upload their photo to their page. In addition they have a public accessible .aspx page that I would like to have their photo displayed on. Using the www.mysite.com/webpage.aspx?MemberID=johnsmith method to call the photo associated with the memberID, how do I call the photo in my page? My member's photos are saved in a folder and NOT in a database. Each of the member's photos are automatically saved with a filename that is their "MemberID".png.

Display Image URL With Session String? stackoverflow.com

I cannot display images in my application when I have the session string in the URL. This works: http://server/application/image.png This doesn't: http://server/application/(S(ane2sz55z15ra045gocejcq1))/image.png It worked fine when it was running in Windows XP, but now I have moved it to Windows Server 2008 instead. The same happens with CSS and JS files.

What Is The Difference Between Client Browser's Submit Mechanism And The Postback Mechanism stackoverflow.com

Button.UseSubmitBehavior property is used to gets or sets a value indicating whether the Button control uses the client browser's submit mechanism or the ASP.NET postback mechanism. So, What is the difference between client browser's submit mechanism and the ASP.NET postback mechanism?

Disable Webform And Display In Browser? forums.asp.net

I've seen two sites that have this really neat feature that's similar to a Winform dialog box, but better. I don't think I'll be able to explain it properly, so I captured some screenshots. In ebay, this is what you see when you browse listings and sort by shipping cost without having set your location: [URL] In Badoo, it's basically the same thing. If you haven't set a language preference, then it'll display a similar type of dialog box: [URL] Is this possible in asp.net? If so, would it be an add-on to my current webform, or would I need to rebuild the webform for this purpose?

Getting Error "unrecognized Message Version" When Enter The Url Of The File www.phpfreaks.com

i am trying to use my message centre platform to simulate sending and recieving of messages. the problem i am encountering is that when i enter the url of the file, an error message comes up with "unrecognized message version". the code looks like this: <?php header("Content-type: text/xml"); echo("<?xml version="1.0" ?> "); // Connects to your Database mysql_connect("localhost", "root", "random") or die(mysql_error()); mysql_select_db("trinidadnews") or die(mysql_error()); $data = mysql_query("SELECT * FROM news") or die(mysql_error()); [Code]....

JQuery :: Malsup Cycle Plugin - Getting The Captions To Display From A Slideshow forum.jquery.com

i'm having a small problem with getting the captions to display from a slideshow... i've got multiple slideshows on the page which i guess could be causing the problem... i'm not getting any errors, but no caption is being displayed... here is a section of my html.... <script> $(document).ready(function() { $('#cat_slide1').cycle({ fx: 'scrollHorz', timeout: 0, next: '#next1', prev: '#prev1', [Code]...

Url's Shows Non Secure When Moving Away From A Secured Link Without Hardcoded Url's In Html stackoverflow.com

I have an asp.net site. It has an order form which is accessible at https://secure.example.com/order.aspx. The links on the site do not include the domain name. So for example the home page is 'default.aspx'.The issue is that if I click on a link like the home page from the secure page, the url becomes https://secure.example.com/default.aspx instead of http://www.example.com/default.aspx.What's a good way to handle this? The scheme should automatically work using any domain name based on where it's launched from. So if the site is launched from 'localhost', moving away from the secured page, the url's should be http://localhost/...

Android :: Gmail Address Book On Web Contains Field For Birthdays - Why Not In Address Book androidforums.com

The Gmail address book on the Web contains a field for birthdays, so why not the Android address book? While I'm sure the app could undergo a lot of changes (and everyone would have different ideas) something as basic as a birthday seems obvious.

HTC Desire :: Address Book Only Gives One Line Of Address androidforums.com

Just getting used to my HTC Desire, after reading your forum I was comforted regarding battery life and it seems much better now than the first few days. I see another post on this but no answer, the address book only gives one line of the address is then any way round this? Even my first pda a Psion 3 had the option of which fields to display etc. there seems very little option to format what is seen, not that I am unhappy about the rest but to have to edit to see all the address is barmy. Another thing way back then that still is not found is search all fields of the contacts, i.e. to find a number of someone that rang on another phone.

Web Forms :: Browser System Info / Get Browser Operating System Name And Version forums.asp.net

How to get browser operating system name and version in asp.net2.0 (c#)

C# - How To Point URL From Global File Using URL Routing 3.5 Without Parameters stackoverflow.com

How to point url from Global file using URL routing 3.5 asp.net without parameters? For example: [code]....

Web Forms :: How To Replace URL forums.asp.net

We have developed a web based application for data anlysis. we want to hide its working URL's with some custome url.e.g [URL]

Adding To A Link Using The BeforeNavigate2 Method www.vbforums.com

Ok, so I built an application for an online game I play and it has an intergrated chat client in it using an OCX. unfortunitly I may have to take the chat client out becasue if the intergrated and ingame chat clients are both in use the OCX's start to cause problems with eachother. one workaround thought of was to add ?Browser=FEA to the end of every URL passed through the browser control as this would allow the game server to disable the ingame chat client. For some reason I have been unsuccessful in doing this, I have tried to add the below to the BeforeNavigate2 method.VB Code:If InStr(URL, "?") ThenIf InStr(URL, "?Browser=FEA") ThenElseURL = URL & "&Browser=FEA"End IfElseIf InStr(URL, "&Browser=FEA") ThenElseURL = URL & "?Browser=FEA"End IfEnd If but this new parameter does not seem to be passed. Please give me some help here I don't want to have to remove the client but I'm out of idea's- Ian L

Hot Link Prevention And Browser Security www.webhostingtalk.com

I recently initiated "Hot Link Prevention" on one of my web sites on my Dedicated server (via CPanel). It woks well in re-directing hotlinked images to a small image that says "Unauthorized Hotlink Image." This of course prevents other web sites from leaching my bandwidth. However, I have had a number of people complain that when they visit my forum, they don't get my site's images, but instead see the Unauthorized Hotlink Image. The common thread seems to be the people with the problem are using Security Software. In one case, a guy is using Norton Confidential. Another guy is using some Security software provided by his ISP. I'm guessing that this security software is somehow messing with the Referer in tehir browser and confusing my server into thinking the images are being hotlinked from some other site. Short of turning off Hot Link Prevention, does anyone have any suggestions to tell the folks...are there settings in their Security Software for example that will prevent the problem when they visit my site?

BB Bold 9700 :: Wireless Network Gets Disconnected When Put Phone In Holster supportforums.blackberry.com

I'm using BB Bold 9700 Version Why is it when I put my BB in holster, my network will always get disconnected after a while? Sometime when I using half way will get disconnected. Do I need to do any setting to keep it connected.

BB Torch :: Cannot Access Internet Browser Or Open Any Link supportforums.blackberry.com

Starting yesterday afternoon, I am unable to access an internet browser or open any link on my Torch. I do not have WiFi turned on. The device almost appears to 'freeze' when I am attempting this action. I have completely cycled off and back on....

Shrew Soft Vpn Win 7 Compatibility Cisco Checkpoint VPN Client www.tomshardware.com

I would like to know if Shrewsoft VPN Client can be installed on Windows 7 (32 Bit) with Checkpoint & Cisco Clients already installed. I have both Checkpoint & Cisco Clients installed on Windows 7, with the respective services set to manual, and both clients are co-existing without any problem. Since I also support Juniper SSG boxes, and since Juniper has NOT YET come out with a client which supports Windows 7, I was wondering if I can use Shrewsoft client instead (which is reported to work fine with Juniper SSG). Previously I had Vista on which all the 3 - namely Checkpoint, Cisco & Juniper (SafeNet) clients were working beautifully. But Vista being Vista, I had no choice but to upgrade to Windows 7.

Prevent Browser Scrolling To Hash On Page Load? stackoverflow.com

Using localscroll on ready but the browser snaps to hash on ready. How do i prevent that and have it scroll to the top no matter what?if this is not possible. How do you offset the position of the windows.location of hash?

Make Own Web Browser With Command Button www.vbforums.com

Hai, i need some help. I want to make my own web browser with 2 command button, one for move up the screen, and one for move down the screen. Is anyone can help me with this problem? Thanks.Regards,Yosef

Getting A Drop Down Menu To Link To Another Form And Open A File www.vbcity.com

Hello i have a slight problem, i can get a menus item to go to the next form but i am unable to figure out how to get it to load a list of words. i am making a hang man game. here is the code i have to link the two forms.Code:This is on the main form - frmwordPrivate Sub Mnu3_Click()frmgame.ShowUnload frmwordEnd Subwhen it goes to the other form eg frmgame should i then open then word list there or ?helpBeks

Url Link In A Label www.codeguru.com

How would you put a Url link, so the user can click on it and it takes them to the url of the link?

Link Label Question www.vbforums.com

how to do when user press the link label, then show the url in the browser and run it?

Getting Errors While Building Cpp DLL www.xtremevbtalk.com

Hi,I want to use the C++ codes with the VB6 application. So, i m trying to make a DLL file, which will include the c++ codes. I have search on net for tutorials (even on this forum) and tried them, to make a DLL, but i m getting errors, while building Dll (in Visual Studio).So, i wrote a simple c++ code, which includestestdll.cpptestdll.htestdll.defi want to used the d() function, in testdll.cpp, in VB6 application,Like, label1.caption = d()(which will return 5, as u know).There is no main() in testdll.cpp, coz i just need to call d() fr my vb6 application.I m also attaching .def file, incase, u guys need, to check, whether i need to add something more....Kindly, download testdll.zip, which has all 3 files....and show me light, to solve this prob.or pls explain, how to proceed.Thanks in-advance.viv

Open IE Browser And Go To Website www.vbforums.com

Hi,Is it possible to open Internet Explorer and automaticly surf to a website?

Getting A Website www.xtremevbtalk.com

to get a website you gotta connect to a network or something and type GET whatever.com/index.html HTTP/1.0but what do i connect to? how do i connect to my own internet? what port?i'm sorri, kinda new with winsock

Insert Website Address On Form visualbasic.ittoolbox.com

How does one go about inserting a website address onto a form--that is what process is used to insert the address as an active link?Milt Gordon email@removed  

Click Button Automatically Moment Worksheet Gets Opened... www.codeguru.com

i need to click the reset button(for which i have assigned shortcut as Alt+R) automatically as the workbook is loaded say in the event workbook_activate happens.....please help me and reply......Ranjan Amit

Android :: Getting Friends List From Facebook groups.google.com

How to get Friends List from Facebook using Code.

Sony Ericsson Xperia X10 Mini/pro :: Phone Book Is Getting Refreshed - 1.6 Firmware talk.sonyericsson.com

I am using Sony Ericsson Xperia X10 mini pro with 1.6 firmware very recently purchased, As i dont have the android market icon, i just done Factory Reset to my handset and after that i noticed that my contacts in the phone book gets errased whenever i switch off my mobile and again switch  on my phone book contacts are completely erased..... again i need to  restore it from Back up and Restore application which is present defaultly.  So everytime I am Restoring my contacts and again it gets refreshed.  I even reinstalled my OS android 1.6 (as 2.1 notification i didn't get) even after reinstalling i am facing the same problem no contacts on my phone book.   Is  there any solutions for this ..........? you all guys knows very  well that if there is a problem with phone book (contacts) how hectic it  is......... no use of using mobiles then......... i am missing the important contacts everytime.  so everytime i am doing back up and doing restoring........   I dont use any synchornized apps.... i use the "Back up & Restore" application which came along with my mobile and I haven't installed any new apps till now....   Note: Actually before doing Factory Reset the phone book worked fine no refreshments of contacts happened.  

Android :: Getting Contact Photos From Facebook Only Contacts groups.google.com

The standard way of getting contact photos/uris from ContactsContracts.Contacts.CONTENT_URI does not work for any photo that is not of GOOGLE descent! meaning, if the contact does not have a Google contact with a photo, then I cannot pull a contact photo.This is not only my problem. I see that no one has really answered this question.I know that the Android Incoming Call Screen displays a Facebook photo just fine, so I am not sure why I would need to do something different.Is there someone out there, from Google/Android, who can tell me what I need to do?

HTC Droid :: Eris Not Getting 2.1 / Upgraded To 2.2 Link androidforums.com

Reasoning behind March 31st coming and going and nothing OTA? Looks like we've been bumped from Eclair to FroYo and this is the projected version. www.stevebirstok.com/android/froyoleak.zip Root files are included as well.

HTC Droid Eris :: App That Gets Mobile Numbers From Facebook androidforums.com

Is there an app that gets peoples mobile numbers from Facebook and creates them as a contact in your phone? I would've thought there would be, but I can't find any that do that. I got an Eris recently and couldn't import my contacts from my old phone, so I was hoping I could do it this way.

Android :: How Do I Retrieve Contact Photo / Name / Number From Address Book? stackoverflow.com

Android:how do i retrieve the contact photo,name,number from the address book and display it using a list view

Sony Ericsson Xperia X10 :: Getting Rid Of The Timescape Option On Home Screen androidforums.com

How do I get rid of the timescape logo on the homescreen and then just to show the wallpaper.

HTC EVO 4G :: Getting My Phone Contacts Into Gmail androidforums.com

My EVO has about 100 contacts and my Gmail account has 30. What is the best way to get my EVO contacts into my Gmail account and have them stay sync'd?The Sprint store told me it would happen automatically, but it did not. All the sync's are on in the phone settings, but still no luck.

HTC Droid Eris :: No Longer Gets Hot Or Eats Battery But Can't Sync Google Contacts androidforums.com

So, like many of you, my phone would occasionally get hot, and the battery would just zoom down to nothing. Usually this was just intermittent, and a restart would cure it.On June 10, it was happening, and persisted despite restarts, battery pulls, etc. I finally found that the problem was google trying to sync contacts. It was having some problem and cycling forever. When I unchecked the google contacts sync in the accounts preference panel, problem stopped. My battery life has never been better. Routinely getting 18-20 hrs or more.BUT I want to sync my google contacts! Every time I trial re-checking that box, it cycles and cycles, every few seconds giving a little error at the bottome of the screen (in prefs) "Sync is currently experiencing problems. It will be back shortly".I have 700-something contacts (Only 250 real "My Contacts" but another 500 or so auto-created contacts from gmail use.Presumably one of those entries has some corruption, but I can't figure out which, and I don't want to potentially lose all the contacts.I have seen that for some people this was fixed by factory reset and resync, but then the problem came back a few weeks later.

Android :: Getting List Of Contacts On SenseUI 2.1? stackoverflow.com

This is simple enough on every other version of Android, including SenseUI 1.5. //For Contacts Intent pickIntent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); this.startActivityForResult(pickIntent, RESULT); //For Phones Intent pickIntent = new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI); this.startActivityForResult(pickIntent, RESULT); On SenseUI 2.1 (HTC Incredible) this shows a list of numbers (the URI number). So you get a list of 1-200 if you have 200 contacts. Selecting one of the contacts you can then gather all of the information needed. Is there any good work around known?

Android :: Getting A List Of All Phone Contacts? stackoverflow.com

NOTE: Must work on Android 1.5 - Contacts Contract does not Simple enough question. I need to know the best way to get the same list of contacts that show up when a user presses the Contacts button. You would think something like this would work: //For Contacts Intent pickIntent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); this.startActivity ForResult(pickIntent, RESULT); //For Phones Intent pickIntent = new Intent(Intent.ACTION _PICK, Phones.CONTENT_URI); this.startActivityForResult(pickIntent, RESULT); The problem is that does not include secondary google accounts or Exchange contacts. By secondary accounts, in Android you can add additional gmail accounts to have the mail/contacts synced. The above intent will not list those additional contacts. I am also told that on the HTC Desire you can add contacts to the phone that do not get synced up to Google. These contacts also do not show up. So how do I get a real list of contacts so I can create my own list activity that works properly where the Google intent does not. NOTE: Must work on Android 1.5 - Contacts Contract does not

Android :: WebView Link Click Open Default Browser stackoverflow.com

I have an app that loads a webview and all the clicks are kept within the app. What I would like to do is when a certain link, for example, http://www.google.com is clicked within the app it opens the default browser.

FQL MultiQuery - How To Send Result List To Browser In JSON stackoverflow.com

I am using the Facebook Toolkit and making a request using FQL.Multiquery. I am using the following code which returns the correct data: Dim query1 As String = String.Format("SELECT post_id, actor_id, target_id, message FROM stream WHERE source_id in (SELECT target_id FROM connection WHERE source_id={0}) AND is_hidden = 0", FBuserId) Dim query2 As String = "SELECT pic FROM user WHERE uid IN (SELECT actor_id FROM #firstQuery)" Dim queries = New Dictionary(Of String, String) queries.Add("firstQuery", query1) queries.Add("secondQuery", query2) Dim result As List(Of Facebook.Schema.fql_result) = q.Multiquery(queries) When I run this 'result' list is populated with the results of the two queries in XML but I am unsure how I can send this list to the browser in JSON. I am using asp.net MVC.

Timers On Server-side - From A Client-side Piece, Call Off To A Server-side Piece stackoverflow.com

I'm trying to, from a client-side piece, call off to a server-side piece. I need to do this synchronously. On my server-side code, though, I'm calling off to another piece of code, which I want to have a maximum of, say, 10 seconds to return a value. If I don't have a response within 10 seconds, I want to force my own server piece to set my result equal to 0, and return to the client. Here's what I have on my server-side code so far: Public Function GetWebResult(ByVal inputParameter As Object) As WebReturnObject Implements IWebInterface.GetWebResult Dim result As New WebReturnObject Dim webItem As WebItem = Nothing [CODE]... I realize this code is not functional. The problem is that I'm unsure how I would go about getting back into GetWebResult to set the appropriate return values before it is sent back to the client.

Wcf - Soap Request Client To Webservice Using .net? stackoverflow.com

How do I send/Receive SOAP messages usiung .NET I wanted to invoke a webservice, however not like the way shown in the link above.What I did was, created a service reference with the wsdl url(in a windows application with a button click event) [URL] have created a client object Dim objProxy As MyClient = New MyClient() I have populated the objrequest and objreqheader using the below methods, (assigning string values and not xml) objreqheader.id = "abcd" Finally the below line invokes the service objresponsehead = objProxy.myoperation(objreqheader, objrequest, objresp) From reference vb, this is the myoperation public function Public Function myoperation(ByVal RequestHeader As AFA.RequestHeaderType, ByVal GetTransactionDetailsReq As AFA.GetTransactionDetailsReqType, <System.Runtime.InteropServices.OutAttribute()> ByRef GetTransactionDetailsResp As AFA.GetTransactionDetailsRespType) As AFA.ResponseHeaderType [code].... I checked the property of objProxy, it is having basic http binding as the property. Anyone invoked the service like this? From soapui, the response is fine, after i populate the request fields.How can i enable the trace to see what is the request going and where is the problem.

Jquery - Getting An XML Error Messages For JSON? stackoverflow.com

UPDATE 2: I did not mention that I do not get the error below in Chromium, but I do get it in IE8. UPDATE 1: Response Headers: HTTP/1.1 200 OK Date: Fri, 20 May 2011 15:40:23 GMT[code]..... Why does that happen and how can I stop the error message from appearing?

Parsing - Flex 3: Getting Error Of "Parse Error At '<mx:ComboBox>'> stackoverflow.com

<mx:List columnCount="5" rowCount="11" width="100%" height="100%" dataProvider="{parentDocument.crewPositionsAC}" useRollOver="false" alternatingItemColors="[0xffffff, 0xe5e5e5]" borderStyle="none"> <mx:itemRenderer> <mx:Component> <mx:Text text="{data}" color="#840021" selectable="false" /> <mx:ComboBox id="studentType"> [Code]... Anybody able to see what's causing the error?

XML :: Flex - Read File From Client And Parse To Server stackoverflow.com

I'm trying to read a xml file from client. After search for it. I have got to upload the file to the server with this code. var imagesFilter:FileFilter = new FileFilter("*.jpg,*.gif,*.png", "*.jpg;*.gif;*.png;*.jpeg"); fileRef.browse([imagesFilter]); But what I want to do is to read the file from client and parse it without uploading it to the server.

Actionscript 3 :: Loading Swf As Custom Class That Extends MovieClip - Getting Null Object Reference stackoverflow.com

I followed the example from a previous question and I am loading an external swf using a loader and inside the loader event handler I am trying to cast the loader.content as my custom class PanelReferenceClip which extends MovieClip When I publish I receive a this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. Just to make sure and test that the swf location was correct and the swf was actually being loaded, I changed the type of the content to as MovieClip and it worked fine. EDIT: I also wanted to add that these swfs are being stored locally and not being pulled across the internet, multiple networks or servers. I am not sure if I did something quirky in my class so I am providing the source to my custom class PanelReferenceClip package com.components { import com.UI.DevicePanel; import flash.display.MovieClip; [Code]....

ActionScript 2.0 :: Getting Json Data With A Useragent From Server www.actionscript.org

sendInfo = new LoadVars(); sendInfo.addRequestHeader("User-Agent", "myagent"); sendInfo.onLoad = function() { trace(sendInfo.loaded): }; sendInfo.load("url");//for getting JSON data My Result is false and the firefox browser is still loading data from server. how to use useragent in actionscript2 and also how to get json data. I don't know is it json data problem or another

Getting Appending Html In Csv File (open In Excel) After Download From Server To Local Machine forums.asp.net

I have created a CSV file on the server and want to send it to the user using the following code: Dim strPhysicalPath As String strPhysicalPath = Server.MapPath( "CSV/" & PathVirtual) Dim objFileInfo As System.IO.FileInfo = New System.IO.FileInfo(strPhysicalPath) Response.Clear() Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("Content-Disposition", "attachment; filename=" & objFileInfo.Name) Response.AddHeader("Content-Length", objFileInfo.Length.ToString()) Response.WriteFile(strPhysicalPath) Response.Flush() Response.End() This seems to work fine except when the downloaded file is viewed in Excell the html code behind the page from which it came is also appended to the file.  Does anyone have any idea why it does this?

Web Forms :: Getting Name Of Saved File? forums.asp.net

When saving a file using vb.net: file.SaveAs("c:/xx/xx/xx/xx/xx/" & file.FileName) If a file is saved that already exists, is there a way to capture the saved filename?

How To Install Ffmpeg, Ffmpeg-PHP, Mplayer, Mencoder, Flv2tool, LAME MP3 Encoder www.webhostingtalk.com

When i try to install all those things i am getting error...i am following the things given in below link but i am not to excute this svn command [url]

How To Save And Secure Reliable HTML For Browsers IE7+ FF And Chrome forums.asp.net

I have an [URL] HTML editor, and it has an on/off switch for UNICODE. What should I do ? I am allowing users to save HTML posts to a SQL server varchar(MAX) field. TO read saved HTML posts I bring HTML back into a TABLE with  literal label. I do .innerHTML = SAVEDHTML So I want safe and secure reliable HTML for browsers IE7+, FF and Chrome ?

.net - Open Default Mail Client With A Link? stackoverflow.com

I have an HTML link on my ASP.NET page. When the user clicks the link, an Outlook window will open. However, it changes the URL on my page also to mailto:reddy@yahoo.com. How to stop it? <a href="#" onclick="window.open('mailto:reddy@yahoo.com?Subject=upport','','200','200');" style="color: White">Contact Support</a>

Hyperlink Column In Gridview - Getting Error On Clicking Link forums.asp.net

I have a site with a functioning database for members displaying location info. One column is shows their web address. When I set this column to be a hyper link column and then go online and click the link, I get an error. It seems that the database thinks this link should point to a page within the site instead of the home page of a completely different web site url. What property do I need to set to get the link to send the visitor to the member web site? I used VWD 2005 to create the site and use SSMS Express for changes on the remote server.

Change Host, Change Domain And Getting Search Engines Up To Speed www.sitepoint.com

Has anyone helped clients transition from one domain to another? Maybe dissolving a partnership or renaming their company... so a new domain name has been registered and a new website created. 2 Issues: #1 Using .htaccess 301 redirect We used the following command line in their old website's htaccess file Redirect 301 / [url] The goal was to get people try to visit any page of their old website (i.e. OldWebsite.com/contact.html) redirected to their new website (i.e. NewWebsite.com/contact.html). Isn't that supposed to change the address bar's URL, too? For some reason, I visit their old site and I seem to be redirected to their new website but the address bar still has their old domain name? Something is going on??? #2 Having their new company name for 2 years now. People can enter her new company name in Google, MSN or Yahoo. Her new company name appears in the search results but has the old domain name associated with it. We are trying to get rid of any reference to that old domain name? What's the easiest way to do this? So what people see in search engines is: New Company Short Meta Description www.OldDomain.com What steps did I miss in this transition? What steps do I have to take on their old website/old web server to control it's appearance on search engines and make sure people get to the new website?

How To Get HTML File Upload Full Path In Client Side www.sitepoint.com

how i get html file upload full path in client side.

Web Forms :: How To Get Full Path Of Picture By File Upload In Client Machine forums.asp.net

how can i get full path of picture by file upload in client machine

Media Temple Grid Service Hosting With Clients www.webhostingtalk.com

I currently own a reasonably sized VPS paying around 40/$80 a month for it. I am extremely happy with the service but I have recently move from freelance to being hired by a company. I wish to scale down my costs so looking at other options. I hear a lot (mostly good) of things about MT and was wondering what peoples experiences are - particular with ease of use, support and uptime. I would also like to know about how the normal shared hosting option works for people hosting some clients website and email. I currently have around 10 clients hosting with me and 100 emails. Is it easy for clients to use and i assume pop and imap are supported. I currently run my VPS on cpanel. would it be easy to transfer everything or is it very much of a manual job?

ADO.NET :: EF4 CTP4 - Getting Error Message forums.asp.net

Im getting this error message [Code].... global Application_start [Code]....

C# - Getting Variable Values Out Of XSLT File? stackoverflow.com

I wanted to find out if there is a way of getting a parameter or variable value out of an XSL file. For example, if I have the following: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:variable name="username" select ="usertest"/> <xsl:variable name="password" select ="pass"/> <!-- ... --> </xsl:stylesheet> I would like to read the username and password values from the XSL and use them for authentication. I am using ASP.Net and C# to perform the actual transform on an XML file. share code with me that would allow me to read the XSL variables from ASP.NET/C#.

Trying To Host App On IIS - Getting An Error www.vbforums.com

I am trrying to host ASP .NEt app on IIS v 5 and keeo getting this error: Line 4: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

Getting The Parameter Values Being Passed To SQL Database Via SQLDataSource Control stackoverflow.com

I have a SQLDataSource control that is calling a database stored procedure, and passing quite a large number of paramaters, and the stored proc returns records that populates a gridview control. When I walk through the code behind to determine the values being passed, is there any way that I can see exactly how the parameters are being formated and passed to the stored proc?

ADO.NET :: Getting Error As Failed To Convert Parameter Value From A String To Date Time forums.asp.net

data.MakeInParam( "@DOB",SqlDbType.DateTime,10,cust.DateOfBirth), im new to .net,  reponse grt intput for me to get in to it.

How To Set Browser Properties forums.asp.net

I know by using Request.Browser and then by either selecting ScreenPixelHeight or Width that I can grab the browser's height and width. My question is how, can I set the height or width the other way without using JavaScript?

Difference Between Client Browser's Submit Mechanism And Postback Mechanism? stackoverflow.com

While going through MSDN I found that in button properties useSubmitBeheviour there is written that if useSubmitBeheviour is true then it cause the Button control to use the browser's submit mechanism and false then the ASP.NET page framework adds client-side script to the page to post the form to the server.

Browser Not Handling Exception From AJAX Panel - C# stackoverflow.com

i am having trouble catching errors in an AJAX panel. Even when i throw an exception in the c# code behind the front end completely ignores it. Here is the code i have setup, can anyone see why? I ideally want to show a js alert window on error. protected void btnX_Click(object sender, EventArgs e) { throw new ApplicationException("test"); } protected void ScriptManager_AsyncPostBackError(object sender, AsyncPostBackErrorEventArgs e) { ScriptManager.AsyncPostBackErrorMessage = e.Exception.Message; } Markup: <script type="text/javascript" language="javascript"> Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); function EndRequestHandler(sender, e) { window.alert(e.get_error().name); } </script> <asp:ScriptManager ID="ScriptManager" runat="server" AllowCustomErrorsRedirect="true" OnAsyncPostBackError="ScriptManager_AsyncPostBackError" />

Web Forms :: Blocking Autocomplate Textbox On Browsers? forums.asp.net

I have a bookingwith credit card page in my application and users will enter their crdit card details inside the textboxes. but after they  enter them and post it the browser cache the data and after that in the same textbox, it can be autocomplated.

Jquery - MVC Controller Not Getting Hit? stackoverflow.com

I can't get my Controler action method to get hit when I click 'Detail View' tab, or any tab for that matter However, I can get the action method to hit if I comment out 'return false;' in the javascript section but then my 'Selected' tab is not maintained. <script type="text/javascript"> $(document).ready(function () { $('.test').click(function () { $('.test').removeClass('selected'); [Code]....

C# - How To Efficiently Send Large Files From The Database To The Browser stackoverflow.com

In my web application I am working with files. Some files are very large. I use Response.Write() to write the file to the browser. This goes well for the smaller files, but for large files this can take a while and the bandwidth is fully used. Is it possible to split large documents and send it piece by piece to the browser? Are there other ways to send the document quicker to the browser?I hold the document as a property of an object.

C# - Getting Geographical Coordinates From Web Application? stackoverflow.com

I want to learn a user's location from his mobile device by web application. When user opens the website, with the help of a script we will learn if the device has a gps hardware.And if the device has gps hardware what are the current coordinates? I'm developing my project using ASP.NET

Ajax - Long Process And Sending Updates To Browser stackoverflow.com

I've asked this before but I was hoping for another answer and perhaps some code samples because I've been having a difficult time with this. I have an asp.net page. The user hits the "Run" button and I have code IN AN ASSEMBLY, not in the APP_CODE folder that is called and runs a long process that moves product info from a file into the database. While the user waits, I would like them to see status updates like what product the import process in on and status info. I'm assuming I'd break off into another thread and use Ajax but I have no idea how to do this.

Forms Data Controls :: Getting Error / Could Not Find Control 'GridView1' In ControlParameter 'ID' forums.asp.net

I am working on a project and I need to use Master/Details view, the problem is everything works fine except when I place the Master (gridview) and Details(FromView) in different content holder. The error I get is: Could not find control 'GridView1' in ControlParameter 'ID'. Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Could not find control 'GridView1' in ControlParameter 'ID'. My code is: [Code].... [Code].... [Code].... [Code]....

Databases :: Getting The Column From Sql Or Dataset? forums.asp.net

[Code].... This is the part where I check whether there is an output   [Code]....  Using the same sql as above, I obtain the value of the column using the datareader Am i doing it correctly because i dont get the output that i wanted

Getting Error While Adding Identity Column To Datatable? forums.asp.net

I am getting the error while adding identity column to datatable. DataSet ds = new DataSet(); ds.ReadXml(_absPath); DataColumn identity = new DataColumn("ROWINDEX",typeof(int)); identity.AutoIncrement = true; identity.AutoIncrementSeed = 0; identity.AutoIncrementStep = 1; identity.ColumnMapping = System.Data.MappingType.Element; ds.Tables[0].Columns.Add(identity); I am getting the null value from "ROWINDEX" column

Web Forms :: Why CheckBox Is Not Getting Checked On OnCheckedChanged forums.asp.net

I have a CheckBox field inside a Formview. <asp:FormView ID="_fvApplicant" runat="server" DefaultMode="Edit" OnItemDeleting="ApplicantItemDeleting" Width="100%" DataSourceID="_dsApplicant" ondatabound="ApplicantFormBound"> <asp:CheckBox ID="_chkSuitable"   OnCheckedChanged="test" AutoPostBack="true"  CausesValidation="true" runat="server" Checked='<%# Bind("Suitable") %>' /></td> In my Code Behind in test method I am trying to set the checked to true, but in the ApplicantFormBound event when i debug it is never true...any reasons why? Basically I want to set the Validator to true when checked. protected void test(object sender, EventArgs e) {                 CheckBox vld = (CheckBox)_fvApplicant.FindControl("_chkSuitable"); vld.Checked = true; _fvApplicant.DataBind(); } protected void ApplicantFormBound(object sender, EventArgs e) { var chk = (CheckBox)_fvApplicant.FindControl("_chkSuitable"); if (chk != null) {........

AJAX :: ModalPopupExtender Not Getting Displayed After Async Method Call? forums.asp.net

In our application we have a scenario where we need to display a panel using modalpopupextender after performing an async call on the server. We were using the Show method for displaying the popup. It used to work fine without any async call. But when an async call was introduced during the request processing the popup is not getting displayed.

Getting Exceptions On Sending Email forums.asp.net

I am trying to send email, using Gmail. But i am getting exception.... System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout) at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback) at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback) at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout) at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at _Default.btnSendmail_Click(Object sender, EventArgs e) in

Databases :: Oracle.DataAccess.Client.OracleException: ORA-03113:end-of-file On Communication Channel forums.asp.net

ORA-03113: end-of-file on communication channel Exception details: Oracle.DataAccess.Client.OracleException: ORA-03113:end-of-file on communication channel  My database is Oracle 10g, I am using .NET Framework 3.5 with Visual Studio 2008.  It happened only once when first time in the morning I open my URL in my test server then this error popup at very first page of my site.

DataSource Controls :: ObjectDataSource Select Method Getting Called Twice forums.asp.net

m using gridview with ObjectDataSource on my  page ... I have enabled default paging for grid and ODS... The problem m facing is,on page load select method for ODS is getting called twice ... how to restrict auto call to this method of ODS?

C# - Getting Action Filters List From Base Controller? stackoverflow.com

In Short: Does any know a way from the base controller to get a list of actionFilters being applied to the current executing action? The Long:I am using ASP.NET MVC 1.0 framework. I have a "RequireSSL" actionFilter that I've recreated for checking out, however, if someone leaves the checkout and goes back to the store I would like to forward them back to non-secure version of the site.It would be helpful in the base controller (I am using a custom base controller that inherits from the default Controller) to find out what actionFilters are being applied to the current action.I could include this into the global.asax.cs

How To Remove Browser Action To Repeat Handle Event Earlier stackoverflow.com

I have a registration page where I am saving some information. That is running successfully but when I press ctrl +F5 after registration. I get a message by browser to repeat event which is handled earlier. I have done blank all text values and to false viewstate of every control but It is saving 2 times.

How To Disable Focus To Browser stackoverflow.com

how to disable focus to a browser. i am currently working in .net application and i need to disable the tab focus to browser objects such as toolbars,address bar, since the user will not be using these components often.

Disable Cross Hairs In Browser? forums.asp.net

Can someone tell whether it is possible in ASP 3.5 using VB to disable the crosshairs in an IE Browser? If so, how do you do it? Reason being is because I want users to exit my app through an exit button

C# - Best Way To Store Data On The Client Side - JQuery stackoverflow.com

Clicking 'Edit' for a row expands it (using JQuery) to reveal the full horror of all the associated editable objects. One of these is a list of documents associated with each row and needs to be JQuery-editable so the user could click 'edit' to open up the full row gui, then un/select checkboxes to de/associate documents and then hit 'Save' to persist everything. Currently I'm using nested repeaters to store the initially-hidden fields - the repeater generates a hidden formfield containing a comma-separated list of IDs for the assoc documents. When it comes to populating the Edit gui I do a split operation on the delimited string and set/unset the checkboxes as required. This is proving a nightmare from a maintainability perspective and in my frustrated wanderings of the web in search of a solution i noticed JQuery has some functionality to act as a client-side database. Does any one have any experience of this, and if so, would you recommend it? My custom JS to parse csv-strings and dynamically build the gui is starting to grind me down a bit.

State Management :: Passing Data Client To Server Using Hidden Field forums.asp.net

I am trying to pass data from client to server using a hidden field. If I use a button, then OnClientClick sets the value, and OnClick does the postback and all is well. However, I am responding to a Client event, and although this works I get no postback. How do I now force a postback from my client handler?

Mysterious Space Added By Mozilla Browser? forums.asp.net

I am testing my page using mozilla firefox 3.5.3 version. I have this annoying problem wherein a mysterious space is being added automatically on top(between the top side of the browser display window and the first element within the div) when I use a divEx:html code: <div id="headerdiv">--%> <%-- <div id="homepicdiv" style="float:left;margin-left:20px"> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="pictures/homelogo.gif" [code]...

JQuery :: Getting A Widget That Displays New Image After A Fixed Amount Of Time? stackoverflow.com

I don't know exactly how it's called (Image-timer? I'm not sure), but here are the functionalities. Let's say I have a div where I need to display a group of images in loop, one at time (each 5 seconds, for instance). On top of that, I'd like some effects, such as fading out when an image replace an other.

Width & Height Of Browser Viewport. bytes.com

How can I get visible viewport dimensions of any browser?

PHP/SSL - Client Certs How To Distribute ? bytes.com

I'm interested in developing a script which would make use of openssl_x509_read to read a certificate presented in the HTTP headers when accessing an SSL page. But here's the question ... what are ways of distributing certificates to the clients ? Imagine I have 3 customers in total but when foo.php is requested I only want 2 of them to see a full response. I could go around to their offices and install the client certificate and everything would be fine - but what happens when there are 200 or 2000 certificates to install ? Bearing in mind I need to be sure that only the right people are getting a certificate. I'm sure it's not a new question but can anybody point me in the right direction please ?

Web Full - Fledged Browser Automation Tool For Testing User Interactions With Widget Library stackoverflow.com

I've realized I need a full-fledged browser automation tool for testing user interactions with our JavaScript widget library. I was using qunit, starting with unit testing and then I unwisely started incorporating more and more functional tests. That was a bad idea: trying to simulate a lot of user actions with JavaScript. The timing issues have gotten out of control and have made the suite too brittle. Now I spend more time fixing the tests, then I do developing. Is it possible to find a browser automation tool that works in: Windows XP: IE6,7,8, FF3 OSX: Safari, FF3? I've looked into SeleniumIDE and RC, but there seems to be some IE8 problems. I've also seen some things about Google's WebDriver, which confusingly seems to work with Selenium. Our organziation has licenses for IBM's Rational Functional Tester, but I don' think that will work on the MAC.

Dynamically Scale Text Size Based On Browser Width? stackoverflow.com

Here is the project this is for: As you can see, right now the text size is just set to a static size. I'd like the text to always be ~90% of the width of the window but to also scale the vertical size accordingly. Is there a relatively easy way of doing this?

Jquery :: Get Center Of Width In All Browsers stackoverflow.com

I have following code to get center of width: But it did't return correct center of screen. What i need to get correct center horizontal.

Jquery :: Determine Browser Height & Width To Resize Image To Full Screen stackoverflow.com

I am trying to use jquery to get the browser height and width and than to use that information to resize my image to fit that dimensions. I want the images to be full screen on each page whether it is viewed on a lap top or a large monitor. I have all my images at a standard width of 1280 dpi now. To view what I have so far I have posted my code to my nyu account: [URL]

Jquery :: Draw In Arrow On A Web Browser? stackoverflow.com

Given two point, (x, y) and (x1, y1), how do I draw an arrow between these point a the web browser. Can jQuery or HTML5 does this?

Cross Browser - IE Setting Style.left Not Working? stackoverflow.com

I'm struggling setting a style attribute to a div that's created via javascript.The flow is:The script loadsIt creates a <div id="test">It sets attribute style="top: 20px; left: 10px; margin: 0px; position: absolute;"Everything works fine with all other browsers but when it comes to IE things just don't work.How can I set those style attributes in IE ? So far with this code: var div = document.getElementById('test'); div.style.left = "10px"; div.style.top = "20px"; [code]....

Build A Photo Gallery For A Client www.sitepoint.com

I am trying to build a photo gallery for a client of mine. I have been searching the Internet via Google to find a suitable one, but haven't got anywhere. Please see the attached gif for an example of what I am after. I believe that JavaScript is the language that the photo gallery needs to be build with.

Photo Gallery Where Client Add Captions? www.codingforums.com

recommend a good photo gallery? My client would like to be able to upload her own photos and wants to be able to add captions (a must). Can anyone recommend a good canned galley, or let me know where I could find some code? I found an exellent free gallery called "Pure Gallery" which is a front end that works with "Gallery CMS" (backend). It is actually creates an swf file and has an interface for the client, but the problem is that it leaves about a 300 pixel gap at the top of the gallery and I cannot for the life of me figure out how to change it. It is awesome, but the gap at the top makes it useless to me. what "Pure Gallery looks like, you can see it at this link to my site. [URL]....

Modify Browser Word Wrap Behavior? stackoverflow.com

I notice that when the browser (firefox, safari) wraps text, the space where it breaks to wrap (the last space of a line) gets turned into a zero-width space, i.e, when you create a mouse selection across multiple lines in a paragraph, the space where it breaks does not visibly show. Is it possible to change this behavior so that the breaking space retains its width?

Link Detect And Replace The Other,in Js? stackoverflow.com

I wonder how Replace automatically links on my site that start with: http:[url].....to: http:[url]..... detects> replaces