Current location: Hot Scripts Forums » Programming Languages » ASP.NET » Validate Custom Control Please Help.....


Validate Custom Control Please Help.....

Reply
  #1 (permalink)  
Old 05-02-06, 08:39 AM
sensitive sensitive is offline
Banned
 
Join Date: Feb 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Question Validate Custom Control Please Help.....

Hi, All

I am using the following code for custom control. Aim is to populate this control through a Popup window's text field.

Page1: -
<CUSTOMCONTROL:RICHTEXTEDITOR id="RichTextEditor1" runat="server" Width="664px" Height="350px" BorderStyle="None" Text="" BackColor="#F4EFDE" HideInsertTable="true" HideInsertLink="true" HideInsertImage="true" HideInsertDate="true" HideBackgroundColor="true" HideAbout="true" HideToolBar3="true"></CUSTOMCONTROL:RICHTEXTEDITOR>

Popup Window: -

Response.Write("<script>" & vbCrLf)
Response.Write("alert(window.opener.document.getEl ementById('RichTextEditor1');")
Response.Write("window.close();")
Response.Write(vbCrLf & "</script>")


I am trying the above code but unable to get results.
Please Help me out. i Would be very thankful.

Regards,
Reply With Quote
  #2 (permalink)  
Old 05-02-06, 04:45 PM
koncept
Guest
 
Posts: n/a
i have not worked with the component in question here. but the javascript code you have posted appears ot have a space in the field name. i would also try response.write(richtexteditor1.text)
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom IE Toolbar Development for your company or Website Chadhaajay General Advertisements 0 10-28-05 01:01 AM
SHOUTCAST HOSTING CONTROL PANEL $14.99 /month! The Long Awaited Software Has Arrived! SCPanel General Advertisements 0 09-21-05 11:05 PM
Source Control Review denasinc@ ASP.NET 1 04-25-05 02:41 PM
Custom Control? mike_wilson Windows .NET Programming 0 04-19-05 11:54 AM
Disable form fields to be submitted RickyRod JavaScript 2 05-24-04 10:15 AM


All times are GMT -5. The time now is 01:09 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.