Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

C# server side hyperlink

Posted on 2007-04-02
2
Medium Priority
?
893 Views
Last Modified: 2013-12-16
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
0
Comment
Question by:Eric_Trogdon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
DotNetThinker earned 2000 total points
ID: 18837587
try this:

this.hlnkPhone.NavigateUrl = "https://cm1/webdialer/Webdialer?destination=" + this.Phone + "&loc=English%20United%20States";
0
 

Author Comment

by:Eric_Trogdon
ID: 18837772
thanks....i feel like having one of those D'oh moments.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question