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

Top 5 Contributors of the Month
Post New Web Links

Ordered Lists numbering restarts in RDLC files.

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :Windows Application

1: Create SQL statement

Set @val = '
<li> 1 </li>
<li> 2
    <ol>    <li> 2.1 </li>    <li> 2.2 </li>    </ol>
 break continuation from 2</li> <!-- this causes the next li to start again at 1. If remd then order is correct.-->
<li> 3</li>
<li> 4</li>

Select @val

2: Create NEW rdlc file

3: Call the select statement into the report

4: set the exression to render as html



  1. 1
  2. 2
    1. 2.1

    2. View Complete Post

More Related Resource Links

Creating Lists On Share-point 2010 Server from .stp list template files using Features

Plz, let me know, how to create list on share-point 2010 server from .stp list template files using features in C#

Must jump lists be associated with files?

I'm working on my first WPF app.  Not too long ago I upgraded my machine to Windows 7.  One of the things I really like in Windows 7 is the jump list feature for programs.  Very nice.  I'd like to do the same thing for my program, but don't know if I can.  It seems to me that all of the jump lists I've seen in Windows 7, are associated with files.  Like in my situation, the last 10 Word files I've opened are in my jump list.  The program I'm working on doesn't save any files.  Instead the user opens, edits and saves data on clients, to the backend database.  No files.  But there is the client name and ID.  Is it possible to save that information into a Windows 7 jump list, or must it be a file?  Rod

Reusable Template/style for RDLC files


Hi folks, 

I want to create a template for RDLC files which contains the UI descriptions for tables and charts which acts as a base style/template for other rdlc files.. when I create new RDLC files i do not want to apply UI settings every time i create the RDLC file.. i jst want to do it in the template and use it for newly created RDLC files.. 

As the RDLC files are XML files, i thought of CSS or xsl but that is not the solution bcoz CSS and XSL work only with browser... I want to use the simillar concepts.. so if you geeks have any idea... please share it with me...

Thanks in Anticipation


Reporting Services Designer (LayoutEditor) Control to edit RDLC files?


I have Visual Studio 2008, with the Business Intelligence Toolset.  I want to build a WinForm application for my group that will contain a ReportViewer object.  ReportViewer will only accept Reports from an RDLC file with the 2005 schema, not the 2008 schema. 

I also want the users to be able to build and view their Reports on the fly using the tool, without Visual Studio.  It is possible to do this by manually editing the XML file, but nothing beats having a GUI.  I have found that I can include the Microsoft.ReportDesigner.LayoutEditor control in my application (from C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies), which allows me to create and edit RDL 2008 files on the fly, but I cannot view them with the ReportViewer.  I do not see this as an issue, because our company has a site license, and the program will not be externally distributed.

Where can I find the DLL that contains the ReportDesigner to create RDLC 2005 files?  Since I can right-click and Add a Report object in Visual Studio 2008, and it opens with the 2005 editor, I know it must be somewhere on the computer, but I could use help finding the Winform control. 


-- Scott

-- Scott

Can no longer access files, lists, permissions, etc.


After doing some testing (attempting to create an anonymous accessible site), I can now no longer externally access any of the documents in any of my SharePoint libraries, permissions, etc.  I can VIEW the libraries, lists, etc.  When I try to open an item, I get an error.  When I attempt to click the dropdown next to an item, I get the "file may have been moved error".  When I am inside the domain, I have no problems doing any of that.

