More Related Resource Links

I just downloaded the project, compiled it and ran it right out of the box and when I put the mouse pointer over or remove the mouse pointer from either MenuItem in the menu demo, I generate this error:

I have been using properties and have idea that using properties with private fields we can implement validations and buisness rules in them.

But I am just thinking asp.net client side validation controls provide good strength and they provide good user experience as well. They can be used for any type of validation (using regular expression) on client side and their re-use is possible on server side. When validation controls are a must and they are powerful; is making properties not just wastage of time ?

I have an activity library containing several activites; one of my activities, let's call it MainActivity, contains another one, InnerActivity.
A code block in MainActivity sets some properties of InnerActivity, but then when InnerActivity is executed, these properties are null. Some of these properties being set are dependency properties, other are "plain" properties.
I had done the same thing in another activity and had got no problems at all.
Any hints why this is happening?
Thanks,
PaoloPaolo Tedesco - http://cern.ch/idm

I read around and tried everything to figure out the reason of the issue i'm getting, but i give up, the error i'm getting is only on IE and it's the "Undefined is null or not an object" error.This is it:Line: 29Char: 13Error: 'undefined' is null or not an objectCode: 0This is the script:<script type="text/javascript"> function checkV1() { if (document.getElementById('CB1').checked) ValidatorEnable(document.getElementById('CheckBoxListValidator1'), true); else ValidatorEnable(document.getElementById('CheckBoxListValidator1'), false); } function checkV2() { if (document.getElementById('CB2').checked) ValidatorEnable(document.getElementById('CheckBoxListValidator2'), true); else ValidatorEnable(document.getElementById('CheckBoxListValidator2'), false); }THIS IS LINE 29----> fun

I wrote some ResourceDictionary.
This ResourceDictionary is actuly a button that i use -
I created this button by using Rectangle and TextBlock ==> that mean that the my xaml look like the code below.
The problem is that i cant change the font size and the text of the TextBlock.
I can change is just from the xaml of the template.
And ... How can i define some variable that will control on the rectAngle redius in runtime ?
Someone can help ?? ?
Thanks.
...<ResourceDictionary>
<Style x:Key="MyBtn" TargetType="{x:Type Button}">
<Rectangle ... <TextBlock.... </ResourceDictionary>
...

I have a need to display user-specific information in my master page. As a result, I have set up all of my controllers to be inherited from a "master" controller. This has worked well for other aspects of the master page, such as displaying random quotes. However, while using this technique to incorporate the user-specific information, I ran into a problem where, when I check the Request.IsAuthenticated value, the Request object is null.
Here is my "master" controller:namespace MetalMine.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MyApp.Models;
public abstract class ApplicationController : Controller
{
private DataContext dataContext = new DataContext();
{
ViewData["Quote"] = this.dataContext.GetRandomQuote();
// this is where the Request object is null
if (this.Request.IsAuthenticated)
{
// the User object, here, is also null, BTW
ViewData["User"] = this.dataContext.GetUser(this.User.Identity.Name);
}
}
}
}
Curiously - at least to me - is that the Request object becomes populated by the time program flow hits the Home Controller:namespace MetalMine.Controllers
{
[HandleError]
publ

Ok, I've been banging my head for hours with this... I have a bunch of ajax controls on my aspx page: a dragpanel and a few accordions. The dragpanel has dynamic content (an image) and appears (visible = true) upon clicking on the link buttons listed in the accordions (no update panel used). On page postback, when one of the buttons is clicked, the drag panel pops up and is positioned over another larger image. Here's what the code looks like:<asp:Panel ID="MyHandle" runat="server" Visible="false">
</asp:Panel>
<asp:Panel ID="odragpanel" runat="server" Visible="false">
<asp:Image ID="myoimage" runat="server" ImageUrl="" />
</asp:Panel>
<ajaxToolkit:DragPanelExtender ID="DragPanelExtender1" runat="server" DragHandleID="MyHandle" Enabled="false"
TargetControlID="odragpanel" BehaviorID="myodragpanel">
</ajaxToolkit:DragPanelExtender>
When a user selects a link button from the accordion, the visible properties are set to "true" and the drag panel extender is enabled. This is the next block of code that runs on client side:<script type="text/javascript">
jQuery.noConflict();
window.onload = function() { positionm

I've been getting this error message fairly often.
A page will work normaly for a while, but eventualy I get the error: 'this.get_element().style' is null or not an object
Once I get the error it seems to happen most of the time.
It seems like it might be from the update progress control.
Any ideas?
-A

I want to show a status bar that needs to be persistent on a page. for this I used the following in my master page
function ShowStatusBarMessage(title, message)
{
var statusId = SP.UI.Status.addStatus(title, message, true);
SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */
}
HTML, call the JS method:
<a onclick="ShowStatusBarMessage('Title'!','Awesome message!')">
Display Status Bar message!
</a>
ref:
http://www.zimmergren.net/archive/2010/03/17/sp-2010-dynamically-displaying-messages-to-your-users-with-the-notification-and-status-bar-areas-in-sharepoint-2010.aspx
But what I want is
to call the function on load. So I used pushed ny function to _spBodyOnLoadWrapper using _spBodyOnLoadFunctionNames.push("YourFunctionName");,
it throws an error 'SP.UI.Status' is null or not an object
Next I created and
deployed a webcontrol and did a registerclientscript, that too gives me 'SP.UI.Status' is null or not an object
// Define the name and type of the client scripts on the page.
String csname1 = "AlertScript";
Type cstype = this.GetType();
// Get a ClientScriptManager reference from the Page class.
ClientScriptManager cs = Page.ClientScript;
// Check to see if the startup script is already registered.
if (!cs.IsStartupScriptRegistered(cstype, csname1))
{

While testing an AJAX enabled web app I sometimes stumbled upon this script error: 'this.get_element().style' is null or not an object. It was a hard nut to crack this one.This was the actual message
'this.get_element() is null or not an object'
The situation:
AJAX Enabled web app using slider extenders .
In some circumstances a script error is generated. In most cases it is not.
The reason:It turned out that the error happens at times when a new Postback is triggered while a previous one hasnt finished yet. That is quickly changing the sliderhandle's position in this scenario. The Postback where triggered because i had set the AutoPostBack property of the extended TextBox to "true".I have some code running inside the event handler .
Can anyone suggest an efficient solution for this problem ........................................................?

in my application for a module that displays detailed data in a tab control. I think I have determined the TabContainer1 is the name of the "This" element that is having the issue. I figured this out by debugging the ScriptResource.axd file. Here is the offending lines of code: