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?d estination =+this.Pho ne &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
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
}
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER