try this one: var $j = jQuery.noConflict();
cheers,
Ernst
On Mon, Sep 29, 2008 at 2:00 PM, Ernst Naezer <[EMAIL PROTECTED]> wrote:
>
> you can try to run JQuery in safe mode and use that to perform the tasks
>
> On Mon, Sep 29, 2008 at 1:59 PM, bdaniel7 <[EMAIL PROTECTED]> wrote:
>>
>> Indeed, jquery.1.2.6 breaks the ajax functionality.
>> this is a problem because I need jquery for some small tasks...
>>
>> On Sep 29, 1:57 pm, bdaniel7 <[EMAIL PROTECTED]> wrote:
>> > I removed the calls to jquery scripts, which i was using for some
>> > tests and the Ajax calls works now.
>> >
>> > Dan
>> >
>> > On Sep 29, 11:53 am, "Ernst Naezer" <[EMAIL PROTECTED]> wrote:
>> >
>> > > Hi,
>> >
>> > > well I've tried the same code here, and it works just fine... could it
>> > > be a
>> > > css rule that hides the div?
>> > > maybe you can post the complete html + css ?
>> >
>> > > On Mon, Sep 29, 2008 at 10:39 AM, bdaniel7 <[EMAIL PROTECTED]> wrote:
>> >
>> > > > Hi,
>> >
>> > > > I'm using firebug and it shows no erros.
>> >
>> > > > this is the generated html:
>> >
>> > > > <a onclick="new Ajax.Updater('leftpanel', '/otis2/projects/index.mvc',
>> > > > {asynchronous:true, evalScripts:true}); return false;"
>> > > > href="javascript:void(0);">Projects</a>
>> >
>> > > > On Sep 29, 11:31 am, "Ernst Naezer" <[EMAIL PROTECTED]> wrote:
>> > > > > Hi Dan,
>> >
>> > > > > this question is a little bit hard to answer without seeing the
>> > > > > generated
>> > > > > html and perhaps the javascript errors. Are you working in firefox?
>> > > > > If so
>> > > > > you can try to install firebug (
>> > > >https://addons.mozilla.org/en-US/firefox/addon/1843) and check if you
>> > > >can
>> > > > > catch any errors.
>> >
>> > > > > cheers,
>> > > > > Ernst.
>> >
>> > > > > On Mon, Sep 29, 2008 at 10:07 AM, bdaniel7 <[EMAIL PROTECTED]> wrote:
>> >
>> > > > > > Hello,
>> > > > > > I have the following snippet in Layouts/default.vm:
>> >
>> > > > > > $AjaxHelper.LinkToRemote("Projects",
>> > > > > > $UrlHelper.For($DictHelper.CreateDict("controller=projects",
>> > > > > > "action=index")), $DictHelper.CreateDict("update=leftpanel"))
>> >
>> > > > > > + a left aligned panel:
>> > > > > > <div id="leftpanel">
>> > > > > > </div>
>> >
>> > > > > > When I click the link, it should call ProjectsController, action
>> > > > > > index
>> > > > > > and display the projects.
>> > > > > > in Index() i have:
>> >
>> > > > > > if (IsAjaxRequest) CancelLayout();
>> > > > > > ...
>> > > > > > load projects in property bag
>> > > > > > ...
>> >
>> > > > > > The code executes, however, nothing is displayed in the div.
>> >
>> > > > > > How can i make it work?
>> >
>> > > > > > Dan
>> >>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---