Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Problem with control InputFormTextBox

$
0
0

Hi!
I use Visual Studio 2013. I found default InputFormTextBox in Sharepoint 2013. But control (*.Text) is empty when I pressed button. We want to edit html-formatted text.
Control on ASPX page:

<SharePoint:InputFormTextBox ID="rtbShort" runat="server" TextMode="MultiLine" RichTextMode="FullHtml" Columns="100" Rows="10" RichText="true"/>

Code behind for button:

string str = strShort.Text;
Variable "str" and "strShort.Text" is empty.

Where did i go wrong? 


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>