Click here to Skip to main content


AnswerRe: javascript PinmvpRahul Rajat Singh19-Feb-13 0:52 
AnswerRe: javascript Pinmemberryanb3119-Feb-13 3:37 
QuestionJavaScript run slow with Ipad iOS 6 Pinmemberkornkimhour13-Feb-13 23:59 
QuestionJavaScript: How to reference user control inside content page? PinmemberTesic Goran12-Feb-13 21:36 
I use ASP.NET.
This is structure I have:
Master page -> Content page -> User control -> Telerik grid with its context menu, hidden field.
This means: Master page contains content page, content page contains user control, user control contains Telerik grid with its context menu and hidden field.
I open popup window by clicking option in Telerik grid's context menu. After I choose some option in combo box in that popup window I press OK and close it. But I don't know how to reference opener that should be user control with Telerik grid and hidden field. I want to set hidden field to some value.
This is JavaScript code I use:
<script language="javascript" type="text/javascript">
    function ReturnValue() {
        var choice = document.getElementById("DropDownList1").value;
        if ((window.opener != null) && (!window.opener.closed)) {
            window.opener.document.getElementById("HiddenField1").value = choice;
But, it fails on this line because opener is master page:
window.opener.document.getElementById("HiddenField1").value = choice;
So, how can I make it work?
Thank you in advance.
SuggestionRe: JavaScript: How to reference user control inside content page? PinmemberBlikkies13-Feb-13 3:14 
AnswerRe: JavaScript: How to reference user control inside content page? Pinmemberryanb3114-Feb-13 4:33 
AnswerRe: JavaScript: How to reference user control inside content page? Pinmembertwseitex15-Feb-13 1:02 
Questiongetting rid of  &Nbsp's [modified] PinmemberBrianCampbellMCAD11-Feb-13 4:52 
AnswerRe: getting rid of  &Nbsp's PinmemberBrianCampbellMCAD11-Feb-13 9:17 
QuestionCreate Appointment in yahoo calendar using API Pinmembersrinivasan.p.t29-Jan-13 4:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 20 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid