parent

Merge parent-child property using linq

Hi, Is there a LINQ way to accomplish this? Any help is greatly appreciated. class Program { static void Main(string[] args) { Parent parent1 = new Parent(); parent1.Name = "P1"; Parent parent2 = new Parent(); parent2.Name = "P2"; Child child1 = new Child(); child1.Name = "C1"...

In Javascript, how do I transfer data from a text/html typed object to its parent

I have an <object id="objPage" data="source.html" type="text/html"><object> containing an HTML page, on the same domain. I am trying to send a String through Javascript from source.html to its parent, which is an aspx page. I need the child to be able to send that information. Any idea? So basically it's: [ASPX] [OBJECT] This s...

LATEST version of parent project in Maven

Hi, I am using Maven2. I have created a parent POM for my organization. I want the various groups will use it as a parent for their project but I want them to use the latest version. for some reason, using it as a parent with version LATEST doesn't work, any idea? Thanks, Ronen. ...

How do I get a link to parent node in nodecomments in drupal 6?

I know the ideal place to ask is at . I posted my question in the drupal support forum and under the nodecomments module as an issue. I have also consecutively posted this question once a day for the past 3 days in the drupal support IRC channel. No answer. Hence, I have decided to try my luck here. I am running on the current setup ...

C# child class returning a unknown type (futher: from parent)

i have interface: public interface Inx<T> { T Set(Data data); } simple class with this metod public class Base { ??? Set(Data data) { ... } } and parent class like that: public class Parent : Base, Inx<Parent> { ... } i want to return Parent type from Set metod in child class It's possible ? I need it do to something li...

C# enum in interface/base class ?

Hi, i have problem with enum I need make a enum in base class or interface (but empty one) class Base { public enum Test; // ??? } and after make diffrent enums in some parent classes class Parent1 { public enum Test {A, B, C}; } class Parent2 { public enum Test {J, H, K}; } and now i have next class with method when...

how to make child divs always fit inside parent div?

My question is if there is a way, without using javascript, to cause child divs to extend to the borders of their parent, without exceeding those borders, when you cannot know beforehand the size of the parent div? Below is sample markup/styles demonstrating my issue. If you load it into browser you will see that #two and #three both ex...

Updating a http parent page from a https page via Javascript

Hi, I have a unsecure page which opens up a secure (https) page. The secure page needs to update the parent page via a javascript submit() while still remaining the current window. However when I try to do this via javascript I get an "Access Denied" javascript error because the parent page is unsecure. Any idea of how I can access th...

Accessing AJAXed elements via jQuery and changing their parent

Im trying to get ajaxed content to alter their parent. How can I do this with jQuery, I can't seem to get the syntax right. <div id="menu"> <a href="#" id="show_names">Show Names</a> </div> <!-- AJAXED CONTENT --> <div id="content"> <a href="#" id="person">Janice</a> <a href="#" id="person">Steve</a> </div> <!-- AJAXED ...

Show child element above parent element using CSS

I have two divs, one nested inside of the other. The parent element has a defined width/height. How can I show the child div above the parent (outside of it) using only CSS? EDIT: Sorry, maybe I should clarify that I mean "above" as along the z axis. And yes, I already tried z-index. My problem is that when the child element is larger ...

How can I determine what function called another function in ActionScript 2?

I have a function (FunctionA) that is being called by another function (FunctionB). The problem is, I'm not sure which function "FunctionB" is. I have this snippet of code: function FunctionA():void { trace("This function was called by " + ???); } I need to figure out what to put for "???" so FunctionA's trace statement looks like ...

advanced selection problem

Okay... how do I select a element's parent's child with specyfied class name..? ...

How to cause a postback of the Parent page from an UpdatePanel?

I have a LinkButton which is in a Panel that contains an UpdatePanel. When clicked, the only thing that happens is the Panel closes. I need to do a postback to the parent page. How do I do it ? ...

How do I get the parent category name in wordpress template? And can I query post by the parent category?

I tried getting help on the wordpress forums but no luck. Anyways, heres my question... Lets say i am creating 10 parent categories and 2 sub categories to each parent. My wordpress post belongs to one sub category of a particular parent category How do i get the parent category name ONLY? i don't want subcategories names? what wordpre...

Checkbox changes the parent tr, and the inputs contained within...

Hi guys, Not sure of the best way to explain this... I have an input where you can enter two times, but also a checkbox if you wish to omit a certain day, thus rendering the inputs kinda useless, so I'd like to disable them... Here's what I have at the moment for the HTML (repeated 7 times): <td><div>From:</div><input type="text" name...

How do I get the Chart Series' Parent's Parent's Parent's detail?

Hi All, I am having some difficulties of getting the ancestor of a chart series on silverlight. I can get the parent, but it is a type of Primitive, and then I can get to the parent of that parent by specifying the type, however, I am not sure how many level deep can that be when it reaches to the Chart, and I would like to get to the ...

Show data sorted by parent objects

Hey guys, i have a problem and don't really know, what to search for to find a solution. Description: I have a mysql table with the following colums "id", "name", "value", "parent" with "id" as primary key. "id" is a autincreament number, "name" is the name of the category, "value" is the value of the category and "parent" is the pare...

javascript - Can not access cross domain parent element inside my iframe

Hi all. Below is description of my que: I have added bookmarklet feature to my site. For this, I have provided one link called "my bookmark" in my site.. So, I will drag that link to bookmark and it will be added to bookmark. So, from now, when I m visiting other site say "yahoo.com" .. and I like any content of that site so I can se...

MDI parent background image

I have tried absolutely everything I could get my hand on, and it just won't work ! Has anyone ever solved this problem? I can put my image in the back, but it works only if the form never tries to be resized (shrinking is OK, growing leaves empty grey space...) ...

Php - get parent-script name

Hello, i have this: parent.php: require_once 'child.php'; child.php: echo __FILE__; It will show '.../child.php' How can i get '.../parent.php' ...