The only changes that were made, were to follow adding anonymous access step-by-step (even created a site and turned it on- couldn't get it to work- kept getting login prompt), so then I created an extension of the Sharepoint -80 site in Central Administration, and put it in the "Internet" zone.  When the new site I had created wouldn't work, I deleted the "Internet" web application extension I had created. 

I'm thinking that's the root of my issue- that the "Internet" zone has some how been mucked beyond belief- but I have no idea where to look to fix it- now I'm in that dreaded place of I've tried so much stuff, that I'm basically chasing my tail at this point.

This is SharePoint Server 2010, running on Windows 2008r2, with SQL 2008r2 as our DB Server.

Using a table as formatting in RDLC files


I don't want to make a table that autopopulates based on DB information. I have some report parameters passed in from a C# file behind an ASPX file, and would just like to display the parameters in a tabular fashion. How would I achieve this?

unable to run report.rdlc files in single reportviwer.



I want 2 report.rdlc files to display on a single reportviewer. Here is the code file will class file. pls do help me.


Default.aspx.vb Page Code :


Protected Sub btn_genrprt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_genrprt.Click





ReportViewer1.Visible =

Drag n Drop files in Outlook Sharepoint Lists





Can you let me know how to enable drag and drop of files in Sharepoint List in Outlook 2007. I have installed MOSS 2007. Currently its in read only mode.




Clean Web.Config Files (VS 2010 and .NET 4.0 Series)

.NET 4 includes a new version of the CLR, and a new .NET 4 specific machine.config file (which is installed side-by-side with the one used by .NET 2, .NET 3 and .NET 3.5).

The new .NET 4 machine.config file now automatically registers all of the ASP.NET tag sections, handlers and modules that we've added over the years, including the functionality for:

.ASP.NET Dynamic Data
.ASP.NET Routing (which can now be used for both ASP.NET WebForms and ASP.NET MVC)
.ASP.NET Chart Control (which now ships built-into ASP.NET V4)
What this means is that when you create a new "Empty ASP.NET application" project in VS 2010, you'll find that the new default application-level web.config file is now clean and simple:

Displaying SharePoint lists in Web Parts

When you create a built-in or custom list in Microsoft Windows SharePoint Services, Windows SharePoint Services creates a Web Part, a basic building block of a SharePoint site, to display that list. These Web Parts are called List View Web Parts. Windows SharePoint Services stores List View Web Parts in the site collection Web Part gallery. (The site collection Web Part gallery is the most central gallery of Web Parts for a work group. By default, the gallery name is the name of the site, such as "Our Team Site Web Part Gallery." )

SharePoint Tutorial - Lists

A list is a feature in SharePoint that stores a lists of information. For example, a list can be created to store web links in the human resources team site. A list is usually created for a specific type of information. Lists can contain metadata to describe the particular information in more detail and to make it easier to find.

Creating Sites/Lists/List Items under Current User Context in SharePoint By Using SPUserToken

Usually we do this by performing the action under RunWithElevatedPrivileges method and updating the listitem using SPListItem.SystemUpdate() method (see here). but this approach has its own flaws like (RunWithElevatedPrivileges will run under system account, we cannot use SystemUpdate for SPSite,SPWeb,SPList, since it runs under system we will "CreatedBy" by as SystemAccount).

SharePoint document migration challenges when migrating files and folders

There are several challenges when migrating documents to Microsoft SharePoint. While these challenges can be overcome, they are a real pain if the migration source, content and file systems are not SharePoint friendly.

Combine, minify and compress JavaScript files to load ASP.NET pages faster

Websites are getting more interactive these days and most of this interactivity comes from JavaScript. People are using different JavaScript libraries and frameworks to make their websites more interactive and user friendly.

PrintPocketCE Print Pocket Excel, Pocket Word and email files

Version 3.560 (May 15, 2009):

Important bug fix: a slight difference in how some devices create fonts was causing a few devices to have significantly longer print times for large print jobs.

Adjusted PocketJet printer paper feed commands

Other minor fixes and enhancements.

Version 3.559 (Mar 5, 2009):

Added support for Martel MCP78xx printers

Version 3.558 (Aug 20, 2008):

Added support for Martel MCP78xx printers

Version 3.557 (June 27, 2008):

Fixed error in Canon printer support

Fixed COM0 port selection

Version 3.556 (June 15, 2008):

Added support for Brother MW-260

Added support for Sato MB400

Version 3.555 (Aug 8, 2007):

Added support for Pentax RuggedJet 3 and RuggedJet 4 printers

Changed Epson TM-P60 support to maximum page width of 1200 dots

Version 3.551 (Aug 1, 2006):

Added Peripheral Nomad printer support

Version 3.550 (Mar 23, 2006):

Added Panasonic JT-H200PR printer support

Added Pocket Spectrum printer support

Fixed problem with WM5.0 "inverted image" problem

Conversion of text files from ANSI to UTF-8

reading and writing text files in ANSI format and
writing html-files in Charset ISO-8859-1 (Western Europe).

How to transfer files between computer and mobile device using bluetooth

What is Bluetooth? How can I have it on my computer?

Bluetooth wireless technology is a communication technology that allows two devices to communicate wirelessly. Most of the notebooks are nowadays equipped with bluetooth. For those notebooks or computers that don't, you can use a bluetooth dongle to add the functionality and it just costs you around $5. Although higher price range bluetooth dongles are available but it makes no sense of buying them if you just plan to connect your mobile device to the computer. Look for one that has Bluetooth v2.0 + EDR (Enhance Data Rate) supporting speeds of upto 3Mbps and with Vista support. You can easily have one of that kind in just $5.

Setting up bluetooth to work on your computer

Just Insert the bluetooth dongle in the USB.
It should get detected by your Operating System and should be ready to use. In case it is just detected as a new hardware, you need to install drivers for it that came with your bluetooth dongle (You can try Google to find the drivers).
Once drivers are installed, a bluetooth notification icon will appear in your system tray.
Right Click on it to access Settings (This may vary with your bluetooth dongle).
Make sure you have turned Discovery On (It allow others to see your computer).
Switch On the bluetooth on the mobile device.
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