Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Gridview control in asp.net 2.0Gridview control in asp.net 2.0
Previous
 
Next
New Post
10/4/2006 3:41 AM
 

How to do Paging in Grid view control

I have set Alow Paging to true

It has show me the first page with the Data correctly but when I click on the 2nd button it gives me error as

"The GridView 'TabsGridView' fired event PageIndexChanging which wasn't handled."

Can anybody help?

 
New Post
10/4/2006 7:42 AM
 

What code to you have for the PageIndexChanging  event?

If not using this event make sure there is no refeence to it in your grid definition source. Look for something like onpageindexchanging="MyGridView_PageIndexChanging".

 
New Post
10/5/2006 6:22 AM
 

Thanks for Your reply.

Its Started working previously I was not handling "PageIndexchanging" event.

My PageIndexchanging events appear below

Sub TabsGridView_PageIndexChanging(ByVal sender As Object, ByVal e As GridViewPageEventArgs)

RetriveTabsInfo(e.NewPageIndex)

End Sub

How to do Search functionality in dnn as I m new to dnn plz help there appear a search button the tab but it doesnt seem to work. Can I do database search from it?

 
New Post
10/5/2006 8:34 AM
 
I believe the Search button you are refereing to is for searching the site. You could create your own though.
 
New Post
10/10/2006 7:30 AM
 

Second Problem arises How to pass values from datagrid?

Frst  I M setting the datakeyNames to the Primary key of the table then

I M retrieving the value saying AuthorView.SelectedValue then I m Using the EditUrl

Response.Redirect(EditUrl("AuthorID",AuthorView.SelectedValue, "EditAuthors"), True)

After writing this Method Url is

http://localhost/dnn435/TestMyPage/tabid/55/ctl/EditAuthors/mid/399/AuthorID/1/Default.aspx

With value of the AuthorId as "1"

method passing to the Control Key "EditAuthors" Now On the Second page I m retrieving the value using

Request.QueryString("AuthorID")

On Second Page I m getting the Error as

Error: EditAuthors is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.UI.UserControl.get_Request() at DesktopModules_Authors_EditAuthors..ctor() in D:\WORK\Matra Creation\DeriveTech\SOURCE CODE\DotNetNuke_4.3.5_Source\Website\DesktopModules\Authors\EditAuthors.ascx.vb:line 7 at ASP.desktopmodules_authors_editauthors_ascx..ctor() in D:\WORK\Matra Creation\DeriveTech\SOURCE CODE\DotNetNuke_4.3.5_Source\Website\DesktopModules\Authors\EditAuthors.ascx.vb:line 912304 at __ASP.FastObjectFactory_app_web_dltgseuf.Create_ASP_desktopmodules_authors_editauthors_ascx() at System.Web.Compilation.BuildResultCompiledType.CreateInstance() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in D:\WORK\Matra Creation\DeriveTech\SOURCE CODE\DotNetNuke_4.3.5_Source\Library\Components\Skins\Skin.vb:line 446 --- End of inner exception stack trace ---

AuthorView is name of my Gridview

So plz can anybody help.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Gridview control in asp.net 2.0Gridview control in asp.net 2.0


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out