Saturday, July 31, 2010
  Search
 
Register
Login
 
Creating a Virtual Directory in IIS
One of the first things you will need to do prior to installing DotNetNuke on a server is to create a virtual directory which will host your DotNetNuke website.  If you have full control over you...

Find this article and more in the IIS & ASP.NET category

Read This Article . . .

I Need to Modify the What to Install DNN? What in the World is a Web.Config File Anyway??
 If you're wondering what in the world a web.config file is, then wonder know more. . .in about 5 minutes, you'll know more than you do now and be well on your way to moving forward.

Find this article and more in the Web.Config category

Read This Article . . .

Customize Google Analytics for DotNetNuke Search
You can easily set up your Google Analytics account to track the search feature on your DotNetNuke website and take advantage of all the in depth reporting that Google has to offer. It's simple, here...

Find this article and more in the category

Read This Article . . .

Creating new DotNetNuke HTTP Alias Records
 Setting up DotNetNuke to handle serving requests for Portal Alias records is a breeze. You can use these records to direct your site to handle requests for multiple domain names to one website with ...

Find this article and more in the category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the DotNetNuke category

Read This Article . . .

Getting Aquainted with the DNN Classes
 So, you've decided to start checking out DotNetNuke development and you're wondering where to start, right? Well, it's easy to start taking a quick tour of the DotNetNuke classes now with the help o...

Find this article and more in the category

Read This Article . . .

Dude, Where’s my web.config file? Resolve Installation DNN Error Message: BC30451: Name 'Config' is not declared
Sometimes troubleshooting DNN errors can be a royal pain. Fortunately, if you know what you're looking for installation errors are usually pretty easy to resolve. Unfortunately, if you don't know wha...

Find this article and more in the category

Read This Article . . .

Converting a CSS Template To a DotNetNuke Skin
Creating DotNetNuke Skins can be a time consuming task. But, it's really not that hard and it doesn't have to be if you can use templates to help get started. Why not convert some free templates from...

Find this article and more in the category

Read This Article . . .

New "Styles" SkinObject Found in DotNetNuke 4.9
One more addition has been added to the developer's DotNetNuke skinning toolbox with the release of DotNetNuke 4.9. Introducing...the Styles SkinObject. This little object is a very welcome addition ...

Find this article and more in the DotNetNuke category

Read This Article . . .

Search for Articles

Virtual-Essential's DotNetNuke, .NET, and SQL Tips For the Developer

Minimize
Oct 22

Written by: Briana Tarrance
10/22/2008 11:04 PM 

I just wanted to share one quick and easy way to add a tooltip to a mouseover on a gridView.

To show you how, I created a simple .aspx page with the following code (NOTE: this page was created using a simple query from the core DotNetNuke database. You can replace with a simple select statement from Northwind or whatever database you wish. I just use DNN and that's what this site is for, so why not...)

Here is a very simple example to show you how easy it is to get started creating your own gridView mouseover tooltips.

 
************************************************
**  First, create an .aspx page and drop a SqlDataSource on the page:
************************************************
 
id = "SqlDataSource1" runat="server" ConnectionString=""
SelectCommand="SELECT [UserID], [Username], [FirstName], [LastName], [Email] FROM [Users]">
 
*****************************************************
** Next, drop a GridView control and hook it up to the SqlDataSource:
*****************************************************
 
"gvNotes" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" DataSourceID="SqlDataSource1" EmptyDataText="There are not any notes on this account."
Font-Size="0.85em" GridLines="Horizontal" Width="100%" BorderWidth="0px" CellPadding="4"
DataKeyNames="UserID" HorizontalAlign="Center" PageSize="4" OnRowDataBound="gvNotes_RowDataBound">
"UserID" HeaderText="UserID" InsertVisible="False" ReadOnly="True"
SortExpression="UserID" Visible="False" />
"Username" HeaderText="Username" SortExpression="Username" />
"FirstName" HeaderText="FirstName" SortExpression="FirstName" />
"LastName" HeaderText="LastName" SortExpression="LastName" />
"Email" HeaderText="Email" SortExpression="Email" />
Columns>
"NumericFirstLast" PageButtonCount="5" />
"Left" VerticalAlign="Middle" />
"alternatingRow" HorizontalAlign="Left" VerticalAlign="Middle" />
"Left" VerticalAlign="Top" />
 
 
 
*****************************************************
** Third, add the Javascript
*****************************************************
 
 

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use