YES ! SUCCESS!!!
ok, I finally figured it out with the help of a few good articles.... it was the jQuery - 'this' problem for sure. Here is the js I finally ended up using:
//bind functions to menu buttons
jQuery('.veListItems a').click(Function.createDelegate(this, function(evt) {
//set the property
this.set_clickedMenuID(jQuery('.veListItems a').attr('value'));
//bind the function
clicked on item being passed = ' + this.get_clickedMenuID());
this._onLoadMyControl(this.get_clickedMenuID());
evt.preventDefault();
}));
.....
_onLoadMyControl: function(src, arg) {
this._displayWait(true);
dnn.xmlhttp.callControlMethod('Healthcomp.Modules.xEDI.ViewxEDI.' + this.get_id(),
'LoadMyControlById', { ClickedMenuItemID: this.get_clickedMenuID() }, this._delegates._ctlSuccessDelegate, this._delegates._ctlFailDelegate);
},
This is the post that got me moving in the right direction aspnetresources.com/blog/saving_this.aspx and this one helped out as well dotnetslackers.com/Community/blogs/xun/archive/2008/07/17/asp-net-ajax-event-handlers-the-very-very-basic.aspx. I wasn't able to use the 'self' variable described in the first link, but I was able to work it out with the suggestion of the second commenter. Apparantly, by using the MS Ajax 'Function.createDelegate' allows you to pass the original this to be used in the called function.
Man, o man...I am one happy lady right now! I've learned so much since trying to work with these templates...actually my whole DNN experience for the last 3 years or so has been like that. Makes me learn things on such a deeper level. Thanks so much Jon for the contributions....and much, much thanks to Oliver for helping me work this out! That's why I love this community!
Best !!!!
Briana
PS...the 'control not being found error apparantly is thrown in IE and I got it because the value I was trying to pass to the ControlMethod was null. Once I finally started passing values (I tried to pass a string to an Integer) . . I began to receive the error about incorrect input string. Just a little FYI for anyone who may be wondering why there method can't be found like I was. Also, I guess the namespaces on the Codebehind and on the javascript file CAN be different, but they just must be referring to each other correctly. But, I'm thinking I'll just keep them the same to make it easy.
YEA!!! Thanks Again!