TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mike Jonson
NA
239
193.3k
Download method from my uses class to HTML page. Please help!
Jul 28 2011 7:56 PM
For three days I think. I dont now why not work!
I created a custom control. Toolbar: System.Windows.Forms.usercontrol
And he added it to the html page.
<object id = "myToolBar" height="100" width="1000"
classid="http://localhost1477:/TestJob/MyToolBar.dll#MyToolBar.Toolbar">
</object>
The my class ToolBar has a method LoadXml ().
On the page I added a button. Pressing this button should call this method. How to call it? In the task just says that i need use javascript?
I have try this:
<script type="text/javascript">
function Button1_onclick() {
myToolBar.LoadXml("http://localhost:1477/testjob/res/xml1.xml");
}
</script>
But not work! Help to understand, I am suffering for three days)))) Please!
Reply
Answers (
1
)
SMS Send/Receive
Use of Autowireup in ASP.NET