or
<select> <option value="First Option">First Option</option> <option value="Second Option">Second Option</option> <option value="Third Option">Third Option</option> <option value="Fourth Option">Fourth Option</option> </select>
private void LoadFramework() { try { // SETUP SEND MESSAGE // Create sender of string messages. IStringMessagesFactory aStringMessageReceiverFactory = new StringMessagesFactory(); myStringMessageSender = aStringMessageReceiverFactory.CreateStringMessageSender(); // Create output channel sending via Tcp. // Note1: Silverlight supports only ports of range 4502 - 4532 // Note: Set the timeout (miliseconds) for opening the connection and for sending messages. IMessagingSystemFactory aTcpMessagingFactory = new TcpMessagingSystemFactory(1000); IOutputChannel anOutputChannel = aTcpMessagingFactory.CreateOutputChannel("127.0.0.1:4502"); // Attach the output channel to the string message sender // to be able to send messages via Tcp. myStringMessageSender.AttachOutputChannel(anOutputChannel); // SETUP RECEIVE MESSAGE // Create the BrokerClient to subscribe and receive notifications. IDuplexBrokerFactory aBrokerFactory = new DuplexBrokerFactory(); myBrokerClient = aBrokerFactory.CreateBrokerClient(); // Handle received notifications. myBrokerClient.BrokerMessageReceived += OnBrokerMessageReceived; // TCP messaging for the communication with the desktop application. IMessagingSystemFactory aTcpMessaging = new TcpMessagingSystemFactory(1000); // Create the TCP output channel and attach it to the BrokerClient. IDuplexOutputChannel aTcpOutputChannel = aTcpMessaging.CreateDuplexOutputChannel("tcp://127.0.0.1:4510"); myBrokerClient.AttachDuplexOutputChannel(aTcpOutputChannel); blChannelLoaded = true; } catch (Exception ex) { blChannelLoaded = false; var x = ex; //RadWindow.Alert("Please load app1"); HtmlPage.Window.Invoke("TestSLCall", "Please Load SkypeLink"); } }