Link to home
Start Free TrialLog in
Avatar of Eric_Trogdon
Eric_Trogdon

asked on

C# server side hyperlink

I have an internal C# application where the user can search for a member and once the member is found contact information is diplayed on the screen. I've had a request for the user to be able to click an Icon on the screen and have our Cisco phone system automatically dial the members number acording to the number in the text box.

I have recieved a HTML link from Cisco support but I'm trying to run the link from the server side. I've created a hyperlink named hlnkPhone. I've used a Mailto: in similar fashion but I'm having syntax errors with the link the Cisco rep gave me. I etiher get portions of the string commented out or it expects and end of statment when I use a ;

Below is what code I have. the text box that displays the phone number is named Phone. Can someone help me with the sytax

// PHONE
if(hu["phone"] != null)
{
    this.Phone = hu["phone"].ToString();      
    this.hlnkPhone.NavigateUrl = "https:" +cm1/webdialer/Webdialer?destination=+this.Phone &loc=+English%20United%20States;

}

this is the HTML link I was given from the tech support at Cisco

https://cm1/webdialer/Webdialer?destination='PhoneNumberHere'&loc='+ 'English%20United%20States
ASKER CERTIFIED SOLUTION
Avatar of DotNetThinker
DotNetThinker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Eric_Trogdon
Eric_Trogdon

ASKER

thanks....i feel like having one of those D'oh moments.