.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

MultiHandleSliderExtender seems broken

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :ASP.Net

Hello all,

I have a working solution that implements the MultiHandleSliderExtender control in a test suite and I am trying to get it to work in my ASP.NET 4.0 web page with VS2010.  I want it to run inside an accordion control, and I would like to use the default master page that comes with the ASP.NET web site solution.  When I copy and paste the MultiHandleSliderExtender control in its final place on my page, and run the solution, I get a jscript runtime error: Microsoft JScript runtime error: 'null' is null or not an object.  When I peek with Visual Studio, I see that $get(multiHandleSliderTargetID) returns null, even though multiHandleSliderTargetID has value "TextBox1" as it should be when I hover over this with my mouse.

I had to remove the ToolkitScriptManager as it complained about already having one.

I tried moving it out of the accordion control, but it is still broken.  Here is the definition of the control that I am trying to get working.  It bahaves as if it does not see the ControlID.  Is there some scoping that I am not aware of, or better yet, how can I tag TextBox1 so that it gets exposed with the $get() method?


View Complete Post

More Related Resource Links

Login control is suddenly broken in IE7 but works perfectly on Firefox (It works on both browsers lo


Hey Guys,

 I'm new around and I thought this is probably the best place to help me solve my dilemma, I am developing a website for almost a year now and the login control was implemented a logn time ago, however all of a sudden it will not authenticate on Internet Explorer 7 when the application is published, it doesn't even provide a message that authentication was unseccssful or throws any error, it just refreshes the same page. however this problem doesn't occure when I try the same website on FireFox 2.0...Also when I run the page locally on Cassini it work great on both browsers...This is one of the weirdest errors I have ever faced. what could have gone wrong on the server side to cause this? knowing nothing changed on the server-side...I'll provide a snapshot of the login control below

<asp:Login ID="LoginControl" runat="server" BackColor="Trans

Copy/paste broken in SSMS 2008 R2

After uninstalling an SSMS addin (from Red Gate), my copy/paste functionality in SSMS broke -- don't know if it's correlated.  As documented in the bug https://connect.microsoft.com/SQLServer/feedback/details/126743/copy-paste-stop-working-in-sql-2005 it seems that paste is working fine, because it works when I copy from other programs.  When I paste from SSMS, though, I can't paste anywhere.  It's as though SSMS clears the clipboard and that's all she wrote. Anyone else seeing this problem? -matthew

Finding broken links in a web of Pages

I have a dozen sub-sites all with large Pages libraries of .aspx pages created and maintained under the Publishing features on  MOSS 2007.  Some links also go to Document libraries. How do I detect broken links within the web of .aspx pages? 

Create site template and adding subsite using site template is broken in sharepoint 2010

I am trying to create a site template base on an existing site and try to use the new site template to generate other sub-sites.  It sounds simple and the code is not that difficult to follow; however, Microsoft has made it impossible to accomplish by having a bug in their template creation process.   //Generate web template from existing website using (SPSite site = new SPSite("http://localhost")) { SPWeb web = site.OpenWeb("/barrington/accounting"); web.SaveAsTemplate("NewDepartmentTemplate", "NewDepartmentTemplate", "NewDepartmentTemplate", true); }   //Generate sub site using the new template using (SPSite site = new SPSite("http://localhost")) { SPWeb web = site.OpenWeb("/barrington/accounting"); SPWebTemplate tp = null; foreach (SPWebTemplate wt in web.GetAvailableWebTemplates((uint)1033)) { if (wt.Title == "NewDepartmentTemplate") { tp = wt; break; } } if (tp != null) { SPWeb newWeb = web.Webs.Add("NewDepartment", "NewDepartment", "NewDepartment", (uint)1033, tp, false, false); } } Error: Microsoft.SharePoint.SPException was unhandled   Message=The content type name '$Resources:_FeatureId367b94a9-4a15-42ba-b4a2-32420363e018,DataSourceContentTypeName;' cannot contain: \  / : * ? " # % < > { } | ~ & , two consecutive per

SharePoint 2010 Claims Based Authenticaton site working but search is broken

Hi, I have SP 2010 sucessfully installed on a Windows 2008 R2 server with SQL Server 2008 R2.  I created local machine accounts for the following: MACHINE\mssqlservice MACHINE\sp_admin MACHINE\sp_search MACHINE\sp_farms I have setup 2 sites with public facing internet access as well as local sites. I have CBA working properly on both sites from both public and private access. My problem is that when I go to search, I am constantly redirected to an error page. I have checked all SP services on the server and they are all running as MACHINE\mssqlservice That account has proper access to all sites as well as all DB's. My search is crawling and I get one error from a long named PDF file in my site, which is OK.   My questions is if my CBA is working fine and my search is crawling, why I am not getting a results page when I search from the sites:   Here is the error I get:   Error Internal server error exception:   Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 5a03b730-42c2-48c9-a220-3b9d052481de Date and Time: 9/9/2010 4:45:07 PM   I am kind of stuck at this point and am not sure how to proceed.  Any help would be appreciated.        --TR

AJAX CDN Broken?

Attempting to use any of the control toolkit is failing for me. It seems to be failing on the official site, as well. All of the examples are broken, with a javascript error on the page. Here is an example:http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20Accordion%20Control.ashx

SQL Server broken - cannot reset 'logon as ' built-in account - urgent



SQL Server Express 2008, on a standalone XP Pro fully updated, with a named instance of COMPUTERNAME\SQLEXPRESS.

As installed, the 'log on as' was set to NT\NETWORK SERVICE. Basically things worked, though I had some issues, now irrelevant. Foolishly I went into SQL Server Configuration Manager, clicked on SQL Server Services, in the right pane right-clicked on Sql Server (SQLEXPRESS) - Properties, on the logon tab - Built-in account, which showed Network Service.


From the dropdown, I selected Local Service and probably Apply, then Start, though maybe vice versa.


This stopped pretty much everything working, e.g. no access via Managment Studio etc (cannot login). Now if I attempt to select Network Service from the dropdown to put it back to what it was:

- If I click Apply I get a message box : Cannot find object or property [0x80092004]

- If I click Start there is a long wait while the progress bar ticks over, then a message box with 'The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details'


In the logs folder the log starts with informational stuff that looks to me to be pretty

AsyncFileUpload Broken?!?


Could someone tell me why the asyncfileupload doesn't work the way it used to, are these controls even tested?  The following used to work, but not any more.


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <form id="frm" runat="server">
    <asp:ToolkitScriptManager ID="tsm" runat="server" />
        <asp:AsyncFileUpload ID="afu" runat="server" OnUploadedComplete="afu_Up

MultiHandleSliderExtender steps issues


Hi all,

i am having a issue on  ajax MultiHandleSliderExtender slider control ,

what i am trying to do is ,i have defined Maximum="80000" and Minimum="6000" and Steps="37"

because i need slidder to step up and down by 2000 regular patter, so i jused ( 80000-6000)/2000       = 37  ( Steps)   

in order to increment or decrement the slider range 2000 regular pattern

bellow are my original code


<asp:TextBox ID="txtSlider" runat="server"></asp

SQL Server 2008 R2 Service Pack or Hotfix for ReportExecutionService2005 broken with IMAGE/EMF

Posted by edwardforgacs on 8/23/2010 at 4:13 AM
Vlad_MSFT, any update on the ExecutionInfo.NumPages workaround? It's well over a month since you posted to this thread and by the looks of it I'm not the only person who is unable to get any useful information out of that.

As Bob_eBlueprint mentioned, it always seems to return zero. Do you actually have a tested code sample where it works?
Posted by edwardforgacs on 7/20/2010 at 2:11 AM
Yes, ExecutionInfo does not return the number of pages properly either. I have tried every possible combination including GetExecutionInfo, GetExecutionInfo2, before and after render, and combined with Render, and Render2. Guess we need to open another bug about GetExecutionInfo not working in 2008 either?
Posted by Bob_eBlueprint on 7/9/2010 at 10:32 AM
I tried using the code posted by JasonRAC, but I am not getting an exception thrown when I try to render a page that doesn't exist. Instead a zero byte array is returned. So I'm using code like this to stop rendering when the end of the report is researched:

        Dim DidPageLoad As Boolean
        Dim TempPage As Byte()

Reporting Services Chart in SharePoint Web Part, Broken Image Problem

I have a reporting services report that displays a dundas chart, it is a snapshot report executed daily.  When displaying the report inside a page viewer webpart or a report viewer web part in SharePoint, the first time after a recent snapshot occurs, the image shows up broken.  On refresh of the page the image is visible.

MOSS 2007
SQL Server 2005 Reporting Services NOT running in SharePoint Integration mode.

Any ideas or work arounds to get the image to display on the first load of the page or why the image is broken?  I've tried different report parameters, Format, ClearSesson with no luck.  Viewing the report in Report Manager works fine and also going directly to the ReportServer page is fine.  It only occurs when it's inside of SharePoint inside of the Page Viewer or Report Viewer web parts or even if I manually create an iframe in a content editor web part.


How Do I Fix Broken Link to DispForm.aspx?


Hi All,

I've done a bit of renaming of form pages under one of SharePoint lists, and have no discovered that instead of linking to DispForm.aspx, the picture library in question, now just links to the home page. My first reaction was to right-click the list in SharePoint Designer, and go "Properties". I then when to the "Supporting Files" tab, but it only allows you to specify the "New Document" and "Edit Document" forms. It doesn't have anywhere to set the "Display Form" page.

Can anyone tell me how I can link my picture library back to DispForm.aspx?


Range validator broken in MVC 3 Beta 1?


This was all working in MVC3 RC1 (I think MVC2). With the upgrade these are broken.

 I've switched ClientValidationEnabled and Unobtrusive = false, as I couldn't get these to work.



Range(0, 999, ErrorMessage = "Numbers only")


[Range(typeof(decimal), "0.0", "100.00", ErrorMessage="Not a margin number 0.0 - 100.00!")]






Broken Images for Users with Read access



we just have moved our existing sharepoint team site to an extranet site and ran into a strange issue with images. Two of the images on our extranet site does not show up for users with Read access .They see little red "x" instead.  It only happens for two images not for all.

All images were added in Publishingimages or images folder and the library does inherit permissions from the main site.

any thoughts

Isha kapoor My SharePoint Blog Follow me

jquery-latest broken?


the web pages I am working on were not working this morning.   $(location).attr('href', hrefString ) was not redirecting to the href.  I changed my jquery library from jquery-latest to jquery 1.4.2 at google, and things worked again.

  <script type="text/javascript"

		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" 



Customizing blog. "Save as template" produces broken template



I have a problem in such simple scenario:

1. Create new site with BLOG template

2. Save this site as template, eg BLOG_V2

3. Create new site from new template

4. Try to make new template from new site - I get "Error exporting the list named "Posts" at the URL: Lists/Posts"

And I also see that list "Posts" is broken in strange way.

Powershell script:

$site = get-SpSite .....

$web = $site.OpenWeb(.....)

$web.Lists |Select Title, DefaultViewUrl

PS C:\Users\AYuryshev> $web.Lists |Select Title, DefaultViewUrl

Title                                   DefaultViewUrl
-----                                   --------------
Categories                              /blog_v3_2/Lists/Categories/AllCateg...
Comments          &

SharePoint 2010 Workflow AlterTodo seems to be broken.


I'm trying to complete a workflow through web services on SharePoint 2010. When making the workflowWebService call, I'm passing the correct itemUri, task id, and task list id. For the task data, I'm sending this (or many permutations of this):


"<my:myFields xmlns:my='http://schemas.microsoft.com/office/infopath/2003/myXSD' >
<my:Comments>Some comment</
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend