Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:635948
More Search Options
RSS Available
Matching Posts
Re: How can I fetch the contents of HTMLEditor in javascript?
[quote user="Vince Xu - MSFT"] Hi, You can use $find('<%=editor1.ClientID%>').get_content(); get the conent of it. You can get more information about this from http://forums.asp.net/t/1424471.aspx [/quote] That works, thank you. Next question: is there any way to identify that this control is an editor (maybe you could add a "type" property to it like other list, select-one and that kind of stuff) controls?
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
dblock
on 10/5/2009
Re: How can I fetch the contents of HTMLEditor in javascript?
[quote user="alaa9jo"] [quote user="dblock"]What's the javascript code that can give me the content of the HTML editor that the user typed?[/quote] try this: view plain copy to clipboard print ? var editorObject = oboutGetEditorByClientId (' < % yourEditorName.ClientID% > '); var editorContent = editorObject .getContent(); var editorObject = oboutGetEditorByClientId('<% yourEditorName.ClientID%>'); var editorContent = editorObject.getContent();
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
dblock
on 10/4/2009
Re: How can I fetch the contents of HTMLEditor in javascript?
[quote user="x_com"] Hi, >>What's the javascript code that can give me the content of the HTML editor that the user typed? Try this: alert(document.getElementById("dirtyState").innerHTML); Note: "dirtyState" is the control's client ID. [/quote] This doesn't contain the text, and even if it did, for the dirty panel control I would need just the content (long story). Thx.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
dblock
on 10/4/2009
How can I fetch the contents of HTMLEditor in javascript?
Hola, What's the javascript code that can give me the content of the HTML editor that the user typed? I've been trying to get my dirty panel extender (which should be worked on a bit and added to the library :)) to work with HTMLEditor. The panel extender saves the original content, then compares to the new content when the page is navigated away. My problem is fetching the actual updated content. For an input box, it's .value, etc. Suggestions? Thx dB.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
dblock
on 10/2/2009
Re: Dirty panel extender for UpdatePanel
Sorry for the late reply. You can post questions on CodeProject . If those are asp:Button-s, it's not going to work. I don't know how to fix it. Otherwise, if they are links, have them do a postback and call dirtyPanelExtender.ResetDirtyFlag() within it.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
dblock
on 8/11/2009
Re: Dirty panel extender for UpdatePanel
I don't see anything wrong after a quick look, I recommend you work off the samples - get those to work on your machine, then copy from there. You need to be a bit more specific about "it doesn't work".
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
dblock
on 4/6/2008
Re: System.InvalidOperationException: No web service found at: /SnCoreWeb/ScriptServices.asmx
Solved . See http://forums.asp.net/t/1204961.aspx .
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
dblock
on 1/14/2008
Re: Serving /js proxy from a web service (WebServiceData GetWebServiceData can't find the .asmx file)
SOLVED: I build a new application where this problem wasn't happening and by trial and error and comparison found the issue. I needed to give Everyone read access to the physical files. This looks like a bug in the AJAX extensions, since VirtualPathProvider.FileExists should both use the physical file credentials specified in IIS configuration and throw an AccessDeniedException instead of returning false.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
dblock
on 1/14/2008
Re: Serving /js proxy from a web service (WebServiceData GetWebServiceData can't find the .asmx file)
[quote user="gt1329a"]Do you have /MyProject set as an application in IIS? [/quote] Yes. C:\Windows\System32\inetsrv>appcmd.exe list app APP "Default Web Site/" (applicationPool:DefaultAppPool) APP "Default Web Site/MyProject" (applicationPool:DefaultAppPool) Ideas?
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
dblock
on 1/14/2008
Serving /js proxy from a web service (WebServiceData GetWebServiceData can't find the .asmx file)
I'm having a puzzling problem with trying to serve http://localhost/MyProject/ScriptServices.asmx/js . I can hit the .asmx file just fine and call the web service, but I can't get the JavaScript (/js). I get an InvalidOperationException complaining that there's no web service at MyProject/ScriptServices.asmx. So I debugged the AJAX 1.0 source code down to WebServiceData GetWebServiceData and here's what I see. internal static WebServiceData GetWebServiceData(HttpContext context, string
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
dblock
on 1/13/2008
Page 1 of 10 (95 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online