Hello
I'am new to Kentico development.
I'am trying to build a custom component. What I want:
1-a component that will have a text area (ie : cms:CMSTextBox).
2-A button next to it that when clicked will open a new navigator window to the value (URL) entered in the text area component).
Right now I want to do this using Javascript (JQuery). However I'am not able to find a way to get the value of the text area using pure javascript, is this possible ?
Here is a dumb of the ascx of my component :
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LinkTextBoxControl.ascx.cs"
Inherits="CMSFormControls_Basic_LinkTextBoxControl" %>
<cms:CMSTextBox ID="textbox" runat="server" />
<cms:CMSButton ID="btnOpenUrl" runat="server" CssClass="ContentButton" EnableViewState="false"
onClientClick="window.open('{textboxe.text}');"/>
Can anyone help me with this ?
Eric,