By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,300 Members | 1,795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,300 IT Pros & Developers. It's quick & easy.

how to cause button click event from another frame

P: n/a
I have one frame that needs to cause a button click event on another frame.
I was trying to do this by putting a display:none LinkButton on the target
frame, and having a javascript on that page that can be called by the remote
frame, and the javascript would say btn.click() ... but that doesn't cause
the form to submit. How can I accomplish what I am after (firing the event
for the specified button when triggered from a remote frame)?

Thanks,
Brad
Jan 31 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
a link button works by calling javascript to postback. use a submit button
(asp:button).

-- bruce (sqlwrk.com)

"bradw2k" <br*****@discussions.microsoft.com> wrote in message
news:89**********************************@microsof t.com...
I have one frame that needs to cause a button click event on another frame.
I was trying to do this by putting a display:none LinkButton on the target
frame, and having a javascript on that page that can be called by the
remote
frame, and the javascript would say btn.click() ... but that doesn't cause
the form to submit. How can I accomplish what I am after (firing the
event
for the specified button when triggered from a remote frame)?

Thanks,
Brad

Jan 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.