Decrease Font Size
Increase Font Size
   BLOG

Microsoft JScript runtime error: null is null or not an object

by bryian 24. February 2010 14:49

Microsoft JScript runtime error 'null' is null or not an object |

multiHandleSliderTarget.Handle |

MultiHandleSliderExtender | Microsoft JScript runtime error: null is null or not an object

 

Problem

I have an AJAX MultiHandleSliderExtender Control on the web page and everything work fine. Then I decided to include a Master Page to it, at runtime, I received the client-side error "Microsoft JScript runtime error 'null' is null or not an object".
This is a very weird error, the page work fine without the present of a Master Page. I started to look around and found out that the value of the ID and BehaviorID have to be identical. If you happen to come across the same error, give this solution a try. It work for me.

<cc1:MultiHandleSliderExtender ID="MultiHandleSliderExtender1" runat="server" ShowHandleDragStyle="true"
       BehaviorID="MultiHandleSliderExtender1" TargetControlID="txtSlider" Length="500" ShowInnerRail="true"
            EnableMouseWheel="false" OnClientDrag="Drag" Increment="1" OnClientDragStart="DragStart"
            RaiseChangeOnlyOnMouseUp="true" EnableRailClick="false"
            OnClientDragEnd="DragEnd"
            ShowHandleHoverStyle="true" Maximum="222" Minimum="1">
            <MultiHandleSliderTargets>
             <cc1:MultiHandleSliderTarget ControlID="rangeStart" />
                <cc1:MultiHandleSliderTarget ControlID="rangeEnd" />
            </MultiHandleSliderTargets>  
       </cc1:MultiHandleSliderExtender>

Comments

2/3/2010 3:38:48 PM #

armani jeans online

thanks for the solution of the problem, I'll try it on my website.

armani jeans online United States

2/9/2010 12:08:04 AM #

how to grow taller

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

how to grow taller Australia

3/24/2010 2:30:15 PM #

Joomla Web Design

It is very helpful post thanks for the solution and now i am going to try it on my website.

Joomla Web Design United States

10/26/2010 12:45:46 AM #

lilly pulitzer

Wow, my friend had the same issue, thanks for the advice.

lilly pulitzer United States

1/23/2011 4:24:23 AM #

Mozoot

Great share! Thanks for the solution, it was helpful.
Keep up the good work!

Mozoot United States