I have a grid with 2 text boxes, 1 for a youtube link, the other for its description. When I paste the link into the textbox and click the save button, I get a javascript error and the page crashes. Heres the grid code
and this is the link im trying to save
Im basically setting up a data entry screen where users can save various youtube links for subsequent display on their website, surely this is possible ? Can anyone help me out ?
<telerik:GridTemplateColumn UniqueName="YouTubeLink" HeaderText="YouTube Link" SortExpression="YouTubeLink"> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "YouTubeLink")%> </ItemTemplate> <EditItemTemplate> <telerik:RadTextBox ID="RadTextBoxLink" Runat="server" Skin="Vista" Width="400px" MaxLength="2000" TextMode="MultiLine" Rows="10"> </telerik:RadTextBox> </EditItemTemplate> </telerik:GridTemplateColumn><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/xT4Kw3A0pHI?fs=1&;hl=en_GB"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/xT4Kw3A0pHI?fs=1&;hl=en_GB" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>Im basically setting up a data entry screen where users can save various youtube links for subsequent display on their website, surely this is possible ? Can anyone help me out ?